From f566d197184716db7bf90a1f504eefd801963cb4 Mon Sep 17 00:00:00 2001 From: corverroos Date: Tue, 31 May 2022 16:00:24 +0200 Subject: [PATCH] cleanup --- .github/workflows/test.yml | 2 +- testutil/compose/compose/main.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 64a2825f3..7b0c3b056 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.out - app_tests: + integration_tests: runs-on: ubuntu-latest timeout-minutes: 5 steps: diff --git a/testutil/compose/compose/main.go b/testutil/compose/compose/main.go index 3fce09101..511626a0c 100644 --- a/testutil/compose/compose/main.go +++ b/testutil/compose/compose/main.go @@ -209,6 +209,8 @@ func newAutoCmd(tmplCallback func(data *compose.TmplData)) *cobra.Command { return cmd } +// fixPerms fixes file permissions as a workaround for linux docker by removing +// all restrictions using sudo chmod. func fixPerms(ctx context.Context, dir string) error { cmd := exec.CommandContext(ctx, "sudo", "chmod", "-R", "a+wrX", ".") cmd.Dir = dir