Make convert-test-docs use the same docker image as everything else

This commit is contained in:
Micah Lee 2021-11-24 13:52:19 -08:00
parent 3dfefc3e39
commit a6770865c5
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -102,12 +102,21 @@ jobs:
machine: machine:
image: ubuntu-2004:202111-01 image: ubuntu-2004:202111-01
steps: steps:
- run: *install-dependencies-deb
- checkout
- run: - run:
name: Build image with podman name: Install dependencies as root
command: ./install/linux/build-image.sh command: |
- run: *build-deb export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
sudo apt-get update
sudo apt-get install -y git ssh podman python-all dh-python python3 python3-stdeb python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtwidgets python3-appdirs python3-click python3-xdg python3-requests python3-colorama
- checkout
- restore_cache: *restore-cache
- run: *copy-image
- run:
name: Build the .deb package and install it as root
command: |
./install/linux/build-deb.py
sudo dpkg -i deb_dist/dangerzone_*-1_all.deb
ls -lh deb_dist/dangerzone_*-1_all.deb
- run: - run:
name: Convert each test document name: Convert each test document
command: | command: |
@ -338,8 +347,10 @@ workflows:
build: build:
jobs: jobs:
- convert-test-docs
- build-container-image - build-container-image
- convert-test-docs:
requires:
- build-container-image
- build-ubuntu-impish: - build-ubuntu-impish:
requires: requires:
- build-container-image - build-container-image