-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove user namespace setup / support newer fedoras (#157)
* fix reproducibility on fedora 36+ rpmdb has moved * Remove user namespace functionality - document how to use unshare instead
- Loading branch information
Showing
13 changed files
with
199 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: "rpmoci tests" | ||
description: "Run rpmoci tests" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup rootless user | ||
shell: bash | ||
run: | | ||
useradd -m -s /bin/bash rootless | ||
- name: Run tests as non-root user | ||
shell: bash | ||
run: | | ||
su - rootless | ||
cargo test --features test-docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: fedora | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-24.04 | ||
container: | ||
image: fedora:40 | ||
options: --privileged | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
dnf install -y openssl-devel python3-devel sqlite-devel dnf-plugins-core util-linux rust cargo skopeo | ||
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo | ||
dnf install -y docker-ce-cli | ||
- uses: actions/checkout@v2 | ||
- uses: ./.github/actions/test |
Oops, something went wrong.