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

Migrated docs scripts to GitHub actions #5345

Merged
merged 25 commits into from
Aug 20, 2024

Conversation

Bullrich
Copy link
Contributor

@Bullrich Bullrich commented Aug 13, 2024

Migrated the following scripts to GHA

  • test-doc
  • test-rustdoc
  • build-rustdoc
  • build-implementers-guide
  • publish-rustdoc (only runs when master is modified)

Resolves paritytech/ci_cd#1016


Some questions I have:

  • Should I remove the equivalent scripts from the gitlab-ci files?

@Bullrich Bullrich added the R0-silent Changes should not be mentioned in any release notes label Aug 13, 2024
@Bullrich Bullrich self-assigned this Aug 13, 2024
@Bullrich Bullrich force-pushed the ci/gha-migration/docs branch 2 times, most recently from a65a89c to 597a659 Compare August 13, 2024 16:27
Copy link
Contributor

@alvicsam alvicsam left a comment

Choose a reason for hiding this comment

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

Nice work! A few changes needed to save consistency across workflows and to use forklift. Also I'd like to explain why I altered needs: in some jobs. test-doc is the longest one so it should run right after set-image. While it runs two other jobs (build-rustdoc and test-rustdoc) can run sequentially.

.github/workflows/docs.yml Outdated Show resolved Hide resolved
.github/workflows/docs.yml Outdated Show resolved Hide resolved
.github/workflows/docs.yml Show resolved Hide resolved
.github/workflows/docs.yml Outdated Show resolved Hide resolved
.github/workflows/docs.yml Outdated Show resolved Hide resolved
.github/workflows/docs.yml Outdated Show resolved Hide resolved
.github/workflows/docs.yml Outdated Show resolved Hide resolved
.github/workflows/docs.yml Outdated Show resolved Hide resolved
.github/workflows/docs.yml Outdated Show resolved Hide resolved
@Bullrich Bullrich added the GHA-migration Temporary label for migrating CI to GHA label Aug 14, 2024
@Bullrich Bullrich marked this pull request as ready for review August 14, 2024 09:17
@Bullrich Bullrich requested review from a team as code owners August 14, 2024 09:17
@Bullrich Bullrich force-pushed the ci/gha-migration/docs branch from 0fcd717 to 4823e58 Compare August 14, 2024 09:17
@Bullrich
Copy link
Contributor Author

Thank you for your thorough review @alvicsam. I have applied or your suggestion and set the environment to push.

@Bullrich Bullrich requested a review from alvicsam August 14, 2024 09:18
@paritytech-review-bot paritytech-review-bot bot requested a review from a team August 14, 2024 09:53
@Bullrich Bullrich force-pushed the ci/gha-migration/docs branch 2 times, most recently from ef8733d to 61f905b Compare August 15, 2024 09:04
@Bullrich Bullrich removed the GHA-migration Temporary label for migrating CI to GHA label Aug 16, 2024
@Bullrich Bullrich force-pushed the ci/gha-migration/docs branch 2 times, most recently from c2fe3f0 to f6fdd4d Compare August 19, 2024 08:58
Bullrich and others added 18 commits August 20, 2024 15:47
It could be too troublesome
The ref name changes based on being running on `push` or `pull_request` event
Applied fixes by @alvicsam

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
Not only when the PR is labeled
this way if a new commit is pushed the old action will be stopped. It will only happen in PRs and not in the master branch
@Bullrich Bullrich force-pushed the ci/gha-migration/docs branch from f6fdd4d to 389debf Compare August 20, 2024 14:47
@Bullrich Bullrich enabled auto-merge August 20, 2024 14:47
@Bullrich Bullrich added this pull request to the merge queue Aug 20, 2024
Merged via the queue into paritytech:master with commit 717bbb2 Aug 20, 2024
181 of 184 checks passed
@Bullrich Bullrich deleted the ci/gha-migration/docs branch August 20, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants