Skip to content
Snippets Groups Projects
Unverified Commit ac9e7d7c authored by Varac's avatar Varac
Browse files

Split sed cmd into smaller cmds

parent 0243514a
No related branches found
No related tags found
No related merge requests found
......@@ -354,9 +354,13 @@ install-stackspin:
script:
- *debug_information
# Customize env file, remove all comments and empty lines
- >
sed "s/1.2.3.4/$IP_ADDRESS/; s/example.org/$FQDN/; s/acme_staging=false/acme_staging=true/; s/acme-v02/acme-staging-v02/; /^\s*#.*$/d; /^\s*$/d"
install/.flux.env.example >> ${CLUSTER_DIR}/.flux.env
- cp install/.flux.env.example ${CLUSTER_DIR}/.flux.env
- sed -i "s/1.2.3.4/$IP_ADDRESS/" ${CLUSTER_DIR}/.flux.env
- sed -i "s/example.org/$FQDN/" ${CLUSTER_DIR}/.flux.env
- sed -i "s/acme_staging=false/acme_staging=true/" ${CLUSTER_DIR}/.flux.env
- sed -i "s/acme-v02/acme-staging-v02/;" ${CLUSTER_DIR}/.flux.env
- sed -i "/^\s*#.*$/d; /^\s*$/d" ${CLUSTER_DIR}/.flux.env
- cat ${CLUSTER_DIR}/.flux.env
# Deploy secret/stackspin-cluster-variables
- cp install/kustomization.yaml ${CLUSTER_DIR}
- kubectl create namespace flux-system
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment