Skip to content

Commit

Permalink
Revert "The workflows do not seem to be running in systemd session, c…
Browse files Browse the repository at this point in the history
…reate one via ssh."

This mostly reverts commit 75aa107.

The ssh session no longer seems to be needed with latest podmans.
  • Loading branch information
adelton committed Dec 5, 2023
1 parent 2fc6d7f commit e338ce2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,11 @@ jobs:
secret: ${{ secrets.UPLOAD_SECRET }}
- name: Load image
run: gunzip < freeipa-server-${{ matrix.os }}.tar.gz | podman load
- name: Enable ssh access to self
run: ssh-keygen -f ~/.ssh/id_rsa && cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys && chmod 400 ~/.ssh/authorized_keys && chmod o-w ~
- name: Run master
shell: ssh -o StrictHostKeyChecking=no localhost bash {0}
run: cd ${{ github.workspace }} && docker=podman tests/run-master-and-replica.sh localhost/freeipa-server:${{ matrix.os }} && podman pod ls -q | xargs podman pod rm -f
run: docker=podman tests/run-master-and-replica.sh localhost/freeipa-server:${{ matrix.os }} && podman pod ls -q | xargs podman pod rm -f
- name: Run partial tests
if: ${{ failure() }}
shell: ssh localhost bash {0}
run: cd ${{ github.workspace }} && docker=podman tests/run-partial-tests.sh Dockerfile.${{ matrix.os }}
run: docker=podman tests/run-partial-tests.sh Dockerfile.${{ matrix.os }}

test-upgrade:
name: Upgrade from older version or build
Expand Down

0 comments on commit e338ce2

Please sign in to comment.