Skip to content

Commit

Permalink
Update wercker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
derekoneil authored Aug 23, 2018
1 parent ff24986 commit 0c0b792
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ push-release:
ports: $PORT
cmd: sh target/bin/start

create-secret:
box:
id: alpine
cmd: /bin/sh
steps:
#Deploy our container from the Oracle Container Registry to the Oracle Container Engine (Kubernetes)
deploy-to-cluster:
box:
id: alpine
cmd: /bin/sh

steps:

- bash-template

- kubectl:
name: delete secret
server: $KUBERNETES_MASTER
Expand All @@ -45,15 +50,6 @@ create-secret:
insecure-skip-tls-verify: true
command: create secret docker-registry wercker --docker-server=$DOCKER_REGISTRY [email protected] --docker-username=$DOCKER_USERNAME --docker-password='$OCI_AUTH_TOKEN'; echo create registry secret

#Deploy our container from the Oracle Container Registry to the Oracle Container Engine (Kubernetes)
deploy-to-cluster:
box:
id: alpine
cmd: /bin/sh
steps:

- bash-template

- script:
name: "Visualise Kubernetes config"
code: cat kubernetes.yml
Expand Down

0 comments on commit 0c0b792

Please sign in to comment.