cloud-gov / cg-atlas

Repository hosting issues and artifacts related to operations of the cloud.gov platform
Creative Commons Zero v1.0 Universal
3 stars 1 forks source link

Audit and reconcile bosh.io stemcell use #119

Open ghost opened 8 years ago

ghost commented 8 years ago

As an SRE, I need to be sure we are using 18F-generated stemcells rather than the community stemcells listed on bosh.io.

Acceptance Criteria

ghost commented 8 years ago

A quick check of ci.cloud.gov reveals several pipelines using the community stemcell:

$ for i in $(fly -t cg pipelines | grep -v "^targeting " | grep -v "^name " | awk '{print $1}'); do
fly -t cg get-pipeline -p $i | grep -B1 bosh-io-stemcell
done
- name: bosh-stemcell
  type: bosh-io-stemcell
- name: monitoring-stemcell
  type: bosh-io-stemcell
- name: logsearch-stemcell
  type: bosh-io-stemcell
- name: admin-ui-stemcell
  type: bosh-io-stemcell
- name: docker-swarm-stemcell
  type: bosh-io-stemcell
ghost commented 8 years ago

Confirming no pipelines in the govcloud region are using bosh.io stemcells below. None found because bosh.io stemcells were incompat with the govcloud region, so we used our own stemcell builder and stemcells there.

for i in $(fly -t fr pipelines | grep -v "^targeting " | grep -v "^name " | awk '{print $1}'); do
fly -t fr get-pipeline -p $i | grep -B1 bosh-io-stemcell
done

no output