From 9e2afc49168fd973fc9f0564e295f2e59e80aa85 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Sat, 25 May 2024 16:41:43 -0700 Subject: [PATCH] debug volume config --- .gitea/workflows/lint.yaml | 6 +++--- .gitea/workflows/test.yaml | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index cbb8ef8..d757e80 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -15,9 +15,9 @@ jobs: - "/etc/gitconfig:/etc/gitconfig:ro" - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - "/${{ vars.GITEA_WORKSPACE }}:/go/src" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.ssh/known_hosts:/root/.ssh/known_hosts" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.gitconfig:/root/.gitconfig:ro" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.git-credentials:/root/.git-credentials:ro" + - "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts" + - "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro" + - "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro" - "/etc/ssl/certs:/etc/ssl/certs:ro" options: --cpus 20 steps: diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 0625de0..ec43793 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -19,10 +19,9 @@ jobs: - "/etc/localtime:/etc/localtime:ro" - "/etc/gitconfig:/etc/gitconfig:ro" - "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock" - - "/${{ vars.GITEA_WORKSPACE }}:/go/src" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.ssh/known_hosts:/root/.ssh/known_hosts" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.gitconfig:/root/.gitconfig:ro" - - "/${{ vars.BUILDER_VOLUME_HOME }}/.git-credentials:/root/.git-credentials:ro" + - "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts" + - "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro" + - "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro" - "/etc/ssl/certs:/etc/ssl/certs:ro" options: --cpus 1 steps: