Last active
July 7, 2017 20:10
-
-
Save meatballhat/c8ddc34fa2c15aedc1a921c99d2061e4 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
#!/usr/bin/env bash | |
echo infra,stack,group,name | |
for infra in gce docker ; do | |
for s in amethyst connie cookiecat garnet sugilite; do | |
for g in edge stable; do | |
stackname=$(curl -s https://guest:[email protected]/images\?infra\=${infra}\&tags\=language___${s}__:true,group_${g}:true\&limit\=1 \ | |
| jq -r '.data|.[]|.name'); | |
if [[ $stackname ]]; then | |
echo "$infra,$s,$g,$stackname"; | |
fi; | |
done; | |
done; | |
done |
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
infra | stack | group | name | |
---|---|---|---|---|
gce | amethyst | edge | travis-ci-amethyst-trusty-1499451965 | |
gce | amethyst | stable | travis-ci-amethyst-trusty-1498161142 | |
gce | connie | edge | travis-ci-connie-trusty-1499451964 | |
gce | connie | stable | travis-ci-connie-trusty-1498161140 | |
gce | cookiecat | edge | travis-ci-cookiecat-trusty-1499447127 | |
gce | cookiecat | stable | travis-ci-cookiecat-trusty-1498163146 | |
gce | garnet | edge | travis-ci-garnet-trusty-1499451966 | |
gce | garnet | stable | travis-ci-garnet-trusty-1498162521 | |
gce | sugilite | edge | travis-ci-sugilite-trusty-1499447160 | |
gce | sugilite | stable | travis-ci-sugilite-trusty-1498160800 | |
docker | amethyst | edge | travisci/ci-amethyst:packer-1499451985 | |
docker | connie | edge | travisci/ci-connie:packer-1499451975 | |
docker | garnet | edge | travisci/ci-garnet:packer-1499451976 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment