| # Copyright 2022 The IREE Authors |
| # |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| |
| agents: |
| queue: "orchestration" |
| security: "submitted" |
| |
| steps: |
| - label: ":hiking_boot: Bootstrapping postsubmit pipeline" |
| env: |
| PIPELINE_BOOTSTRAPPED: ${PIPELINE_BOOTSTRAPPED:-false} |
| commands: | |
| ./build_tools/buildkite/scripts/bootstrap_pipeline.sh \ |
| build_tools/buildkite/pipelines/postsubmit.yml |
| |
| - wait |
| |
| - label: "Updating pipelines" |
| concurrency: 1 |
| concurrency_group: "update-pipelines" |
| commands: | |
| export BUILDKITE_ACCESS_TOKEN="$(gcloud secrets versions access latest \ |
| --secret=iree-buildkite-privileged)" |
| build_tools/buildkite/scripts/update_pipeline_configuration.py |
| |
| - label: "Executing gcmn-test-pipeline" |
| commands: | |
| export BUILDKITE_ACCESS_TOKEN="$(gcloud secrets versions access latest \ |
| --secret=iree-buildkite-privileged)" |
| ./build_tools/buildkite/scripts/wait_for_pipeline_success.py gcmn-test-pipeline |