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

Use LE staging in CI, no need to source .flux.env

parent 3d9fea36
Branches
Tags
No related merge requests found
......@@ -307,8 +307,7 @@ setup-openappstack:
# TODO: I set --no-install-openappstack to skip the old installation procedure, should be removed eventually
- python3 -m openappstack $HOSTNAME install --install-kubernetes --no-install-openappstack
# 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-staging/acme/; /^\s*#.*$/d; /^\s*$/d" install/.flux.env.example >> ${CLUSTER_DIR}/.flux.env
- set -o allexport; source ${CLUSTER_DIR}/.flux.env; set +o allexport
- sed "s/1.2.3.4/$IP_ADDRESS/; s/example.org/$FQDN/; s/acme_staging=false/acme_staging=true/; s/acme/acme-staging/; /^\s*#.*$/d; /^\s*$/d" install/.flux.env.example >> ${CLUSTER_DIR}/.flux.env
# Deploy secret/oas-cluster-variables
- cp install/kustomization.yaml ${CLUSTER_DIR}
- kubectl apply -k ${CLUSTER_DIR}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment