forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tailor the GitHubCI workflow to match our needs. Tweak some jobs: - checks (linter and type-checking) - Advisory only! Don't block the build/test/deploy process just because the linter is OCD on code layout. They can even run in parallel to the build. - build - Always run Reset Meteor task. Not sure though what difference it makes. - test-* - Disabled most of them, since they assume usage of Docker images. - Advisory only! Don't block the deploy for them. We can even deploy (copy to S3) while the tests are still running. - Strangely, they test on 4.4 and 6.0, but not 5.0 (which we run). I was going to change it to 5.0, but decided to minimize my changes, especially since I don't know what side-effects changing it might have. - deploy - Always run, not just releases and the `develop` branch - Save a `-latest` build, in addition to the versionized one - Skip the code signing/registration steps - Upload to *our* S3 bucket, not upstream’s - This is the bulk of the edits! Disable jobs we aren't interested in: - notify-draft-services - build-prod - Q: How is this different from `build`? A: 1. This waits for tests-done. `build` does not. 2. `build` has `coverage:true`, although that only kicks in for PRs. Nonetheless, I changed build.coverage to false. - build-gh-docker-coverage - build-gh-docker - test-api - test-ui - test-api-ee - test-ui-ee - test-ui-ee-no-watcher - build-docker-preview - docker-image-publish - services-docker-image-publish - notify-services - trigger-dependent-workflows Delete the other workflow files: - We don't need them - Keep only ci.yml and its extracted ci-*.yml files
- Loading branch information
Showing
11 changed files
with
28 additions
and
264 deletions.
There are no files selected for viewing
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 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 |
---|---|---|
|
@@ -16,6 +16,7 @@ env: | |
|
||
jobs: | ||
test: | ||
continue-on-error: true | ||
runs-on: ubuntu-20.04 | ||
|
||
name: Unit Tests | ||
|
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.