util: Added GCN-GPU to cloudbuild_create_images
authorBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 27 Aug 2020 19:59:14 +0000 (12:59 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 28 Aug 2020 19:03:57 +0000 (19:03 +0000)
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 <mattdsinclair@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/cloudbuild/cloudbuild_create_images.yaml

index d4d8d4c699963738150826bef133d45a1f5c349b..2faadfa4a0532fca59ead5b253303caaab7a4652 100644 (file)
@@ -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