Last active
December 4, 2020 03:05
-
-
Save yob/01411b59f62526171494c20b97936fad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ux | |
mkdir -p logs | |
buildkite-agent artifact search "*" -format "%j %p %c %s %S\\n" | |
buildkite-agent artifact download --step ":rspec: 0" logs/the-time.txt logs | |
shasum -a 1 logs/the-time.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- label: ":rspec: %n" | |
command: "run.sh" | |
parallelism: 2 | |
artifact_paths: "logs/*.txt;out/*.apk" | |
- wait | |
- command: "download.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ux | |
mkdir -p logs | |
date >> logs/the-time.txt | |
if [[ "$BUILDKITE_RETRY_COUNT" == "0" ]]; then | |
exit 1 | |
else | |
exit 0 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildkite-agent pipeline upload pipeline.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment