Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added automatic deployment process. #24

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ALarkin79
Copy link

@ALarkin79 ALarkin79 commented Aug 7, 2022

Added an automatic deployment script that will run after build and test.

Requires the following as secrets:

  • PEM file
  • Login connection string
  • Location of the flask app on the endpoint
  • Comma-delimited list of slack tokens
  • CSV url
  • Flask debug value

Upon completion of build and test after any push to master, this script will pull the aforementioned secrets, log into the wtf-bot endpoint, kill the existing wtf-bot processes, pull any new changes to the repo onto the endpoint's clone repo, then it will set up environment variables from the secret values and re-run the flask app.

@ALarkin79 ALarkin79 marked this pull request as ready for review August 8, 2022 11:17
@Moofasax
Copy link

@department-of-veterans-affairs/cto-office-github-admin anyone able to review this PR for us?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants