Skip to content

Instantly share code, notes, and snippets.

@squeedee
Last active July 1, 2020 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squeedee/afc373b2dbe3ec06f3ea7248f40d3e2c to your computer and use it in GitHub Desktop.
Save squeedee/afc373b2dbe3ec06f3ea7248f40d3e2c to your computer and use it in GitHub Desktop.
{
"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"
}
]
}
{
"params": {
"file_glob": "product/*.pivotal",
"metadata_file": "metadata.yml"
},
"source": {
"api_token": "TOKEN",
"product_slug": "your-pivnet-slug-here"
}
}
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