output to out file
This commit is contained in:
@@ -31,9 +31,10 @@ pods:
|
|||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- echo $CI_REGISTRY_IMAGE
|
- echo $CI_REGISTRY_IMAGE
|
||||||
- apt -qq update >> /dev/null && apt -qq install -y curl gettext moreutils >> /dev/null
|
- apt -qq update >> /dev/null && apt -qq install -y curl gettext >> /dev/null
|
||||||
# - curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
|
- curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
|
||||||
# - chmod +x ./kubectl
|
- chmod +x ./kubectl
|
||||||
- envsubst < k8s/deploy.yaml > sponge k8s/deploy.yaml
|
- envsubst < k8s/deploy.yaml > out.yaml
|
||||||
- cat k8s/deploy.yaml
|
- cat out.yaml
|
||||||
# - ./kubectl apply -f k8s/
|
- mv out.yaml k8s/deploy.yaml
|
||||||
|
- ./kubectl apply -f k8s/
|
||||||
Reference in New Issue
Block a user