From e5c66cd3a4acadb9aee6c33d554a1a9e914dad83 Mon Sep 17 00:00:00 2001 From: Daniel Silhavy Date: Mon, 11 Mar 2024 15:19:11 +0100 Subject: [PATCH] Adjust CircleCI and Github Actions to account for new branch names v4_development and v4_main (#4413) --- .circleci/config.yml | 18 +++++++++--------- .github/workflows/deploy_latest.yml | 6 +++--- .github/workflows/deploy_nightly.yml | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2f2cb2e0d3..148bef9b95 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 @@ -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: @@ -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: @@ -216,7 +216,7 @@ workflows: filters: branches: only: - - development + - v4_development jobs: - functional-tests-VOD_LIVE - functional-tests-DRM diff --git a/.github/workflows/deploy_latest.yml b/.github/workflows/deploy_latest.yml index 798a814d08..55b8445b2a 100644 --- a/.github/workflows/deploy_latest.yml +++ b/.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}} diff --git a/.github/workflows/deploy_nightly.yml b/.github/workflows/deploy_nightly.yml index 25035a7c92..08300422c6 100644 --- a/.github/workflows/deploy_nightly.yml +++ b/.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}}