Merge pull request #22 from downtownallday/move-postfix-queue-to-user… #150
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
name: commit-tests | |
on: [push, workflow_dispatch] | |
jobs: | |
# MiaB-LDAP using encryption-at-rest and connected to a remote Nextcloud | |
remote-nextcloud-docker-ehdd: | |
runs-on: ubuntu-22.04 | |
env: | |
PRIMARY_HOSTNAME: box1.abc.com | |
EHDD_KEYFILE: /tmp/keyfile | |
steps: | |
- uses: actions/checkout@v2 | |
- name: create ehdd keyfile | |
run: sudo -E echo -n "secret" >/tmp/keyfile | |
- name: setup | |
run: sudo -E tests/system-setup/remote-nextcloud-docker.sh | |
- name: test-runner | |
run: sudo -E tests/runner.sh -dumpoutput -no-smtp-remote remote-nextcloud ehdd default remote-nextcloud | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: tests-output | |
path: tests/out/**/screenshot.png | |
if-no-files-found: ignore | |
retention-days: 5 | |
# install upstream miab, then migrate to miabldap | |
upgrade-from-upstream: | |
runs-on: ubuntu-22.04 | |
env: | |
PRIMARY_HOSTNAME: box2.abc.com | |
UPSTREAM_TAG: main | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup | |
run: sudo -E tests/system-setup/upgrade-from-upstream.sh --populate=basic --populate=totpuser | |
- name: test-runner | |
run: sudo -E tests/runner.sh -dumpoutput -no-smtp-remote upgrade-basic upgrade-totpuser default |