Skip to content

Use actions v2 on nightly ci#4191

Closed
inductor wants to merge 3 commits intocontainerd:masterfrom
inductor:actions/checkout_v2
Closed

Use actions v2 on nightly ci#4191
inductor wants to merge 3 commits intocontainerd:masterfrom
inductor:actions/checkout_v2

Conversation

@inductor
Copy link
Copy Markdown

The main CI uses checkout@v2 so I made nightly follows it!

Comment thread .github/workflows/nightly.yml Outdated
@inductor inductor force-pushed the actions/checkout_v2 branch from 364cb54 to c779c6e Compare April 16, 2020 03:44
@mxpv
Copy link
Copy Markdown
Member

mxpv commented Apr 16, 2020

Could you please sign off your commits (try git commit -s) in order to pass CI checks?
https://github.com/containerd/project/blob/master/CONTRIBUTING.md#sign-your-work

@inductor inductor force-pushed the actions/checkout_v2 branch from c779c6e to 04270f8 Compare April 16, 2020 05:15
@inductor
Copy link
Copy Markdown
Author

@mxpv Done. Thanks 🙏

@mxpv
Copy link
Copy Markdown
Member

mxpv commented Apr 16, 2020

Changing actions/checkout to v2 will change your current working directory, so all subsequent steps will fail. Could you please verify that this script works in your fork first?

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.

Please sign the commit with your real name

@AkihiroSuda
Copy link
Copy Markdown
Member

ping @inductor

@thaJeztah
Copy link
Copy Markdown
Member

ping @inductor could you fix your sign-off?

@inductor inductor force-pushed the actions/checkout_v2 branch 2 times, most recently from e6640d8 to fed0626 Compare May 15, 2020 00:57
@fuweid
Copy link
Copy Markdown
Member

fuweid commented May 15, 2020

Signed-off-by: inductor <[email protected]>

Sorry, could you sign your real name? Thanks!

@inductor inductor force-pushed the actions/checkout_v2 branch from fed0626 to c273142 Compare May 15, 2020 03:08
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, thanks

@estesp
Copy link
Copy Markdown
Member

estesp commented May 15, 2020

I think the only review comment missed here is that @mxpv noted the issue with checkout v2 and working directory; any following step that needs/expects the "checkout dir" to be the working/PWD you have to set it explicitly, like here: https://github.com/containerd/containerd/blob/master/.github/workflows/ci.yml#L174

Hard to tell if that is going to break anything as I don't see any runs in your fork with this change that show if it is working or not. But, I think for example the make binaries command in the build actions may fail as the current working dir may not be set to the checkout location.

@mxpv
Copy link
Copy Markdown
Member

mxpv commented May 15, 2020

Please rebase this from master, that will run nightly job here so we can make sure everything is ok.

@containerd containerd deleted a comment from theopenlab-ci Bot May 15, 2020
@containerd containerd deleted a comment from theopenlab-ci Bot May 15, 2020
@containerd containerd deleted a comment from theopenlab-ci Bot May 15, 2020
@containerd containerd deleted a comment from codecov-io May 15, 2020
@containerd containerd deleted a comment from theopenlab-ci Bot May 15, 2020
@inductor inductor force-pushed the actions/checkout_v2 branch from c273142 to 3f7bf3c Compare May 16, 2020 13:01
@inductor
Copy link
Copy Markdown
Author

@mxpv I just rebased!

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 16, 2020

Build succeeded.

@mxpv
Copy link
Copy Markdown
Member

mxpv commented May 16, 2020

@inductor So nightly builds are failing with make: *** No rule to make target 'binaries'. Stop. 11. I think you need to set a correct path for every build step.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 17, 2020

Build succeeded.

@inductor inductor force-pushed the actions/checkout_v2 branch from 64b0ea4 to 67193f4 Compare May 17, 2020 00:26
Signed-off-by: Kohei Ota <[email protected]>
@inductor inductor force-pushed the actions/checkout_v2 branch from 67193f4 to 9ef08e3 Compare May 17, 2020 00:27
@inductor
Copy link
Copy Markdown
Author

Based on the error it also requires to install go dependencies. Am I doing this right? 🤔
I wonder how previous way worked.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 17, 2020

Build succeeded.

@mxpv
Copy link
Copy Markdown
Member

mxpv commented May 17, 2020

I guess GOPATH needs to be fixed as well.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 17, 2020

Build succeeded.

Signed-off-by: Kohei Ota <[email protected]>
@inductor inductor force-pushed the actions/checkout_v2 branch from 96e9abb to 0760985 Compare May 17, 2020 02:45
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 17, 2020

Build succeeded.

@AkihiroSuda
Copy link
Copy Markdown
Member

@inductor Are you still interested in this?

@mxpv mxpv mentioned this pull request Oct 8, 2020
@AkihiroSuda
Copy link
Copy Markdown
Member

Closing in favor of #4612

@AkihiroSuda AkihiroSuda closed this Oct 8, 2020
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.

6 participants