Skip to content

Commit

Permalink
Release: added docker/scripts/runtime_*.sh into release build
Browse files Browse the repository at this point in the history
  • Loading branch information
storypku committed Feb 5, 2021
1 parent f18b9fe commit 15271c0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bazelignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.cache
docs
docker
docker/build
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ install(
"//modules/perception:install",
"//modules/planning:install",
"//modules/prediction:install",
"//docker/scripts:install",
"//scripts:install",
],
)
18 changes: 18 additions & 0 deletions docker/scripts/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
load("//tools/install:install.bzl", "install")

package(default_visibility = ["//visibility:public"])

install(
name = "install",
data = [
":runtime",
],
)

filegroup(
name = "runtime",
srcs = [
"runtime_start.sh",
"runtime_into.sh",
],
)
14 changes: 7 additions & 7 deletions scripts/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ package(
install(
name = "install",
data = [
":base_files",
":docker_files",
":apollo_base",
":docker_utils",
],
)

filegroup(
name = "docker_files",
name = "docker_utils",
srcs = [
":docker_start_user.sh",
],
)

filegroup(
name = "base_files",
name = "apollo_base",
srcs = [
":apollo.bashrc",
":common.bashrc",
":apollo_base.sh",
"apollo.bashrc",
"common.bashrc",
"apollo_base.sh",
],
)

0 comments on commit 15271c0

Please sign in to comment.