Skip to content

Commit

Permalink
PMM-12899 clean up the code
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Jun 13, 2024
1 parent dd230b2 commit 88d0b35
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/managed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,24 @@ jobs:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

- name: Run PMM Server update test
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: Save PMM Go module and build cache as an image
if: ${{ env.BUILD_CACHE }}
run: |
df -h
df -h | grep -A 1 Filesystem
# We need to free up some space, see more https://github.com/actions/runner-images/issues/2840
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
df -h
df -h | grep -A 1 Filesystem
docker run --name pmm-cache --volumes-from pmm-server busybox sh -c "mkdir /mod-cache /build-cache; cp -r /root/go/pkg/mod/* /mod-cache; cp -r /root/.cache/go-build/* /build-cache"
docker commit pmm-cache ${{ env.PMM_CACHE_IMAGE }}
docker rm -v pmm-cache
- name: Run PMM Server update test
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: Login to ghcr.io registry
if: ${{ env.BUILD_CACHE }}
uses: docker/login-action@v3
Expand Down

0 comments on commit 88d0b35

Please sign in to comment.