Remove `.github/`
This code was imported from GitHub to GitLab. We'll replace the GHA tests with new ones.
This commit is contained in:
parent
0d3b00adac
commit
8c9bd6785d
|
|
@ -1,45 +0,0 @@
|
||||||
name: Build Image
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: centos
|
|
||||||
version: stream9
|
|
||||||
- os: centos
|
|
||||||
version: stream10
|
|
||||||
- os: fedora
|
|
||||||
version: 40
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Update podman
|
|
||||||
run: |
|
|
||||||
# from https://askubuntu.com/questions/1414446/whats-the-recommended-way-of-installing-podman-4-in-ubuntu-22-04
|
|
||||||
ubuntu_version='22.04'
|
|
||||||
key_url="https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key"
|
|
||||||
sources_url="https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}"
|
|
||||||
echo "deb $sources_url/ /" | sudo tee /etc/apt/sources.list.d/devel-kubic-libcontainers-unstable.list
|
|
||||||
curl -fsSL $key_url | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y podman
|
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
podman build --security-opt=label=disable --cap-add=all --device /dev/fuse \
|
|
||||||
-t localhost/${{ matrix.os }}-${{ matrix.version }}-bootc -f Containerfile.${{ matrix.os }}-${{ matrix.version }}
|
|
||||||
|
|
||||||
- name: Run image
|
|
||||||
run: podman run --rm -ti localhost/${{ matrix.os }}-${{ matrix.version }}-bootc bootc --help
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
---
|
|
||||||
name: pre_commit
|
|
||||||
|
|
||||||
on: # yamllint disable-line rule:truthy
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
pre_commit:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
|
||||||
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
|
|
||||||
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
|
||||||
Loading…
Reference in New Issue