Replace all containers, remove xfvb from drone
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2023-02-06 16:24:22 -08:00
parent bf08a397b6
commit ebf4364e64
1 changed files with 5 additions and 8 deletions

View File

@ -8,7 +8,7 @@ clone:
steps: steps:
- name: clone - name: clone
image: cirrusci/flutter:3.7.1 image: openpriv/flutter-desktop:linux-fstable-3.7.1
environment: environment:
buildbot_key_b64: buildbot_key_b64:
from_secret: buildbot_key_b64 from_secret: buildbot_key_b64
@ -24,7 +24,7 @@ steps:
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT
- name: fetch - name: fetch
image: cirrusci/flutter:3.7.1 image: openpriv/flutter-desktop:linux-fstable-3.7.1
volumes: volumes:
- name: deps - name: deps
path: /root/.pub-cache path: /root/.pub-cache
@ -66,14 +66,11 @@ steps:
- name: deps - name: deps
path: /root/.pub-cache path: /root/.pub-cache
commands: commands:
- # todo: add xvfb to openpriv/flutter-desktop:linux-fstable-3.7
- sudo apt update
- sudo apt-get install -y xvfb
- ./fetch-tor.sh - ./fetch-tor.sh
- ./run-tests-headless.sh 01_general - ./run-tests-headless.sh 01_general
- name: test-build-android - name: test-build-android
image: cirrusci/flutter:3.7.1 image: openpriv/flutter-desktop:linux-fstable-3.7.1
when: when:
event: pull_request event: pull_request
volumes: volumes:
@ -83,7 +80,7 @@ steps:
- flutter build apk --debug - flutter build apk --debug
- name: build-android - name: build-android
image: cirrusci/flutter:3.7.1 image: openpriv/flutter-desktop:linux-fstable-3.7.1
when: when:
event: push event: push
environment: environment:
@ -107,7 +104,7 @@ steps:
#- cp build/app/outputs/flutter-apk/app-debug.apk deploy/android #- cp build/app/outputs/flutter-apk/app-debug.apk deploy/android
- name: widget-tests - name: widget-tests
image: cirrusci/flutter:3.7.1 image: openpriv/flutter-desktop:linux-fstable-3.7.1
volumes: volumes:
- name: deps - name: deps
path: /root/.pub-cache path: /root/.pub-cache