File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ pull_request :
8+ push :
9+ branches :
10+ - main
11+
12+ concurrency :
13+ group : >-
14+ ${{ github.event.inputs.head_ref || github.run_id }}
15+
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest-8-cores
20+ if : ${{ false && github.repository_owner == 'envoyproxy' }}
21+ steps :
22+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
23+ - run : |
24+ sudo mkdir /opt/build
25+ sudo chown runner:docker /opt/build
26+ ./build-repository.sh
27+ du -ch /opt/build
28+ du -ch ~/.cache
29+ env:
30+ CONTEXT: deploy-preview
31+ GITHUB_TOKEN: ${{ github.token }}
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ UNDERLINE="\e[4m"
77NORMAL=" \e[0m"
88
99EXCLUDE_FILE=debs/excludes.txt
10- DEBS_ROOT=/opt/build/cache/repository
10+ DEBS_ROOT=" ${DEBS_ROOT:-/ opt/ build/ cache/ repository} "
11+ OUTPUT_DIR=" ${OUTPUT_DIR:-/ opt/ build/ repo/ html} "
1112SIGNING_KEY_PASSPHRASE=" ${SIGNING_KEY_PASSPHRASE:- Hackme} "
1213
1314
@@ -103,8 +104,9 @@ main () {
103104 fi
104105 bazel run \
105106 " ${bazel_args[@]} " \
107+ --config=debug-bazel \
106108 //tools/tarball:unpack \
107- /opt/build/repo/html
109+ $OUTPUT_DIR
108110}
109111
110112if [[ " ${BASH_SOURCE[0]} " == " ${0} " ]]; then
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ export APTLY_CONF="$(location //:aptly-config)"
172172export DEBS="$(location :debs)"
173173export DEBS_ROOT="$${APT_ROOT}/repository"
174174export SIGNING_TOKEN="$(location :signing-token)"
175+ ls -alh /opt/build
175176$(location :publish)
176177tar hcf $@ -C $${APT_ROOT}/html .
177178"""
Original file line number Diff line number Diff line change 1+ exit 1
Original file line number Diff line number Diff line change 11[build ]
22publish = " html"
33command = " ./build-repository.sh"
4+ ignore = " ./netlify-should-run.sh"
45
56[build .environment ]
67 BAZELISK_HOME =" /opt/build/cache/bazelisk"
You can’t perform that action at this time.
0 commit comments