Skip to content

Commit

Permalink
CI/CD SFTP Updates for production deploy workflow (#6843)
Browse files Browse the repository at this point in the history
* Workflow for testing with test kitchen server

* Update staging and testing workflows for SFTP

* Add cicd-sftp-update to trigger branches for testing

* Update image cache workflow

* Testing SFTP connections

* Un-do quick SFTP test changes

* Test curl connections

* Test curl connections, 2

* Test curl connections, 3

* Test curl connections, 4

* Test curl connections, 5

* Test curl connections, 6

* Test curl connections, 7

* Test curl connections, 8

* Test curl connections, 9

* Test curl connections, 10

* Test curl connections, 11

* Test curl connections, 12

* Test curl connections, 13

* Test curl connections, 14

* Test curl connections, 15

* Test curl connections, 16

* Test curl connections, 17

* Test curl connections, 18

* Testing curl cacert

* Testing curl cacert, 2

* Testing curl cacert, 3

* Test SFTP to new prod boxes, 1

* Test SFTP to new prod boxes, 2

* Test SFTP to new prod boxes, 3

* Test SFTP to new prod boxes, 4

* Test SFTP to new prod boxes, 5

* Testconnections to new prod boxes

* Test connections to new prod boxes, 2

* Test connections to new prod boxes, 3

* Test connections to new prod boxes, 4

* Test connections to new prod boxes, 5

* Test connections to new prod boxes, 6

* Test connections to new prod boxes, 7

* Update production deploy workflow, 3

* Update production deploy workflow, 4

* Update production deploy workflow, 5

* Update production deploy workflow, 6

* Update production deploy workflow, 7

* Update production deploy workflow, 8
  • Loading branch information
nmelehan authored Feb 16, 2024
1 parent 2e8e2be commit f328403
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 73 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy-to-feature-testing-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- 'feature/testing-linodedocs'
- 'cicd-sftp-update'

# This workflow builds the site with Hugo, uploads it to a testing web
# server, and updates the sandbox Algolia app to reflect the content in the
Expand Down Expand Up @@ -370,8 +369,8 @@ jobs:
echo "Commit hash of workflow run is $GITHUB_SHA, but commit hash reported by server is $CURRENT_GIT_COMMIT_HASH. Deployment to server has failed. Please inspect workflow logs and server logs."
exit 1
fi
else
rm cacert.pem
echo "No gitcommithash.txt exists on server after deployment. Deployment to server has failed. Please inspect workflow logs and server logs."
exit 1
fi
3 changes: 1 addition & 2 deletions .github/workflows/deploy-to-main-staging-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- 'main'
- 'cicd-sftp-update'

# This workflow builds the site with Hugo, uploads it to a staging web
# server, and updates the sandbox Algolia app to reflect the content in the
Expand Down Expand Up @@ -370,8 +369,8 @@ jobs:
echo "Commit hash of workflow run is $GITHUB_SHA, but commit hash reported by server is $CURRENT_GIT_COMMIT_HASH. Deployment to server has failed. Please inspect workflow logs and server logs."
exit 1
fi
else
rm cacert.pem
echo "No gitcommithash.txt exists on server after deployment. Deployment to server has failed. Please inspect workflow logs and server logs."
exit 1
fi
Loading

0 comments on commit f328403

Please sign in to comment.