mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
Remove release for focal since podman is not packaged in focal, and install podman separately in convert-test-docs
This commit is contained in:
parent
a6770865c5
commit
229ebbda14
1 changed files with 14 additions and 39 deletions
|
@ -107,7 +107,20 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
|
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
|
||||||
sudo apt-get update
|
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
|
sudo apt-get install -y git ssh 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
|
||||||
|
# https://www.atlantic.net/dedicated-server-hosting/how-to-install-and-use-podman-on-ubuntu-20-04/
|
||||||
|
- run:
|
||||||
|
name: Install podman on Ubuntu 20.04
|
||||||
|
command: |
|
||||||
|
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
|
||||||
|
sudo apt-get install -y curl wget gnupg2
|
||||||
|
source /etc/os-release
|
||||||
|
echo 'text' | sudo tee -a /path/to/file
|
||||||
|
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
|
||||||
|
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add -
|
||||||
|
sudo apt-get update -qq -y
|
||||||
|
sudo apt-get -qq --yes install podman
|
||||||
|
podman --version
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache: *restore-cache
|
- restore_cache: *restore-cache
|
||||||
- run: *copy-image
|
- run: *copy-image
|
||||||
|
@ -207,33 +220,6 @@ jobs:
|
||||||
PACKAGECLOUD_DISTRO: "ubuntu/groovy"
|
PACKAGECLOUD_DISTRO: "ubuntu/groovy"
|
||||||
<<: *deploy-packagecloud
|
<<: *deploy-packagecloud
|
||||||
|
|
||||||
build-ubuntu-focal:
|
|
||||||
docker:
|
|
||||||
- image: ubuntu:20.04
|
|
||||||
resource_class: medium+
|
|
||||||
steps:
|
|
||||||
- run: *install-dependencies-deb
|
|
||||||
- checkout
|
|
||||||
- restore_cache: *restore-cache
|
|
||||||
- run: *copy-image
|
|
||||||
- run: *build-deb
|
|
||||||
|
|
||||||
deploy-ubuntu-focal:
|
|
||||||
docker:
|
|
||||||
- image: ubuntu:20.04
|
|
||||||
resource_class: medium+
|
|
||||||
steps:
|
|
||||||
- run: *install-dependencies-deb
|
|
||||||
- checkout
|
|
||||||
- restore_cache: *restore-cache
|
|
||||||
- run: *copy-image
|
|
||||||
- run: *build-deb
|
|
||||||
- run:
|
|
||||||
environment:
|
|
||||||
PACKAGE_TYPE: "deb"
|
|
||||||
PACKAGECLOUD_DISTRO: "ubuntu/focal"
|
|
||||||
<<: *deploy-packagecloud
|
|
||||||
|
|
||||||
build-debian-bullseye:
|
build-debian-bullseye:
|
||||||
docker:
|
docker:
|
||||||
- image: debian:bullseye
|
- image: debian:bullseye
|
||||||
|
@ -360,9 +346,6 @@ workflows:
|
||||||
- build-ubuntu-groovy:
|
- build-ubuntu-groovy:
|
||||||
requires:
|
requires:
|
||||||
- build-container-image
|
- build-container-image
|
||||||
- build-ubuntu-focal:
|
|
||||||
requires:
|
|
||||||
- build-container-image
|
|
||||||
- build-debian-bullseye:
|
- build-debian-bullseye:
|
||||||
requires:
|
requires:
|
||||||
- build-container-image
|
- build-container-image
|
||||||
|
@ -408,14 +391,6 @@ workflows:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
- deploy-ubuntu-focal:
|
|
||||||
requires:
|
|
||||||
- build-container-image
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /^v.*/
|
|
||||||
branches:
|
|
||||||
ignore: /.*/
|
|
||||||
- deploy-debian-bullseye:
|
- deploy-debian-bullseye:
|
||||||
requires:
|
requires:
|
||||||
- build-container-image
|
- build-container-image
|
||||||
|
|
Loading…
Reference in a new issue