This repository was archived by the owner on Feb 26, 2024. It is now read-only.
File tree
Expand file treeCollapse file tree
Open diff view settings
actions/integration-test/steps
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: actions/integration-test/steps/deploy.sh +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
2 | 2 | # This test deploys a container project onto the target server |
3 | 3 | # IMPORTANT: This must run after test_provision.sh! |
4 | 4 |
|
5 | | -sed -e "s/\${domain}/${INPUT_DOMAIN}/" -e "s/\${domain2}/${INPUT_DOMAIN2}/" "${GITHUB_ACTION_PATH}/project-definition.dist.yml" >"${GITHUB_ACTION_PATH}/container.yml" |
| 5 | +sed -e "s/\${domain}/${INPUT_DOMAIN}/" -e "s/\${domain2}/${INPUT_DOMAIN2}/" "${GITHUB_ACTION_PATH}/project-definition.dist.yml" >"${GITHUB_ACTION_PATH}/container.stackhead.yml" |
6 | 6 |
|
7 | 7 | if [[ $INPUT_CLI != '' ]]; then |
8 | | - ${INPUT_CLI_BIN_PATH} project deploy "${GITHUB_ACTION_PATH}/container.yml" "${INPUT_IPADDRESS}" -c "/tmp/.stackhead-cli.yml" -v |
| 8 | + ${INPUT_CLI_BIN_PATH} project deploy "${GITHUB_ACTION_PATH}/container.stackhead.yml" "${INPUT_IPADDRESS}" -c "/tmp/.stackhead-cli.yml" -v |
9 | 9 | else |
10 | 10 | INVENTORY_PATH="${GITHUB_ACTION_PATH}/inventory.yml" |
11 | 11 | sed -e "s/\${ipaddress}/${INPUT_IPADDRESS}/" -e "s/\${webserver}/${INPUT_WEBSERVER}/" -e "s/\${container}/${INPUT_CONTAINER}/" -e "s/\${application}/container/" -e "s/\${plugins}/${INPUT_PLUGINS}/" "${GITHUB_ACTION_PATH}/inventory.dist.yml" >"${INVENTORY_PATH}" |
|
Collapse file
Copy file name to clipboardExpand all lines: actions/integration-test/steps/destroy.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
5 | 5 | # IMPORTANT: This must run after test_deploy.sh! |
6 | 6 |
|
7 | 7 | if [[ $INPUT_CLI != '' ]]; then |
8 | | - ${INPUT_CLI_BIN_PATH} project destroy "${GITHUB_ACTION_PATH}/container.yml" "${INPUT_IPADDRESS}" -c "/tmp/.stackhead-cli.yml" -v |
| 8 | + ${INPUT_CLI_BIN_PATH} project destroy "${GITHUB_ACTION_PATH}/container.stackhead.yml" "${INPUT_IPADDRESS}" -c "/tmp/.stackhead-cli.yml" -v |
9 | 9 | else |
10 | 10 | INVENTORY_PATH="${GITHUB_ACTION_PATH}/inventory.yml" |
11 | 11 | TEST=1 ansible-playbook "${STACKHEAD_CLONE_LOCATION}/ansible/playbooks/application-destroy.yml" -i "${INVENTORY_PATH}" --extra-vars "project_name=container" -vv |
|