Rob Findley | d7ab245 | 2019-12-18 14:55:07 -0500 | [diff] [blame] | 1 | # Copyright 2019 The Go Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style |
| 3 | # license that can be found in the LICENSE file. |
| 4 | |
| 5 | # Build the govim test harness that will be used to run govim integration tests |
| 6 | # for gopls. See README.md for instructions on how to use this. |
| 7 | steps: |
| 8 | - name: 'gcr.io/cloud-builders/docker' |
Rob Findley | 8503576 | 2020-01-13 15:22:19 -0500 | [diff] [blame] | 9 | args: ['build', |
| 10 | # To allow for breaking changes to this test harness, tag with a major |
| 11 | # version number. |
| 12 | '-t', 'gcr.io/$PROJECT_ID/govim-harness:latest', |
Rob Findley | 4abfd4a | 2020-02-04 20:14:12 -0500 | [diff] [blame] | 13 | '-t', 'gcr.io/$PROJECT_ID/govim-harness:3', |
Rob Findley | d7ab245 | 2019-12-18 14:55:07 -0500 | [diff] [blame] | 14 | # It is assumed that this build is running from the root directory of the |
| 15 | # tools repository. |
| 16 | '-f', 'gopls/integration/govim/Dockerfile', |
| 17 | # Use the integration test directory as build context: the test harness |
| 18 | # doesn't actually require any local files. |
| 19 | 'gopls/integration/govim'] |
| 20 | images: |
| 21 | - gcr.io/$PROJECT_ID/govim-harness |