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