Call-for-Code-for-Racial-Justice / Five-Fifths-Voter

Five Fifths Voter is a web application tool designed to enable and empower Black people and others to exercise their right to vote by ensuring their voice is heard
Apache License 2.0
67 stars 38 forks source link

CI/CD - part 1 #161

Closed davidnixon closed 3 years ago

davidnixon commented 3 years ago

https://en.wikipedia.org/wiki/CI/CD

https://www.ibm.com/cloud/architecture/tutorials/introduce-develop-cloud-foundry-app-toolchain

Next steps to be documented in other issues:

davidnixon commented 3 years ago

Working on this now I have the toolchain create and currently testing the deployment. I am not using preprod. Instead I am working on the prod deployment from the stable branch.

upkarlidder commented 3 years ago

Thanks @davidnixon. The other option is to use Github actions and push a build on merge on github release. I believe the IBM pipeline uses Tekton, similar to the actions conceptually. Any interest in looking into Github actions? We have jobs that install and use IBM cloud CLI.

davidnixon commented 3 years ago

image

I am not opposed to that. I actually did not think of github actions because they are not available in our enterprise github. 😄 But they are of course available here.

davidnixon commented 3 years ago

The above toolchain is invoked by a commit to the stable branch.

davidnixon commented 3 years ago

@upkarlidder For tomorrow I would like to leave the above toolchain in place. After that, I really like the idea of containing the deployment here in github as you suggest. What do you think? Stay with toolchain on IBM Cloud or create a toolchain here with git actions? I found this with support for IBM cloud foundry https://github.com/IBM/cloudfoundry-deploy

upkarlidder commented 3 years ago

Agree. Let's leave as is for now but move over to Github actions next. You can have the Tekton scripts in the repo as well from what I understand, but GitHub actions seem simpler to me at this point. I also want to talk about non Cloud Foundry deployment, container based options with you and the team.