mirror of
https://github.com/bvanroll/stage-infra.git
synced 2025-08-29 03:52:49 +00:00
pls werk
This commit is contained in:
@@ -8,7 +8,7 @@ metadata:
|
||||
spec:
|
||||
params:
|
||||
- name: yaml-location
|
||||
default: infra/deploy.yaml
|
||||
default: infra/deploy-example.yaml
|
||||
- name: command
|
||||
default: apply
|
||||
- name: deploy-name
|
||||
@@ -20,8 +20,8 @@ spec:
|
||||
- name: update-yaml
|
||||
image: alpine
|
||||
script: |
|
||||
sed -i -e s;DEPLOY_NAME;$(params.deploy-name);g $(params.yaml-location)
|
||||
sed -i -e s;DEPLOY_VERSION;$(params.deploy-version);g $(params.yaml-location)
|
||||
sed -i -e 's;DEPLOY_NAME;$(params.deploy-name);g' $(params.yaml-location)
|
||||
sed -i -e 's;DEPLOY_VERSION;$(params.deploy-version);g' $(params.yaml-location)
|
||||
- name: deploy-new-app
|
||||
image: lachlanevenson/k8s-kubectl
|
||||
command: ["kubectl"]
|
||||
|
Reference in New Issue
Block a user