blob: 13b0a34c3cf75dc870067a5858deb9f73c1d688b [file] [log] [blame]
Rob Findleyd7ab2452019-12-18 14:55:07 -05001# 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.
7steps:
8 - name: 'gcr.io/cloud-builders/docker'
Rob Findley85035762020-01-13 15:22:19 -05009 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 Findley4abfd4a2020-02-04 20:14:12 -050013 '-t', 'gcr.io/$PROJECT_ID/govim-harness:3',
Rob Findleyd7ab2452019-12-18 14:55:07 -050014 # 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']
20images:
21 - gcr.io/$PROJECT_ID/govim-harness