Skip to content

Conversation

@chrispat
Copy link
Collaborator

Starting conversion from TravisCI to GitHub Actions for CI

Signed-off-by: Chris Patterson chrispat@github.com

@crazy-max
Copy link
Contributor

Hi @chrispat, any suggestion about #3315?

@milosgajdos
Copy link
Member

It would be great to get #3225 reviewed and merged in first before we merge this.

@crazy-max
Copy link
Contributor

crazy-max commented Jan 29, 2021

@milosgajdos Yes I've discussed with @justincormack and @thaJeztah about that and I agree we can first of all put the current CI back in order similar to what was done with travis (make, etc...) and later show the enhancements provided by buildx/bake to be platform agnostic and make a proposal around that with #3315.

@thaJeztah
Copy link
Member

It would be great to get #3225 reviewed and merged in first before we merge this.

@milosgajdos currently we have no CI running (travis no longer runs after the repository was moved), so probably better to have this one in first.

I agree we can first of all put the current CI back

Yes, let's get CI at least running again; improvements can be made after that (thanks for #3315 though! ❤️)

@thaJeztah
Copy link
Member

thaJeztah commented Jan 29, 2021

Looks like probot is already running, and it's working, because it found that the last commit misses a DCO sign off 😅 https://github.com/distribution/distribution/pull/3338/checks?check_run_id=1793278086

@thaJeztah
Copy link
Member

So we could probably skip the DCO check in the other action (perhaps you can squash the commits as well 🤗)

@codecov-io
Copy link

codecov-io commented Jan 29, 2021

Codecov Report

Merging #3338 (64874d1) into main (a91f895) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3338   +/-   ##
=======================================
  Coverage   56.12%   56.12%           
=======================================
  Files         105      105           
  Lines        7431     7431           
=======================================
  Hits         4171     4171           
  Misses       2615     2615           
  Partials      645      645           
Flag Coverage Δ
linux ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
context/trace.go
notifications/listener.go
registry/storage/vacuum.go
registry/handlers/catalog.go
registry/handlers/app.go
registry/storage/driver/storagedriver.go
uuid/uuid.go
registry/registry.go
notifications/sinks.go
registry/handlers/hooks.go
... and 200 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a91f895...64874d1. Read the comment docs.

@chrispat
Copy link
Collaborator Author

The script seems to check for other things as well so I think it is worth keeping every thing seems to be fixed now.

- uses: actions/checkout@v2
with:
path: src/github.com/docker/distribution
fetch-depth: 50
Copy link
Contributor

Choose a reason for hiding this comment

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

@chrispat I think this line is the issue causing DCO script to fail

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not it was because git-validation has special handling for Travis https://github.com/vbatts/git-validation/blob/60cb8713913d4fa6c2ca20844a89376c37bd3d35/main.go#L69. I fixed it by passing in the commit range explicitly.

Signed-off-by: Chris Patterson <chrispat@github.com>
@chrispat
Copy link
Collaborator Author

Ok I think we have an equivalent CI running on Actions to what was in Travis. Someone drop a 👍 if you think we are good to merge.

@chrispat chrispat requested a review from milosgajdos January 29, 2021 19:52
@chrispat chrispat merged commit be36703 into distribution:main Jan 29, 2021
@chrispat chrispat deleted the actions-ci branch January 29, 2021 20:07
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.

5 participants