Files in this directory configure Cloud Build to run govim integration tests against a gopls binary built from source.
To run these integration tests in Cloud Build, use the following steps. Here we assume that $PROJECT is a valid GCP project and $BUCKET is a cloud storage bucket owned by that project.
cd to the root directory of the tools project.$ gcloud builds submit \
--project="${PROJECT}" \
--config=gopls/integration/govim/cloudbuild.harness.yaml \
--substitutions=_RESULT_BUCKET="${BUCKET}"
$ gcloud builds submit \
--project="${PROJECT}" \
--config=gopls/integration/govim/cloudbuild.yaml \
--substitutions=_RESULT_BUCKET="${BUCKET}"
Run gopls/integration/govim/run_local.sh. This may take a while the first time it is run, as it will require building the test harness. Currently this script assumes that docker may be executed without sudo.