Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Set tags for init and prometheus docker images (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbelvin authored Feb 17, 2020
1 parent cd0b76c commit 668a377
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ docker-compose push

echo "Updating jobs..."
cd deploy/kubernetes/base
kustomize edit set image gcr.io/${PROJECT_NAME_CI}/prometheus:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/${PROJECT_NAME_CI}/keytransparency-monitor:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/${PROJECT_NAME_CI}/keytransparency-sequencer:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/${PROJECT_NAME_CI}/keytransparency-server:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/keytransparency-monitor:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/keytransparency-sequencer:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/keytransparency-server:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/prometheus:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/init:${TRAVIS_COMMIT}
cd -
kubectl apply -k deploy/kubernetes/overlays/gke
4 changes: 4 additions & 0 deletions scripts/kubernetes_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ docker-compose build --parallel
kind load docker-image gcr.io/key-transparency/keytransparency-monitor:${TRAVIS_COMMIT}
kind load docker-image gcr.io/key-transparency/keytransparency-sequencer:${TRAVIS_COMMIT}
kind load docker-image gcr.io/key-transparency/keytransparency-server:${TRAVIS_COMMIT}
kind load docker-image gcr.io/key-transparency/prometheus:${TRAVIS_COMMIT}
kind load docker-image gcr.io/key-transparency/init:${TRAVIS_COMMIT}

cd deploy/kubernetes/base
kustomize edit set image gcr.io/key-transparency/keytransparency-monitor:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/keytransparency-sequencer:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/keytransparency-server:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/prometheus:${TRAVIS_COMMIT}
kustomize edit set image gcr.io/key-transparency/init:${TRAVIS_COMMIT}
cd -

# kubectl exits with 1 if kt-secret does not exist
Expand Down

0 comments on commit 668a377

Please sign in to comment.