bcgov / NRPTI

Natural Resources Public Transparency Initiative
Apache License 2.0
5 stars 15 forks source link

NRPTI Pipeline: Create OpenShift Tekton Pipelines #1205

Open fergmac opened 4 months ago

fergmac commented 4 months ago

Describe the task Create Tekton Pipelines for pushing to Test and Production environments.

We can create Tekton Pipelines in OpenShift to handle retagging the image and deploying to test and production. Currently we do this manually:

oc tag nrpti:latest nrpti:test oc tag public-nrced:latest public-nrced:test oc tag nrpti-api:latest nrpti-api:test oc tag nrpti:test nrpti:test-backup

Purpose Instead of manually running the push to Test or Production from the command line we can trigger a pipeline to run in OpenShift.

Acceptance Criteria

Additional context