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

Migrate CI to Github Actions #1166

Merged
merged 16 commits into from
Jul 27, 2021
Merged

Conversation

tobias-urdin
Copy link
Contributor

Same as #1159 but for stable/4.4 branch.

tobias-urdin and others added 16 commits July 15, 2021 19:21
This removes the functional testing that was
used in Travis CI.

This still leaves the deploy pipeline and fixes
the before_deploy script so that python3 is installed
so the pypi upload works.

It adds the "os" key to the Travis CI config which was
a warning. The "user" key in the deploy pipeline is deprecated
and should be "username".

(cherry picked from commit fb6d712)
(cherry picked from commit 0747233)
If we want to be able to bump s3rver to a newer
version we must use the default credentials since
that "S3" user can use signing.

(cherry picked from commit c41922e)
This action takes the Dockerfile from ci-tools
and updates it to run on Ubuntu 20.04

The action creates the container on each run but
after we have migrated away DockerHub to this Dockerfile
and archived ci-tools repo we can use the "container"
directive on workflows to pull the image from there
instead of building it on each run.

(cherry picked from commit 38e1594)
Adds the configuration the Gnocchi workflow which moves
the docs, pep8 and functional testing jobs to GitHub Actions.

(cherry picked from commit 1b167c5)
This adds Python 3.8 and Ubuntu Focal support and
pins pifpaf until [1] is merged and released.

Fixes some warnings on whitelist_externals that
wasn't correct.

[1] jd/pifpaf#150

(cherry picked from commit 2d73949)
This sets the s3rver username and password for the
S3 functional testing jobs, required since we have
bumped s3rver version.

(cherry picked from commit 520922b)
This updates the Mergify config so that it checks
the GitHub Actions. We also remove the backport
labels for the branches that we recently renamed
as EOL.

(cherry picked from commit e47b926)
old stable branches was renamed to eol-<version>
so that needs to be updated.

(cherry picked from commit 42db1d3)
Only run the actions on PR and not
on push because that runs the actions
when a PR is merged.

(cherry picked from commit 4bff7e8)
Don't hardcode the master branch since it will
checkout workflows on the same ref/commit we
dont need to set it here.

This makes it easier to backport since we don't
have to replace any branches.

(cherry picked from commit 92a9b5e)
Use the Ceph CLI instead of Rados command
in the fixtures.

Also make sure we delete pools when we cleanup
after gabbi runs in stop_fixtures() that was
missing.

(cherry picked from commit 8953477)
@tobias-urdin tobias-urdin requested review from jd and chungg and removed request for jd July 15, 2021 18:09
@tobias-urdin tobias-urdin merged commit 9a57712 into gnocchixyz:stable/4.4 Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants