-
Notifications
You must be signed in to change notification settings - Fork 9
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
[MM-40754] Upgrade to cimg/go and allow .nvmrc to be used #32
Conversation
@hanzei Please take a look at this when you get the chance. This both updates the Go version, and allows projects to specify their node version via a I made this a separate PR from #29 since there is more going on here (upgrading cimg and supporting a different node version), though both things need to happen at the same time here. |
@JulienTant Adding you as a reviewer since you dug into this a bit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💯
@mickmister Thanks for taking care of the migration to get CI green again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
@hanzei What's the process of getting this merged? I've tested this config by pasting it into the zoom plugin config and had CI run on that commit. Though, I haven't tested the most recent changes from your review. |
Could you please re run your test with the latest changes? Just to make sure they works as expected. Esp. the go module path change. The logs contain the following line
is this because we are using a newer npm version the usally? Should we be using an older version (by default) that doesn't do the migration? |
@hanzei Looks like I messed up on that run of CI. None of the jobs are set up to call the |
Regarding the merge process: I'm confident that once you test the changes with zoom we can merge the PR. Once your other PRs care merged we need a new orb release. This is when it gets tricky. I don't have the power to create one and don't know who can that. Could you reach out to the devops team and request guidance from them? It would also be nice to fix the red CI on all PRs. |
@hanzei About the I copied this PR's config over to my test with the zoom plugin, and everything seems to be working correctly
|
The logs look mostly fine. It seems like that in |
@hanzei Taking a closer look, it is not downloading the exact same dependencies on the two occurrences. You can see it's downloading This also brings up the point that we are not taking into account when the |
Your observation seems correct. Let's tackle the caching issues as part of https://mattermost.atlassian.net/browse/MM-45779. This PR already fixes a lot of things. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment about the Python version of the deploy
@mickmister Are we good to merge this PR? |
Summary
This PR updates the
plugin-ci
orb to use Go 1.18, while also accepting a node version from the project's.nvmrc
to use to install a specific version of node. If no file exists, it falls back to nodev13.14
The PR is similar to #29
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-40754