Skip to content

Commit

Permalink
Adjust CircleCI and Github Actions to account for new branch names v4…
Browse files Browse the repository at this point in the history
…_development and v4_main (#4413)
  • Loading branch information
dsilhavy committed Mar 11, 2024
1 parent 1249205 commit e5c66cd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Expand Up @@ -111,11 +111,11 @@ jobs:
steps:
- checkout
- run:
name: Merge into development virtually
name: Merge into v4_development virtually
command: |
git config --global user.email "circleci@example.com"
git config --global user.name "CircleCI"
git checkout development
git checkout v4_development
git merge --no-edit --no-ff $CIRCLE_BRANCH
- dependencies_setup
- build_unit_test_steps
Expand All @@ -126,14 +126,14 @@ jobs:
- functional_precondition
- checkout
- run:
name: Virtual merge into development branch
name: Virtual merge into v4_development branch
command: |
if [ "${CIRCLE_BRANCH}" = "development" ]; then
echo "On development branch already, no merge needed"
if [ "${CIRCLE_BRANCH}" = "v4_development" ]; then
echo "On v4_development branch already, no merge needed"
else
git config --global user.email "circleci@example.com"
git config --global user.name "CircleCI"
git checkout development
git checkout v4_development
git merge --no-edit --no-ff $CIRCLE_BRANCH
fi
- dependencies_setup
Expand All @@ -148,7 +148,7 @@ jobs:
command:
node test/functional/runTests.js --selenium=remote --reporters=junit --debug=true --app=remote --browsers=chrome --protocol=https --source=./test/functional/config/smokeVectors.json
- process_test_results

functional-tests-VOD_LIVE:
executor: dashjs-executor
steps:
Expand Down Expand Up @@ -202,7 +202,7 @@ workflows:
filters:
branches:
ignore:
- development # skiping redundant job if already on development
- v4_development # skiping redundant job if already on development
- functional-tests-smoke:
filters:
branches:
Expand All @@ -216,7 +216,7 @@ workflows:
filters:
branches:
only:
- development
- v4_development
jobs:
- functional-tests-VOD_LIVE
- functional-tests-DRM
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_latest.yml
@@ -1,16 +1,16 @@
name: deploy
name: deploy_v4_latest

on:
push:
branches:
- 'master'
- 'v4_main'

jobs:
deploy_staging:
if: github.repository == 'Dash-Industry-Forum/dash.js'
uses: ./.github/workflows/deploy.yml
with:
envname: latest
envname: v4_latest
deploy_path: '/377335/dash.js'
secrets:
host: ${{secrets.HOST}}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_nightly.yml
@@ -1,16 +1,16 @@
name: deploy
name: deploy_v4_nightly

on:
push:
branches:
- 'development'
- 'v4_development'

jobs:
deploy_staging:
if: github.repository == 'Dash-Industry-Forum/dash.js'
uses: ./.github/workflows/deploy.yml
with:
envname: nightly
envname: v4_nightly
deploy_path: '/377335/dash.js'
secrets:
host: ${{secrets.HOST}}
Expand Down

0 comments on commit e5c66cd

Please sign in to comment.