From 6fef7342b9bbbe504d0168e113d58d3d76cba1de Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 7 Nov 2022 19:05:29 -0800 Subject: ref(gerrit): delete modules/docs/configs for gerrit/buildkite --- ops/ci/README.org | 3 --- ops/ci/pipeline.yml | 25 ------------------------- 2 files changed, 28 deletions(-) delete mode 100644 ops/ci/README.org delete mode 100644 ops/ci/pipeline.yml (limited to 'ops/ci') diff --git a/ops/ci/README.org b/ops/ci/README.org deleted file mode 100644 index 0754937..0000000 --- a/ops/ci/README.org +++ /dev/null @@ -1,3 +0,0 @@ -The default pipeline is managed by [[file:~/workspace/world/ops/buildkite/][ops/buildkite]]. When a new build starts, the buildkite agent uploads the pipeline defined in this directory. - -The configuration for the repository is managed with [[file+emacs:pipeline.yml][pipeline.yml]]. All the steps are executed in parallel except for the last one, which wait on the completion of all the previous steps. If one of the previous steps has failed, the build is marked as failed, otherwise we consider it to pass. 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 -- cgit 1.4.1