Remove hidden stuff too
Some checks failed
Some checks failed
This commit is contained in:
parent
e24e3b722a
commit
62e3f370b8
1 changed files with 2 additions and 2 deletions
|
@ -69,13 +69,13 @@ jobs:
|
||||||
# Use the pre-configured workspace directory (created in CI guide Step 7.3)
|
# Use the pre-configured workspace directory (created in CI guide Step 7.3)
|
||||||
|
|
||||||
# Clone the repository to workspace
|
# Clone the repository to workspace
|
||||||
rm -rf /tmp/ci-workspace
|
rm -rf /tmp/ci-workspace /tmp/ci-workspace/.* 2>/dev/null || true
|
||||||
git clone "${{ gitea.server_url }}/${{ gitea.repository }}" /tmp/ci-workspace
|
git clone "${{ gitea.server_url }}/${{ gitea.repository }}" /tmp/ci-workspace
|
||||||
cd /tmp/ci-workspace
|
cd /tmp/ci-workspace
|
||||||
git checkout "${{ gitea.sha }}"
|
git checkout "${{ gitea.sha }}"
|
||||||
|
|
||||||
# Copy workspace to DinD container
|
# Copy workspace to DinD container
|
||||||
docker exec ci-dind rm -rf /workspace/*
|
docker exec ci-dind rm -rf /workspace/* /workspace/.* 2>/dev/null || true
|
||||||
docker cp /tmp/ci-workspace/. ci-dind:/workspace/
|
docker cp /tmp/ci-workspace/. ci-dind:/workspace/
|
||||||
|
|
||||||
# Start testing environment using dedicated compose file inside DinD
|
# Start testing environment using dedicated compose file inside DinD
|
||||||
|
|
Loading…
Add table
Reference in a new issue