Spinnaker

From XennisWiki
Jump to: navigation, search

Provider

Docker-Registry

Google Container Registry

DOCKER_PASSWORD_FILE=/~.gcp/gcp-account.json
DOCKER_ACCOUNT=my-docker-gcp
DOCKER_ADDRESS=eu.gcr.io

# Add a new account for Docker Registry provider
hal config provider docker-registry account add $DOCKER_ACCOUNT \
    --address $DOCKER_ADDRESS \
    --username _json_key \
    --password-file $DOCKER_PASSWORD_FILE

# Enable Docker Registry provider
hal config provider docker-registry enable

When --repositories is not specified, the Docker registry catalog is used. Therefor the following API needs to be activated:

gcloud services enable cloudresourcemanager.googleapis.com

Or set a repository by adding --repositories <gcp project id>/<image>

Configuration

Upgrade Spinnaker

Further information: Spinnaker - Deploy

List versions

hal version list

Set version (here "1.7.5") and deploy Spinnaker

hal config version edit --version 1.7.5
hal deploy apply

Set timezone

hal config edit --timezone Europe/Berlin

See also

External links