Last active
July 1, 2020 16:01
-
-
Save squeedee/afc373b2dbe3ec06f3ea7248f40d3e2c to your computer and use it in GitHub Desktop.
Learn more about the metadata: https://github.com/pivotal-cf/pivnet-resource/tree/master/metadata
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
{ | |
"release": { | |
"version": "0.3.52", | |
"release_type": "Developer Release", | |
"release_date": "2019-2-13", | |
"eula_slug": "pivotal_beta_eula", | |
"description": "The ISV CI team uses these files to test behaviour,\nboth manually and in our enemy tests\n", | |
"availability": "Admins Only", | |
"release_notes_url": "https://github.com/cf-platform-eng/test-pas-tiles/app-only" | |
}, | |
"product_files": [ | |
{ | |
"file": "product/z-pe-test-pas-tile-0.3.52.pivotal", | |
"upload_as": "The Test Tile", | |
"description": "The ISV CI team uses these files to test behaviour,\nboth manually and in our enemy tests\n", | |
"docs_url": "https://github.com/cf-platform-eng/test-pas-tiles/app-only" | |
} | |
] | |
} |
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
{ | |
"params": { | |
"file_glob": "product/*.pivotal", | |
"metadata_file": "metadata.yml" | |
}, | |
"source": { | |
"api_token": "TOKEN", | |
"product_slug": "your-pivnet-slug-here" | |
} | |
} |
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
cat product.json | \ | |
jq --arg SECRET ${PIVNET_TOKEN} '.source.api_token = $$SECRET' | \ | |
docker run -v $PWD:/product -i pivotalcf/pivnet-resource /opt/resource/out /product |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment