Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI and release go versions to 1.17.5 #11799

Merged
merged 3 commits into from
Dec 10, 2021
Merged

Update CI and release go versions to 1.17.5 #11799

merged 3 commits into from
Dec 10, 2021

Conversation

kisunji
Copy link
Contributor

@kisunji kisunji commented Dec 10, 2021

No description provided.

@github-actions github-actions bot added theme/contributing Additions and enhancements to community contributing materials type/ci Relating to continuous integration (CI) tooling for testing or releases labels Dec 10, 2021
@vercel vercel bot temporarily deployed to Preview – consul December 10, 2021 15:20 Inactive
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging December 10, 2021 15:20 Inactive
@@ -15,7 +15,7 @@ references:
images:
# When updating the Go version, remember to also update the versions in the
# workflows section for go-test-lib jobs.
go: &GOLANG_IMAGE docker.mirror.hashicorp.services/circleci/golang:1.17.2
go: &GOLANG_IMAGE docker.mirror.hashicorp.services/cimg/go:1.17.5
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New version of CircleCI images: link

@kisunji kisunji requested a review from a team December 10, 2021 15:43
@boxofrad
Copy link
Contributor

Code changes LGTM but the build is failing:

Error locating workspace root directory: stat /go/bin: no such file or directory

@kisunji kisunji removed the request for review from a team December 10, 2021 15:45
@kisunji
Copy link
Contributor Author

kisunji commented Dec 10, 2021

Code changes LGTM but the build is failing:

Error locating workspace root directory: stat /go/bin: no such file or directory

Yeah looks like there's some diffs between their legacy images and new ones 😭

Copy link
Contributor

@eculver eculver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vercel vercel bot temporarily deployed to Preview – consul December 10, 2021 18:45 Inactive
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging December 10, 2021 18:45 Inactive
@kisunji kisunji merged commit 8bdbe7c into main Dec 10, 2021
@kisunji kisunji deleted the kisunji/go1.17.5 branch December 10, 2021 19:04
@hc-github-team-consul-core
Copy link
Contributor

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/524347.

@hc-github-team-consul-core
Copy link
Contributor

🍒✅ Cherry pick of commit 8bdbe7c onto release/1.11.x succeeded!

@hc-github-team-consul-core
Copy link
Contributor

🍒❌ Cherry pick of commit 8bdbe7c onto release/1.10.x failed! Build Log

Copy link
Contributor

@dhiaayachi dhiaayachi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @kisunji for working on this. I left few questions.

One unrelated open question, I just noticed that we run integration tests against Nomad on version 0.8.x of Nomad. Is there a reason we don't run against a more recent version?

ember: &EMBER_IMAGE docker.mirror.hashicorp.services/circleci/node:14-browsers

paths:
test-results: &TEST_RESULTS_DIR /tmp/test-results

cache:
yarn: &YARN_CACHE_KEY consul-ui-v6-{{ checksum "ui/yarn.lock" }}
rubygem: &RUBYGEM_CACHE_KEY static-site-gems-v1-{{ checksum "Gemfile.lock" }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this need to be removed ? Is something different about the docker image we are using?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rubygem cache was being unused in the file so I just deleted it

- run: sudo apt-get update --allow-releaseinfo-change-suite --allow-releaseinfo-change-version && sudo apt-get install -y rsyslog
- run: sudo service rsyslog start
- run: *install-gotestsum
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we removing the gotestsum install step here ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisunji mentioned this in the other PR, but this is already installed as part of cimg/go

@kisunji
Copy link
Contributor Author

kisunji commented Dec 11, 2021

Thank you @kisunji for working on this. I left few questions.

One unrelated open question, I just noticed that we run integration tests against Nomad on version 0.8.x of Nomad. Is there a reason we don't run against a more recent version?

We actually run tests on 0.8 nomad and main nomad! I'm assuming the 0.8 is there for a specific reason though

@dnephin
Copy link
Contributor

dnephin commented Jan 6, 2022

I think 0.8 might have just been the latest release at the time we added this. I suspect we were supposed to update that to the latest release periodically, but we have not done that. Maybe we should only test main, since we really don't need more things to maintain periodically.

@rboyer
Copy link
Member

rboyer commented Jan 6, 2022

IIRC 0.8 was a particular version we broke during a release and had to do an immediate point release to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/contributing Additions and enhancements to community contributing materials type/ci Relating to continuous integration (CI) tooling for testing or releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants