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 module dependencies #247

Merged
merged 1 commit into from
Apr 15, 2022
Merged

Update module dependencies #247

merged 1 commit into from
Apr 15, 2022

Conversation

masa213f
Copy link
Contributor

@masa213f masa213f commented Apr 11, 2022

  • Check auto-generated files in CI
  • Update go module dependencies
  • Update actions
  • Update etcd to v3.5.3 (mtest)
  • Update Core OS version to 3139.2.0 (mtest)
  • Update CT version to v0.9.0 (mtest)

Signed-off-by: Masayuki Ishii masa213f@gmail.com

@masa213f masa213f self-assigned this Apr 11, 2022
@masa213f masa213f changed the base branch from main to update-20220411 April 11, 2022 07:58
@masa213f masa213f changed the title Update actions Update module dependencies Apr 11, 2022
@masa213f masa213f requested a review from yokaze April 11, 2022 08:15
Base automatically changed from update-20220411 to main April 11, 2022 09:17
credentials_json: '${{ secrets.NECO_TEST_SERVICE_ACCOUNT }}'

- name: Set up Cloud SDK for sabakan
uses: google-github-actions/setup-gcloud@v0
Copy link
Contributor

Choose a reason for hiding this comment

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

The versions of google-github-actions/auth and google-github-actions/setup-gcloud look too vague?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yokaze
I agree a little. But using v0 is recommended.
Which do you like using v0 or a specific version?

https://github.com/google-github-actions/auth/tree/v0.7.0#versioning
https://github.com/google-github-actions/setup-gcloud/tree/v0.6.0#versioning

Most actions specify only the major version (e.g. actions/setup-go@v3).
So I think we need not give special treatment only to v0.

Copy link
Contributor

Choose a reason for hiding this comment

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

@masa213f
I suppose released versions (v1, v2, ...) are normally well-controlled and it's safe to upgrade their minor versions. However for v0 softwares, there is no such guarantee. So it's rational to pin their minor versions.

BTW the upstream authors encourage to use v0 tag possibly because they are confident of no breaking changes in future. How do you think about the risk?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I understand your opinion as follows. Is it correct?

  • If a major version (v1 or more) has been released, we pin the major version only.
  • If a major version is not released, we pin the major and minor versions. The patch version is not required.

Even if breaking changes are released, it just breaks CI.
I thought it was no big problem. So I specified the v0 only.
But your suggestion sounds like a good idea. Which do you like?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@masa213f masa213f requested review from yokaze and removed request for yokaze April 12, 2022 08:15
Signed-off-by: Masayuki Ishii <masa213f@gmail.com>
Copy link
Contributor

@yokaze yokaze left a comment

Choose a reason for hiding this comment

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

LGTM

@masa213f masa213f merged commit 2e78302 into main Apr 15, 2022
@masa213f masa213f deleted the update-20220411-2 branch April 15, 2022 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants