Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
carles-grafana committed Jan 7, 2025
1 parent af2a962 commit c2c94d2
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: docker
run: |
podman run -itd --name systemd-debian --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-debian:12
podman exec systemd-debian ls
- name: fetch tags
run: git fetch --tags

Expand All @@ -45,18 +40,18 @@ jobs:

- name: test deb package
run: |
docker run -d --name systemd-debian --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-debian:12
docker cp ./dist/tempo_*_linux_amd64.deb systemd-debian:.
docker cp ./tools/packaging/verify-deb-install.sh systemd-debian:.
docker exec systemd-debian ./verify-deb-install.sh
docker rm -f systemd-debian
podman run -d --name systemd-debian --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-debian:12
podman cp ./dist/tempo_*_linux_amd64.deb systemd-debian:.
podman cp ./tools/packaging/verify-deb-install.sh systemd-debian:.
podman exec systemd-debian ./verify-deb-install.sh
podman rm -f systemd-debian
- name: test rpm package
run: |
docker run -d --name systemd-centos --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-centos:8
docker cp ./dist/tempo_*_linux_amd64.rpm systemd-centos:.
docker cp ./tools/packaging/verify-rpm-install.sh systemd-centos:.
docker exec systemd-centos ./verify-rpm-install.sh
podman run -d --name systemd-centos --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-centos:8
podman cp ./dist/tempo_*_linux_amd64.rpm systemd-centos:.
podman cp ./tools/packaging/verify-rpm-install.sh systemd-centos:.
podman exec systemd-centos ./verify-rpm-install.sh
- name: release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
Expand Down

0 comments on commit c2c94d2

Please sign in to comment.