diff options
Diffstat (limited to 'app/drone-ci/integration/README.md')
-rw-r--r-- | app/drone-ci/integration/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/drone-ci/integration/README.md b/app/drone-ci/integration/README.md index 0509771..b3c1cc6 100644 --- a/app/drone-ci/integration/README.md +++ b/app/drone-ci/integration/README.md @@ -49,6 +49,22 @@ DRONE_NAME=lheureduthe DRONE_OWNER=quentin DRONE_SECRET=xxx docker-compose up -d That's all folks. +## Check if a given job is built by your runner + +```bash +export URL=https://drone.deuxfleurs.fr +export REPO=Deuxfleurs/garage +export BUILD=1312 +curl ${URL}/api/repos/${REPO}/builds/${BUILD} \ + | jq -c '[.stages[] | { name: .name, machine: .machine }]' +``` + +It will give you the following result: + +```json +[{"name":"default","machine":"1686a"},{"name":"release-linux-x86_64","machine":"vimaire"},{"name":"release-linux-i686","machine":"carcajou"},{"name":"release-linux-aarch64","machine":"caribou"},{"name":"release-linux-armv6l","machine":"cariacou"},{"name":"refresh-release-page","machine":null}] +``` + ## Random note This setup is done mainly to allow nix builds with some cache. |