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

ci(tests): Make a reusable workflow for the building phase #18553

Conversation

gustavotrott
Copy link
Collaborator

It will reduce duplication of code!

A new file automated-tests-build-package-job.yml was added, which is called by each building job of automated-tests.yml.
This new workflow will:

  • Checkout master branch
  • Merge pr branch into master branch
  • Set the cache key
  • Try to use cache
  • Generate artifacts (if cache was not found)
  • Upload artifacts (to be used by the install phase)

Inspiration: https://dev.to/n3wt0n/avoid-duplication-github-actions-reusable-workflows-3ae8
Suggested by @antobinary

@gustavotrott
Copy link
Collaborator Author

The Action will fail because the file automated-tests-build-package-job.yml was not merged yet!

@sonarcloud
Copy link

sonarcloud bot commented Aug 15, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@gustavotrott gustavotrott merged commit 933b821 into bigbluebutton:v2.7.x-release Aug 15, 2023
4 checks passed
@gustavotrott gustavotrott deleted the tests-ci-build-job-reusable branch March 11, 2024 16:43
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.

None yet

1 participant