bcgov / fwben

Apache License 2.0
1 stars 0 forks source link

DEVOPS - Setup the pipelines (Jenkins or Github Actions) #101

Closed ghost closed 5 years ago

ghost commented 5 years ago

Open shift will need to be setup to facilitate the building and testing of all components. Its not yet been decided if we are going to use Jenkins (in openshift) or if we are going to use Github's Actions (and BCDevOps prototype for it). Either way, we need to provision the environments and configuration manifests, similar to what has already been done for the entities team, but with the adoption of the BCDevOps Pipeline model.

See: https://github.com/BCDevOps/ocp-cd-pipeline

This model helps ensures that when a pull request is made, it creates a hash of the component-directories and openshift-configuration, and only redeploys component (pods) that have a differing hash from what is currently deployed. This helps ensure that we can keep the 'jobs' minimal and fully encompassing of the project, while reducing the build time and effectiveness of the job.

Note: This could be a combination of Jenkins AND Github actions - Jenkins will be required for sure, but we might want to do some early PR testing / reporting in actions.

Acceptance Criteria

bsnopek-freshworks commented 5 years ago

Jenkins has been setup in openshift, with the following completed:

TODO STILL: