Skip to content

Commit

Permalink
Merge pull request #5353 from freedomofpress/5294-pins-ci-base-box
Browse files Browse the repository at this point in the history
Hardcodes CI image id in scripts
  • Loading branch information
kushaldas committed Jul 6, 2020
2 parents 914790a + 12cbe85 commit beced1f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions devops/gce-nested/gce-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ function create_gce_ssh_key() {
# Lookup the latest GCE image available for use with SD CI.
# Value will be used in the create call.
function find_latest_ci_image() {
gcloud_call compute images list \
--filter="family:fpf-securedrop AND name ~ ^ci-nested-virt-stretch" \
--sort-by=~Name --limit=1 --format="value(Name)"
#gcloud_call compute images list \
# --filter="family:fpf-securedrop AND name ~ ^ci-nested-virt-stretch" \
# --sort-by=~Name --limit=1 --format="value(Name)"
# Return hardcoded image id to prevent newer builds from breaking CI
echo "ci-nested-virt-stretch-1564072828"
}

# Call out to GCE API and start a new instance, designating
Expand Down

0 comments on commit beced1f

Please sign in to comment.