Skip to content

Commit 47c47bf

Browse files
wip: implement dynamic CircleCI config with path-filtering
- Updated root .circleci/config.yml to include path-filtering orb - Added continuation steps for dynamically processing package-specific configs - Marked package-specific config.yml files as version 2.1 for compatibility - Adjusted workflows to trigger on changes to specific package paths - Testing and validation of dynamic CI configuration in progress
1 parent a698d3a commit 47c47bf

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

.circleci/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2.1
2+
3+
orbs:
4+
path-filtering: circleci/[email protected]
5+
6+
workflows:
7+
setup:
8+
jobs:
9+
- path-filtering/filter:
10+
name: filter_instabug_flutter
11+
config-path: packages/instabug_flutter/.circleci/config.yml
12+
13+
- path-filtering/filter:
14+
name: filter_instabug_dio_interceptor
15+
config-path: packages/instabug_dio_interceptor/.circleci/config.yml
16+
17+
- path-filtering/filter:
18+
name: filter_instabug_dart_http_adapter
19+
config-path: packages/instabug_dart_http_adapter/.circleci/config.yml

packages/Instabug_Dart_http_Adapter/.circleci/config.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2
1+
version: 2.1
22
jobs:
33
test:
44
docker:
@@ -17,10 +17,9 @@ jobs:
1717
steps:
1818
- checkout
1919
- run: chmod +x release.sh
20-
- run: ./release.sh
20+
- run: ./release.sh
2121

2222
workflows:
23-
version: 2
2423
build-test:
2524
jobs:
2625
- test
@@ -36,4 +35,4 @@ workflows:
3635
- hold
3736
filters:
3837
branches:
39-
only: master
38+
only: master

packages/instabug_dio_interceptor/.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2
1+
version: 2.1
22
jobs:
33
test:
44
docker:
@@ -11,7 +11,7 @@ jobs:
1111
- run: flutter test
1212
- run: flutter analyze .
1313
- run: flutter pub publish --dry-run
14-
14+
1515
release:
1616
docker:
1717
- image: cirrusci/flutter
@@ -20,7 +20,6 @@ jobs:
2020
- run: ./release.sh
2121

2222
workflows:
23-
version: 2
2423
build-test:
2524
jobs:
2625
- test

packages/instabug_flutter/.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ jobs:
277277
command: Escape flutter publish
278278

279279
workflows:
280-
version: 2
281280
build-test-and-approval-deploy:
282281
jobs:
283282
- danger:

0 commit comments

Comments
 (0)