| steps: | |
| - command: |- | |
| curl -s "https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)" -o bazelci.py | |
| python3.6 bazelci.py bazel_publish_binaries_pipeline --file_config=.bazelci/build_bazel_binaries.yml | tee /dev/tty | buildkite-agent pipeline upload | |
| label: "Setup" | |
| agents: | |
| - "queue=default" | |
| plugins: | |
| docker#v3.8.0: | |
| always-pull: true | |
| environment: | |
| - ANDROID_HOME | |
| - ANDROID_NDK_HOME | |
| - BUILDKITE_ARTIFACT_UPLOAD_DESTINATION | |
| image: gcr.io/bazel-public/ubuntu1804-java11 | |
| network: host | |
| privileged: true | |
| propagate-environment: true | |
| propagate-uid-gid: true | |
| shell: ["/bin/bash", "-e", "-c"] | |
| volumes: | |
| - "/etc/group:/etc/group:ro" | |
| - "/etc/passwd:/etc/passwd:ro" | |
| - "/etc/shadow:/etc/shadow:ro" | |
| - "/opt/android-ndk-r15c:/opt/android-ndk-r15c:ro" | |
| - "/opt/android-sdk-linux:/opt/android-sdk-linux:ro" | |
| - "/var/lib/buildkite-agent:/var/lib/buildkite-agent" | |
| - "/var/lib/gitmirrors:/var/lib/gitmirrors:ro" | |
| - "/var/run/docker.sock:/var/run/docker.sock" |