CircleCI-Public / gcp-gke-orb

Interact with Google Kubernetes Engine (GKE) from CircleCI
https://circleci.com/orbs/registry/orb/circleci/gcp-gke
MIT License
7 stars 21 forks source link

refactor: extract `rollout-image.sh` and improve tests #58

Closed EricRibeiro closed 2 years ago

EricRibeiro commented 2 years ago

Motivation

There was shell code inside the rollout-image.yml.

Changes

This PR finishes the extraction of shell code in YAML. Only one-liners were left as they don't justify the creation of a separate script file.

Additionally, test-deploy was modified to create a cluster name dynamically. This removes the limitation of one test running at a time.