diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-07 19:05:29 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-07 19:05:29 -0800 |
commit | 6fef7342b9bbbe504d0168e113d58d3d76cba1de (patch) | |
tree | 4a3579e52ccba85cf57ebfb4ed7c8ead51718b5b /ops/ci/pipeline.yml | |
parent | feat(services/gitea): add robots.txt (diff) | |
download | world-6fef7342b9bbbe504d0168e113d58d3d76cba1de.tar.gz |
ref(gerrit): delete modules/docs/configs for gerrit/buildkite
Diffstat (limited to 'ops/ci/pipeline.yml')
-rw-r--r-- | ops/ci/pipeline.yml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ops/ci/pipeline.yml b/ops/ci/pipeline.yml deleted file mode 100644 index 4308f6a..0000000 --- a/ops/ci/pipeline.yml +++ /dev/null @@ -1,25 +0,0 @@ -env: - BUILDKITE_TOKEN_PATH: /run/agenix/buildkite/graphql -steps: - - label: ":shell:" - command: "nix develop -c pre-commit run --all-files" - - # wait for all previous steps to complete. - - wait: null - continue_on_failure: true - - - label: ":hammer:" - command: | - set -ueo pipefail - - readonly FAILED_JOBS=$(curl 'https://graphql.buildkite.com/v1' \ - --silent \ - -H "Authorization: Bearer $(cat ${BUILDKITE_TOKEN_PATH})" \ - -d "{\"query\": \"query BuildStatusQuery { build(uuid: \\\"$BUILDKITE_BUILD_ID\\\") { jobs(passed: false) { count } } }\"}" | \ - jq -r '.data.build.jobs.count') - - echo "$$FAILED_JOBS build jobs failed." - - if (( $$FAILED_JOBS > 0 )); then - exit 1 - fi |