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

Add a GitHub Action that will SSH into our deployment server and run the ansible playbook or use a webhook to trigger an ansible action on the VPS #29

Open
Tracked by #10
terrameijar opened this issue Feb 2, 2024 · 5 comments
Assignees
Labels
infrastructure Issues related to infrastructure and servers

Comments

@terrameijar
Copy link
Collaborator

terrameijar commented Feb 2, 2024

We need a deployment action to deploy code to the VPS Server once the lint and unit tests complete successfully.

See https://stackoverflow.com/questions/58457140/dependencies-between-workflows-on-github-actions

This depends on #28

@im-machakata
Copy link
Collaborator

I would love to work on this if it's free

@terrameijar
Copy link
Collaborator Author

@im-machakata that would be wonderful. The feature is available for you to work on it. Have you done this sort of thing before or would you need support to get it done?

@im-machakata
Copy link
Collaborator

Haven't heard of ansible before but I think I'll be okay 😊

@terrameijar
Copy link
Collaborator Author

@im-machakata Ansible is an infrastructure as code tool we can use to provision our deployment server and deploy our application code. I know ansible, so I can take care of setting it up and you can write the Github action to start the deployment.

Before deploying code, we'll need to ensure that it passes lint and unit tests, So the Deployment action should ensure that the lint and unit test actions completed successfully before attempting to deploy code to the server.

Working on this task together will allow us to learn how to co-author a Pull Request.

As a first step, please create a new branch for this feature and add a .github/workflows/deploy.yml file to the project. Once you have done that, add and commit the file and push it up to your fork and let me know so we can start collaborating on it.

How does that sound?

@terrameijar terrameijar added the infrastructure Issues related to infrastructure and servers label Mar 5, 2024
@terrameijar terrameijar added this to the Initial Go-Live milestone Mar 5, 2024
@im-machakata
Copy link
Collaborator

im-machakata commented Mar 6, 2024

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

No branches or pull requests

2 participants