ci: nomad main is now on go 1.18 (#13329)

The nomad integration tests that use main need to be updated to reflect hashicorp/nomad#13036
pull/13337/head
R.B. Boyer 3 years ago committed by GitHub
parent fcdd031911
commit 487700d9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -557,17 +557,17 @@ jobs:
# Run integration tests on nomad/v0.8.7 # Run integration tests on nomad/v0.8.7
nomad-integration-0_8: nomad-integration-0_8:
docker: docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.10 - image: docker.mirror.hashicorp.services/cimg/go:1.10
environment: environment:
<<: *ENVIRONMENT <<: *ENVIRONMENT
NOMAD_WORKING_DIR: &NOMAD_WORKING_DIR /go/src/github.com/hashicorp/nomad NOMAD_WORKING_DIR: &NOMAD_WORKING_DIR /home/circleci/go/src/github.com/hashicorp/nomad
NOMAD_VERSION: v0.8.7 NOMAD_VERSION: v0.8.7
steps: &NOMAD_INTEGRATION_TEST_STEPS steps: &NOMAD_INTEGRATION_TEST_STEPS
- run: git clone https://github.com/hashicorp/nomad.git --branch ${NOMAD_VERSION} ${NOMAD_WORKING_DIR} - run: git clone https://github.com/hashicorp/nomad.git --branch ${NOMAD_VERSION} ${NOMAD_WORKING_DIR}
# get consul binary # get consul binary
- attach_workspace: - attach_workspace:
at: /go/bin at: /home/circleci/go/bin
# make dev build of nomad # make dev build of nomad
- run: - run:
@ -597,10 +597,10 @@ jobs:
# run integration tests on nomad/main # run integration tests on nomad/main
nomad-integration-main: nomad-integration-main:
docker: docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.17 # TODO: replace with cimg/go (requires steps update) - image: docker.mirror.hashicorp.services/cimg/go:1.18
environment: environment:
<<: *ENVIRONMENT <<: *ENVIRONMENT
NOMAD_WORKING_DIR: /go/src/github.com/hashicorp/nomad NOMAD_WORKING_DIR: /home/circleci/go/src/github.com/hashicorp/nomad
NOMAD_VERSION: main NOMAD_VERSION: main
steps: *NOMAD_INTEGRATION_TEST_STEPS steps: *NOMAD_INTEGRATION_TEST_STEPS

Loading…
Cancel
Save