mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-11 00:00:12 +03:00
Deb: switch baseline containers to use debian stable
This commit is contained in:
parent
fc23a63404
commit
e531e27616
8
.github/workflows/deb-buildd.yml
vendored
8
.github/workflows/deb-buildd.yml
vendored
@ -29,6 +29,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
runs-on: ${{ inputs.runs-on }}
|
runs-on: ${{ inputs.runs-on }}
|
||||||
|
env:
|
||||||
|
CONTAINER_DISTRO: trixie
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
@ -79,7 +81,7 @@ jobs:
|
|||||||
shell: sudo eatmydata sh "{0}"
|
shell: sudo eatmydata sh "{0}"
|
||||||
run: |
|
run: |
|
||||||
set -xe
|
set -xe
|
||||||
export IMAGE=debian:unstable-slim
|
export IMAGE=debian:${{ env.CONTAINER_DISTRO }}-slim
|
||||||
podman pull ${IMAGE}
|
podman pull ${IMAGE}
|
||||||
podman run \
|
podman run \
|
||||||
--name container \
|
--name container \
|
||||||
@ -120,7 +122,9 @@ jobs:
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
rm -rf /etc/apt/sources.list*
|
rm -rf /etc/apt/sources.list*
|
||||||
tee /etc/apt/sources.list > /dev/null <<EOT
|
tee /etc/apt/sources.list > /dev/null <<EOT
|
||||||
deb http://deb.debian.org/debian unstable main
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }} main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-updates main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-backports main
|
||||||
EOT
|
EOT
|
||||||
apt update
|
apt update
|
||||||
apt install eatmydata
|
apt install eatmydata
|
||||||
|
|||||||
7
.github/workflows/deb-publish.yml
vendored
7
.github/workflows/deb-publish.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
|||||||
concurrency: apt.bcachefs.org
|
concurrency: apt.bcachefs.org
|
||||||
runs-on: ${{ inputs.runs-on }}
|
runs-on: ${{ inputs.runs-on }}
|
||||||
env:
|
env:
|
||||||
|
CONTAINER_DISTRO: trixie
|
||||||
SUITE: ${{ (github.event_name == 'push' && github.ref_type == 'tag') && 'release' || 'snapshot' }}
|
SUITE: ${{ (github.event_name == 'push' && github.ref_type == 'tag') && 'release' || 'snapshot' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Configure baseline system
|
- name: Configure baseline system
|
||||||
@ -61,7 +62,7 @@ jobs:
|
|||||||
shell: sudo eatmydata sh "{0}"
|
shell: sudo eatmydata sh "{0}"
|
||||||
run: |
|
run: |
|
||||||
set -xe
|
set -xe
|
||||||
export IMAGE=debian:unstable-slim
|
export IMAGE=debian:${{ env.CONTAINER_DISTRO }}-slim
|
||||||
podman pull ${IMAGE}
|
podman pull ${IMAGE}
|
||||||
podman run \
|
podman run \
|
||||||
--name container \
|
--name container \
|
||||||
@ -102,7 +103,9 @@ jobs:
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
rm -rf /etc/apt/sources.list*
|
rm -rf /etc/apt/sources.list*
|
||||||
tee /etc/apt/sources.list > /dev/null <<EOT
|
tee /etc/apt/sources.list > /dev/null <<EOT
|
||||||
deb http://deb.debian.org/debian unstable main
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }} main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-updates main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-backports main
|
||||||
EOT
|
EOT
|
||||||
apt update
|
apt update
|
||||||
apt install eatmydata
|
apt install eatmydata
|
||||||
|
|||||||
8
.github/workflows/deb-reprotest.yml
vendored
8
.github/workflows/deb-reprotest.yml
vendored
@ -23,6 +23,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
runs-on: ${{ inputs.runs-on }}
|
runs-on: ${{ inputs.runs-on }}
|
||||||
|
env:
|
||||||
|
CONTAINER_DISTRO: trixie
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
@ -67,7 +69,7 @@ jobs:
|
|||||||
shell: sudo eatmydata sh "{0}"
|
shell: sudo eatmydata sh "{0}"
|
||||||
run: |
|
run: |
|
||||||
set -xe
|
set -xe
|
||||||
export IMAGE=debian:unstable-slim
|
export IMAGE=debian:${{ env.CONTAINER_DISTRO }}-slim
|
||||||
podman pull ${IMAGE}
|
podman pull ${IMAGE}
|
||||||
podman run \
|
podman run \
|
||||||
--name container \
|
--name container \
|
||||||
@ -109,7 +111,9 @@ jobs:
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
rm -rf /etc/apt/sources.list*
|
rm -rf /etc/apt/sources.list*
|
||||||
tee /etc/apt/sources.list > /dev/null <<EOT
|
tee /etc/apt/sources.list > /dev/null <<EOT
|
||||||
deb http://deb.debian.org/debian unstable main
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }} main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-updates main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-backports main
|
||||||
EOT
|
EOT
|
||||||
apt update
|
apt update
|
||||||
apt install eatmydata
|
apt install eatmydata
|
||||||
|
|||||||
7
.github/workflows/deb-src.yml
vendored
7
.github/workflows/deb-src.yml
vendored
@ -15,6 +15,7 @@ jobs:
|
|||||||
linux:
|
linux:
|
||||||
runs-on: ${{ inputs.runs-on }}
|
runs-on: ${{ inputs.runs-on }}
|
||||||
env:
|
env:
|
||||||
|
CONTAINER_DISTRO: trixie
|
||||||
RUST_VERSION: 1.89.0
|
RUST_VERSION: 1.89.0
|
||||||
DEBFULLNAME: apt.bcachefs.org CI bot
|
DEBFULLNAME: apt.bcachefs.org CI bot
|
||||||
DEBEMAIL: linux-bcachefs@vger.kernel.org
|
DEBEMAIL: linux-bcachefs@vger.kernel.org
|
||||||
@ -59,7 +60,7 @@ jobs:
|
|||||||
shell: sudo eatmydata sh "{0}"
|
shell: sudo eatmydata sh "{0}"
|
||||||
run: |
|
run: |
|
||||||
set -xe
|
set -xe
|
||||||
export IMAGE=debian:unstable-slim
|
export IMAGE=debian:${{ env.CONTAINER_DISTRO }}-slim
|
||||||
podman pull ${IMAGE}
|
podman pull ${IMAGE}
|
||||||
podman run \
|
podman run \
|
||||||
--name container \
|
--name container \
|
||||||
@ -99,7 +100,9 @@ jobs:
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
rm -rf /etc/apt/sources.list*
|
rm -rf /etc/apt/sources.list*
|
||||||
tee /etc/apt/sources.list > /dev/null <<EOT
|
tee /etc/apt/sources.list > /dev/null <<EOT
|
||||||
deb http://deb.debian.org/debian unstable main
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }} main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-updates main
|
||||||
|
deb http://deb.debian.org/debian ${{ env.CONTAINER_DISTRO }}-backports main
|
||||||
EOT
|
EOT
|
||||||
apt update
|
apt update
|
||||||
apt install eatmydata
|
apt install eatmydata
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user