blob: 7abdf02bf9d3c914055c0d185727b87e1221974c [file] [log] [blame]
steps:
- name: "connectedhomeip/chip-build-vscode:0.6.06"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- "-c"
- source ./scripts/bootstrap.sh
id: Bootstrap
entrypoint: /usr/bin/bash
volumes:
- name: pwenv
path: /pwenv
timeout: 2700s
- name: "connectedhomeip/chip-build-vscode:0.6.06"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- ./examples/chef/chef.py --build_all --keep_going --build_exclude
noip
id: CompileAll
waitFor:
- Bootstrap
entrypoint: ./scripts/run_in_build_env.sh
volumes:
- name: pwenv
path: /pwenv
- name: "connectedhomeip/chip-build-vscode:0.6.06"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- ./examples/chef/chef.py --build_all --keep_going --build_include
linux_arm64_ipv6only.*noip
id: CompileNoip
waitFor:
- CompileAll
entrypoint: ./scripts/run_in_build_env.sh
volumes:
- name: pwenv
path: /pwenv
- name: "gcr.io/cloud-builders/docker"
args:
- "-c"
- COMMIT_SHA=$COMMIT_SHA SHORT_SHA=$SHORT_SHA REVISION_ID=$REVISION_ID
BUILD_ID=$BUILD_ID IMAGE_NAME=$_DOCKER_IMAGE_NAME
DEVICE_NAME=$_DOCKER_DEVICE_NAME
WORKING_DIR=/workspace/examples/chef
TAR_PATH=/workspace/artifacts/linux_x86-$_DOCKER_DEVICE_NAME.tar.gz
./examples/chef/create_docker.sh
id: DockerAll
entrypoint: /usr/bin/bash
waitFor:
- CompileNoip
logsBucket: matter-build-automation-build-logs
# Global timeout for all steps
timeout: 14400s
queueTtl: 21600s
artifacts:
objects:
location: "gs://matter-build-automation-artifacts/$PROJECT_ID/$COMMIT_SHA/"
paths: ["/workspace/artifacts/*.tar.gz"]
images:
- $_DOCKER_IMAGE_NAME
# Using higher CPU machines generally speeds up builds, except bootstrap is always
# slow.
options:
machineType: "E2_HIGHCPU_32"
diskSizeGb: 500