ibm-cloud-architecture / devops-demo-pipelines

1 stars 5 forks source link

Generate gitops task for flat file kubernetes deployment.yaml #30

Open hollisc opened 4 years ago

hollisc commented 4 years ago

The current gitops task (https://github.com/ibm-cloud-architecture/devops-demo-kabanero-pipelines/blob/master/ci/assets/default-kabanero-pipelines/mcm-pipelines/tasks/gitops.yaml) is specific to kabanero deployments, using the appsodyapplication CRD.

We will need to create a task to update flat file deployment yaml.

ie. sed -i "/image: /c\ image: $(inputs.resources.image.url)" deployment.yaml