From 35997b28e34675fda25b0e1c5c5244c7869babfb Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Thu, 27 Aug 2020 12:59:14 -0700 Subject: [PATCH] util: Added GCN-GPU to cloudbuild_create_images This adds the GCN-GPU Docker image to this cloudbuild yaml file. We use this file to create our Docker images: ``` gcloud builds submit --config \ util/cloudbuild/cloudbuild_create_images.yaml ``` The GCN-GPU docker image can be obtained at: https://gcr.io/gem5-test/gcn-gpu Change-Id: I7564db78a9f00507f5acc6cf6098de35f98b6fb1 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33595 Reviewed-by: Matt Sinclair Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- util/cloudbuild/cloudbuild_create_images.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/util/cloudbuild/cloudbuild_create_images.yaml b/util/cloudbuild/cloudbuild_create_images.yaml index d4d8d4c69..2faadfa4a 100644 --- a/util/cloudbuild/cloudbuild_create_images.yaml +++ b/util/cloudbuild/cloudbuild_create_images.yaml @@ -115,6 +115,11 @@ steps: '--build-arg', 'version=9', 'util/dockerfiles/ubuntu-18.04_clang-version'] + - name: 'gcr.io/cloud-builders/docker' + args: ['build', + '-t', + 'gcr.io/$PROJECT_ID/gcn-gpu:latest', + 'util/dockerfiles/gcn-gpu'] images: ['gcr.io/$PROJECT_ID/ubuntu-20.04_all-dependencies:latest', 'gcr.io/$PROJECT_ID/ubuntu-18.04_all-dependencies:latest', @@ -132,5 +137,6 @@ images: ['gcr.io/$PROJECT_ID/ubuntu-20.04_all-dependencies:latest', 'gcr.io/$PROJECT_ID/clang-version-6.0:latest', 'gcr.io/$PROJECT_ID/clang-version-7:latest', 'gcr.io/$PROJECT_ID/clang-version-8:latest', - 'gcr.io/$PROJECT_ID/clang-version-9:latest'] + 'gcr.io/$PROJECT_ID/clang-version-9:latest', + 'gcr.io/$PROJECT_ID/gcn-gpu:latest'] timeout: 18000s # 5 Hours -- 2.30.2