Closed davidnixon closed 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.
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.
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.
The above toolchain is invoked by a commit to the stable
branch.
@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
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.
https://en.wikipedia.org/wiki/CI/CD
https://www.ibm.com/cloud/architecture/tutorials/introduce-develop-cloud-foundry-app-toolchain
Using that manifest with proper credentials, a cf push from the
ui
dir will create a new app in the cloud foundry account.cf push -f preprod.yml
fivefifthsvoter-preprod
Unlike the tutorial above I think you should start with an empty toolchain instead of starting with a pattern. That will allow you to use this existing github as the source instead of cloning this repo into IBM cloud github. I also suggest you trigger a new build based on updates to a branch. I suggest a branch named "preprod" @upkarlidder may have a different suggestionsNext steps to be documented in other issues:
fivefifthsvoter-services-preprod
fivefifthsvoter-services-preprod