-
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.
chore(FEC-13123): replace travis with github actions
- Loading branch information
Showing
9 changed files
with
87 additions
and
198 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Canary CI/CD | ||
name: Canary Full Flow | ||
run-name: Canary Full Flow | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
canary-full-flow: | ||
if: ${{ github.actor != 'PlaykitJs-Bot' }} | ||
uses: kaltura/ovp-pipelines-pub/.github/workflows/[email protected] | ||
secrets: | ||
PLAYER_CENTRAL_ACCOUNT_ID: ${{ secrets.PLAYER_CENTRAL_ACCOUNT_ID }} | ||
PLAYER_SERVICES_ACCOUNT_ID: ${{ secrets.PLAYER_SERVICES_ACCOUNT_ID }} | ||
PLAYER_S3_BUCKET_DEPLOYMENT: ${{ secrets.PLAYER_S3_BUCKET_DEPLOYMENT }} | ||
PLAYER_S3_BUCKET_APPS: ${{ secrets.PLAYER_S3_BUCKET_APPS }} | ||
PLAYER_NPM_TOKEN: ${{ secrets.PLAYER_NPM_TOKEN }} | ||
PLAYER_LAMBDA_NAME: ${{ secrets.PLAYER_LAMBDA_NAME }} | ||
PLAYER_MSTEAMS_WEBHOOK: ${{ secrets.PLAYER_MSTEAMS_WEBHOOK }} | ||
PLAYER_GITHUB_BOT_TOKEN: ${{ secrets.PLAYER_GITHUB_BOT_TOKEN }} | ||
with: | ||
type: "plugin" | ||
stage: "canary" | ||
schema-type: "playerV3Versions" | ||
tests-yarn-run-to-execute: 'eslint flow' | ||
run-on-ubuntu: "false" | ||
run-on-macos: "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Prod CI | ||
name: Prod | ||
run-name: Prod | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
prod: | ||
uses: kaltura/ovp-pipelines-pub/.github/workflows/[email protected] | ||
secrets: | ||
PLAYER_CENTRAL_ACCOUNT_ID: ${{ secrets.PLAYER_CENTRAL_ACCOUNT_ID }} | ||
PLAYER_SERVICES_ACCOUNT_ID: ${{ secrets.PLAYER_SERVICES_ACCOUNT_ID }} | ||
PLAYER_S3_BUCKET_DEPLOYMENT: ${{ secrets.PLAYER_S3_BUCKET_DEPLOYMENT }} | ||
PLAYER_S3_BUCKET_APPS: ${{ secrets.PLAYER_S3_BUCKET_APPS }} | ||
PLAYER_NPM_TOKEN: ${{ secrets.PLAYER_NPM_TOKEN }} | ||
PLAYER_LAMBDA_NAME: ${{ secrets.PLAYER_LAMBDA_NAME }} | ||
PLAYER_MSTEAMS_WEBHOOK: ${{ secrets.PLAYER_MSTEAMS_WEBHOOK }} | ||
PLAYER_GITHUB_BOT_TOKEN: ${{ secrets.PLAYER_GITHUB_BOT_TOKEN }} | ||
with: | ||
type: "plugin" | ||
env: "prod" | ||
schema-type: "playerV3Versions" | ||
tests-yarn-run-to-execute: 'eslint flow' |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## CI - Player And Plugin Tests | ||
name: Player And Plugin Tests | ||
run-name: Player And Plugin Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
running-tests: | ||
uses: kaltura/ovp-pipelines-pub/.github/workflows/[email protected] | ||
with: | ||
yarn-run-to-execute: 'eslint flow' | ||
notification: | ||
if: always() | ||
uses: kaltura/ovp-pipelines-pub/.github/workflows/[email protected] | ||
needs: running-tests | ||
secrets: | ||
PLAYER_MSTEAMS_WEBHOOK: ${{ secrets.PLAYER_MSTEAMS_WEBHOOK }} | ||
with: | ||
failure-status: ${{ contains(needs.*.result, 'failure') }} | ||
cancelled-status: ${{ contains(needs.*.result, 'cancelled') }} | ||
is-test: 'true' |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
describe('Airplay Engine', () => { | ||
it('should return true', () => { | ||
return true; | ||
}); | ||
}); |