-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #615 from hmlanigan/parallel
#615 After moving to self-hosted runners on PS6, the GitHub actions could take 1-2+ hours. Caused in part by how the runners were configured and how the GitHub actions were constructed. The PS6 self-hosted runners are optimized for larger jobs. Turn around time on recreating a runner could be 15-30 minutes. Steps taken in the optimization: - Move very quick jobs back to using GitHub runners. e.g. static analysis and clarity - Tests requiring the build job, are moved to the same workflow to reduce the number of times we run the build job - Remove the unit test job, this is being done by github-check-merge-juju-terraform-provider-juju - Add a parallelization of 10 to the tests The matrix for running the integration tests has also been reduced in size by 2/3rds. Old versions of the terraform client will no longer be tested, only the most recent. We have never seen a difference in test results caused by different client versions. Only the x64 runners will be used until the acceptance tests can be updated with new tests which run on both architectures.
- Loading branch information
Showing
9 changed files
with
190 additions
and
306 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,15 @@ on: [pull_request, workflow_dispatch] | |
permissions: | ||
contents: read | ||
|
||
# This task runs solo has it doesn't need to be run as often. | ||
jobs: | ||
cla-check: | ||
permissions: | ||
pull-requests: write # for canonical/has-signed-canonical-cla to create & update comments | ||
runs-on: [self-hosted, jammy] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if CLA signed | ||
uses: canonical/[email protected] | ||
with: | ||
accept-existing-contributors: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.