Skip to content

Commit

Permalink
CI: migrate v2 to lts/v2 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
RingerJK committed Sep 10, 2024
1 parent ad73c60 commit 5bce0a1
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ executors:
- image: mbgl/android-ndk-r22:latest
working_directory: ~/code
environment:
LTS_V2_BRANCH_NAME: lts/v2
MBX_CI_DOMAIN: o619qyc20d.execute-api.us-east-1.amazonaws.com
FORCE_MAPBOX_NAVIGATION_NATIVE_VERSION: << pipeline.parameters.mapbox_navigation_native_snapshot >>
ALLOW_SNAPSHOT_REPOSITORY: << pipeline.parameters.mapbox_navigation_native_upstream >>
Expand All @@ -43,35 +44,35 @@ workflows:
filters:
branches:
ignore:
- main
- /release-v.*/
- $LTS_V2_BRANCH_NAME
- /release-v2.*/
- release-snapshot:
requires:
- release-snapshot-start
- release-snapshot:
filters:
branches:
only:
- main
- /release-v.*/
- $LTS_V2_BRANCH_NAME
- /release-v2.*/
- release:
filters:
tags:
only: /v.*/
only: /v2.*/
branches:
ignore: /.*/
- release-androidauto:
filters:
tags:
only: /androidauto-v.*/
only: /androidauto-v([0-2]).*/
branches:
ignore: /.*/
- publish-documentation:
requires:
- release
filters:
tags:
only: /^v.*/
only: /^v2.*/
branches:
ignore: /.*/
daily-billing-tests:
Expand All @@ -84,7 +85,7 @@ workflows:
filters:
branches:
only:
- main
- $LTS_V2_BRANCH_NAME
default:
jobs:
- assemble
Expand All @@ -95,7 +96,7 @@ workflows:
- changelog-verification:
filters:
branches:
ignore: /^(main|release-.*)/
ignore: /^($LTS_V2_BRANCH_NAME|release-v2.*)/
- prepare-static-analysis
- verify-codestyle:
requires:
Expand Down Expand Up @@ -442,7 +443,7 @@ commands:
- run:
name: Run Navigation Core SDK Unit Tests and generate Jacoco test report
command: |
if [[ "$CIRCLE_BRANCH" == "main" ]]; then
if [[ "$CIRCLE_BRANCH" == "$LTS_V2_BRANCH_NAME" ]]; then
echo "Run all core unit tests"
make core-unit-tests-jacoco
else
Expand All @@ -469,7 +470,7 @@ commands:
- run:
name: Run Navigation UI SDK Unit Tests and generate Jacoco test report
command: |
if [[ "$CIRCLE_BRANCH" == "main" ]]; then
if [[ "$CIRCLE_BRANCH" == "$LTS_V2_BRANCH_NAME" ]]; then
echo "Run all ui unit tests"
make ui-unit-tests-jacoco
else
Expand Down

0 comments on commit 5bce0a1

Please sign in to comment.