Skip to content

ci: pin shfmt to v3.2.0#2671

Merged
mrunalp merged 1 commit intoopencontainers:masterfrom
kolyshkin:shfmt-pin
Nov 6, 2020
Merged

ci: pin shfmt to v3.2.0#2671
mrunalp merged 1 commit intoopencontainers:masterfrom
kolyshkin:shfmt-pin

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

We had to use shfmt from git master/HEAD in commit 069fddf as at the
time there was no released/tagged version that supports bats syntax.

Now there is (https://github.com/mvdan/sh/releases/tag/v3.2.0),
so let's pin it to avoid sudden regressions caused by changes in master
branch.

AkihiroSuda
AkihiroSuda previously approved these changes Nov 4, 2020
mrunalp
mrunalp previously approved these changes Nov 4, 2020
@mrunalp
Copy link
Copy Markdown
Contributor

mrunalp commented Nov 4, 2020

nit: commit title ping -> pin

AkihiroSuda
AkihiroSuda previously approved these changes Nov 4, 2020
@AkihiroSuda AkihiroSuda changed the title ci: ping shfmt to v3.2.0 ci: pin shfmt to v3.2.0 Nov 4, 2020
mrunalp
mrunalp previously approved these changes Nov 4, 2020
mrunalp
mrunalp previously approved these changes Nov 4, 2020
@kolyshkin kolyshkin marked this pull request as draft November 5, 2020 03:25
We had to use shfmt from git master/HEAD in commit 069fddf as at the
time there was no released/tagged version that supports bats syntax.

Now there is (https://github.com/mvdan/sh/releases/tag/v3.2.0),
so let's pin it to avoid sudden regressions caused by changes in master
branch.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin marked this pull request as ready for review November 5, 2020 05:00
@kolyshkin
Copy link
Copy Markdown
Contributor Author

@mrunalp @AkihiroSuda PTAL

Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

LGTM. I'm not a huge fan of cd ~ && GO111MODULE=on stuff, but I can't come up with a better alternative.

@kolyshkin
Copy link
Copy Markdown
Contributor Author

LGTM. I'm not a huge fan of cd ~ && GO111MODULE=on stuff, but I can't come up with a better alternative.

Me neither :( this is just a peculiarity of golang, and I hate to do something like git clone $URL && git reset $ID && go install instead

@mrunalp mrunalp merged commit 60b2a47 into opencontainers:master Nov 6, 2020
@kolyshkin kolyshkin mentioned this pull request Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants