forked from derekoneil/twitter-feed-oke
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff24986
commit 0c0b792
Showing
1 changed file
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|