Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NAVAND-2746] CI: migrate v2 to lts/v2 branch #7866

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading