Skip to content

Commit 8836d9b

Browse files
authored
chore: Revert unpub (#919)
* Add unpub iOS checks * Fix port * Add logs * Run server in background * Make script foreground * Add wait before pub get * Remove sleep * Update URL * Remove from CI * Remove unpub stuff
1 parent 7cde842 commit 8836d9b

File tree

2 files changed

+0
-120
lines changed

2 files changed

+0
-120
lines changed

.circleci/config.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ commands:
4747
command: |
4848
flutter pub global activate tuneup
4949
50-
setup_unpub:
51-
steps:
52-
- run:
53-
name: Set up local Unpub server
54-
command: ./tool/setup_local_unpub.sh
55-
5650
jobs:
5751
format_flutter:
5852
executor: docker-executor
@@ -166,39 +160,6 @@ jobs:
166160
- store_artifacts:
167161
path: ~/test-results/junit
168162

169-
release_verification_android:
170-
docker:
171-
- image: circleci/android:api-28
172-
- image: mongo
173-
command: mongod
174-
- image: dnys1/unpub:latest
175-
entrypoint: sh -c "sleep 5 && unpub --port=8000 --database=mongodb://localhost:27017/dart_pub [email protected]"
176-
working_directory: ~/amplify-flutter
177-
environment:
178-
_JAVA_OPTIONS: -XX:MaxRAMPercentage=80.0
179-
GRADLE_OPTS: -Xmx1536m -Xms768m -Dkotlin.compiler.execution.strategy=in-process -Dorg.gradle.daemon=false
180-
steps:
181-
- install_flutter
182-
- checkout
183-
- setup_unpub
184-
- run:
185-
name: Install and set up melos
186-
command: |
187-
flutter pub global activate melos
188-
melos exec -c 1 -- flutter pub get
189-
melos run copy_dummy_config
190-
- run:
191-
name: Build debug APKs
192-
command: melos run build:examples:android
193-
no_output_timeout: 10m
194-
- run:
195-
name: Clean artifacts
196-
command: melos exec -c 1 -- flutter clean
197-
- run:
198-
name: Build release APKs
199-
command: melos run build:examples:release:android
200-
no_output_timeout: 10m
201-
202163
releasable_branches: &releasable_branches
203164
branches:
204165
only:
@@ -213,4 +174,3 @@ workflows:
213174
- unit_test_flutter
214175
- unit_test_android
215176
- unit_test_ios
216-
- release_verification_android

tool/setup_local_unpub.sh

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)