GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(action): update project definition file names · getstackhead/stackhead@8c766c6

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
Filter options
  • actions/integration-test/steps
    • deploy.sh
    • destroy.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎actions/integration-test/steps/deploy.sh‎

Copy file name to clipboardExpand all lines: actions/integration-test/steps/deploy.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This test deploys a container project onto the target server
33
# IMPORTANT: This must run after test_provision.sh!
44

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"
66

77
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
99
else
1010
INVENTORY_PATH="${GITHUB_ACTION_PATH}/inventory.yml"
1111
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

‎actions/integration-test/steps/destroy.sh‎

Copy file name to clipboardExpand all lines: actions/integration-test/steps/destroy.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# IMPORTANT: This must run after test_deploy.sh!
66

77
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
99
else
1010
INVENTORY_PATH="${GITHUB_ACTION_PATH}/inventory.yml"
1111
TEST=1 ansible-playbook "${STACKHEAD_CLONE_LOCATION}/ansible/playbooks/application-destroy.yml" -i "${INVENTORY_PATH}" --extra-vars "project_name=container" -vv

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.