lib: start & stop GitLab

The image is saved to disk and cached because it is over 1GB, to save bandwidthc.
This commit is contained in:
Twenty Panda 2024-06-23 00:22:19 +02:00
parent c2b7f36bc8
commit 76ac081fb9
3 changed files with 70 additions and 3 deletions

View file

@ -82,7 +82,18 @@ jobs:
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: ./.forgejo/prepare-end-to-end
- run: su forgejo -c "./end-to-end.sh test_federation"
- name: install zstd
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -y -qq zstd
- name: cache GitLab OCI image
uses: https://code.forgejo.org/actions/cache@v4
with:
path: |
/srv/forgejo-binaries/gitlab
key: gitlab
- run: |
su forgejo -c "./end-to-end.sh test_federation"
- name: full logs
if: always()
run: su forgejo -c "./end-to-end.sh show_logs"