File tree 5 files changed +38
-2
lines changed
5 files changed +38
-2
lines changed 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"
7
7
NORMAL=" \e[0m"
8
8
9
9
EXCLUDE_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} "
11
12
SIGNING_KEY_PASSPHRASE=" ${SIGNING_KEY_PASSPHRASE:- Hackme} "
12
13
13
14
@@ -103,8 +104,9 @@ main () {
103
104
fi
104
105
bazel run \
105
106
" ${bazel_args[@]} " \
107
+ --config=debug-bazel \
106
108
//tools/tarball:unpack \
107
- /opt/build/repo/html
109
+ $OUTPUT_DIR
108
110
}
109
111
110
112
if [[ " ${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)"
172
172
export DEBS="$(location :debs)"
173
173
export DEBS_ROOT="$${APT_ROOT}/repository"
174
174
export SIGNING_TOKEN="$(location :signing-token)"
175
+ ls -alh /opt/build
175
176
$(location :publish)
176
177
tar hcf $@ -C $${APT_ROOT}/html .
177
178
"""
Original file line number Diff line number Diff line change
1
+ exit 1
Original file line number Diff line number Diff line change 1
1
[build ]
2
2
publish = " html"
3
3
command = " ./build-repository.sh"
4
+ ignore = " ./netlify-should-run.sh"
4
5
5
6
[build .environment ]
6
7
BAZELISK_HOME =" /opt/build/cache/bazelisk"
You can’t perform that action at this time.
0 commit comments