Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (19 sloc) 955 Bytes
system:
docker: true
environment:
'DEPLOY_GCR': 'true'
'GCR_DOCKER_APP': 'ci_memes'
'GCR_DOCKER_USER': 'solanolabs'
'GCR_DOMAIN': 'us.gcr.io'
'GCR_DOCKER_TAG': 'latest'
# For sensitive values, use `solano config:add repo <key> <value>` from the cli
# See: http://docs.solanolabs.com/Setup/setting-environment-variables/#via-config-variables
# 'GCR_PROJECT_ID': 'ci-memes'
# 'GCR_SERVICE_ACCOUNT_EMAIL': 'dummy-account@appspot.gserviceaccount.com'
# 'GCR_SERVICE_ACCOUNT_JSON': '{"type": "service_account","project_id": "xxx","private_key_id": "xxx","private_key": "xxx","client_email": "xxx","client_id": "xxx","auth_uri": "xxx","token_uri": "xxx","auth_provider_x509_cert_url": "xxx","client_x509_cert_url": "xxx"}'
timeout_hook: 900
hooks:
pre_setup: ./scripts/solano-gcr_build.sh
post_build: ./scripts/solano-gcr_deploy.sh
tests:
- sudo docker run $GCR_DOCKER_USER/$GCR_DOCKER_APP:$GCR_DOCKER_TAG bash -c /run_tests.sh