Nightly Envoy HEAD #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly Envoy HEAD | |
permissions: | |
contents: read | |
on: | |
schedule: | |
- cron: '0 23 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
- name: Checkout submodules | |
shell: bash | |
run: | | |
auth_header="$(git config --local --get http.https://github.com/.extraheader)" | |
git submodule sync --recursive | |
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --remote --force --recursive --depth=1 | |
- name: Check Envoy submodule status | |
shell: bash | |
run: | | |
git submodule summary envoy | |
git rev-parse HEAD | |
- name: Configure docker IPv6 | |
shell: bash | |
run: | | |
sudo mkdir -p /etc/docker | |
echo '{ | |
"ipv6": true, | |
"fixed-cidr-v6": "2001:db8:1::/64" | |
}' | sudo tee /etc/docker/daemon.json | |
sudo service docker restart | |
- name: Build latest Envoy submodule | |
shell: bash | |
run: envoy/ci/run_envoy_docker.sh 'envoy/ci/do_ci.sh bazel.dev //test/common/... //test/extensions/...' | |
env: | |
NUM_CPUS: 2 | |
ENVOY_BUILD_TARGET: "//:envoy" | |
ENVOY_SRCDIR: "/source/envoy" |