microsoft / bedrock

Automation for Production Kubernetes Clusters with a GitOps Workflow
MIT License
129 stars 12 forks source link

Generated pipelines should perform lookup based on pipeline id for first build instead of image tag #1369

Open samiyaakhtar opened 4 years ago

samiyaakhtar commented 4 years ago

As a: developer

I want: to optimize the generated pipelines for multi-stage instead of single stage pipelines

So that: spk deployment create logic is simplified to perform lookup based on p1 rather than imageTag. Previously, it was done this way to handle both single stage and multi stage pipelines but for generated pipelines, it's more straightforward to rely on p1.

Describe the solution you'd like:

Note that this would be backwards compatible since we don't remove lookup logic for imageTag, which will still support single stage pipelines.

Acceptance Criteria: spk deployment create lookup logic is simplified for multi-stage pipelines

Describe alternatives you've considered: Keep it as it is

Additional context:

Does this require updates to documentation?: Yes