Skip to content

WIP: Add and refactor Debianization #1

WIP: Add and refactor Debianization

WIP: Add and refactor Debianization #1

Workflow file for this run

name: CI
on: [push, pull_request]
defaults:
run:
shell: bash
jobs:
verify-builder-sync:
runs-on: ubuntu-latest
container: debian:bullseye
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: "freedomofpress/securedrop-builder"
path: "securedrop-builder"
lfs: true
- name: Install dependencies
run: |
cd securedrop-builder
apt-get update && apt-get install -y sudo make
make install-deps
source .venv/bin/activate
- name: Check differences
run: |
PKG_DIR=../client make -C securedrop-builder requirements
PKG_DIR=../export make -C securedrop-builder requirements
PKG_DIR=../log make -C securedrop-builder requirements
PKG_DIR=../proxy make -C securedrop-builder requirements
git diff --ignore-matching-lines=# --exit-code
build-debs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: "freedomofpress/securedrop-builder"
path: "securedrop-builder"
lfs: true
- name: Build bullseye packages
run: |
DEBIAN_VERSION=bullseye BUILDER=securedrop-builder ./scripts/build-debs.sh
mv build build-bullseye
- name: Build bookworm packages
run: |
DEBIAN_VERSION=bookworm BUILDER=securedrop-builder ./scripts/build-debs.sh
mv build build-bookworm
- uses: actions/upload-artifact@v4
with:
name: build-bullseye
path: build-bullseye
if-no-files-found: error
- uses: actions/upload-artifact@v4
with:
name: build-bookworm
path: build-bookworm
if-no-files-found: error