From 1a7c3e7b516222cd94c94ddf48188e3462ba6562 Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Tue, 19 Dec 2023 10:55:54 +0300 Subject: [PATCH] PMM-7 fix devcontainer build (#2706) * PMM-7 fix devcontainer build * PMM-7 do not run server update test --- .github/workflows/managed.yml | 4 +++- devcontainer.Dockerfile | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/managed.yml b/.github/workflows/managed.yml index 7c426317e7..bb320d919c 100644 --- a/.github/workflows/managed.yml +++ b/.github/workflows/managed.yml @@ -88,7 +88,9 @@ jobs: run: docker exec -i pmm-server make -C managed test-cover - name: Run PMM server update test - run: docker exec -i pmm-server make -C managed test-update + run: | + echo "PMM Server update test will be refactored once we have a new update mechanism." + # docker exec -i pmm-server make -C managed test-update - name: Upload coverage results uses: codecov/codecov-action@v3 diff --git a/devcontainer.Dockerfile b/devcontainer.Dockerfile index 183c219180..55e40bff6a 100644 --- a/devcontainer.Dockerfile +++ b/devcontainer.Dockerfile @@ -4,6 +4,8 @@ FROM $PMM_SERVER_IMAGE ARG PMM_SERVER_IMAGE ARG GO_VERSION="1.21.x" +USER root + RUN echo "Building with: GO: $GO_VERSION, PMM: $PMM_SERVER_IMAGE" ENV GOPATH=/root/go ENV PATH="$PATH:$GOPATH/bin"