Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-infra
Commits
65800e0a
Commit
65800e0a
authored
Aug 27, 2025
by
Abhishek
Browse files
Update .gitlab-ci.yml file
parent
2eece07f
Pipeline
#11808
passed with stage
in 6 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
65800e0a
...
@@ -29,6 +29,14 @@ run_full_automation:
...
@@ -29,6 +29,14 @@ run_full_automation:
-
apk add --no-cache curl docker-compose bash jq
-
apk add --no-cache curl docker-compose bash jq
-
until docker info > /dev/null 2>&1; do echo "Waiting for Docker daemon..."; sleep 3; done
-
until docker info > /dev/null 2>&1; do echo "Waiting for Docker daemon..."; sleep 3; done
# --- THIS IS THE FIX ---
# 1. Explicitly create the named volume so we know it exists.
-
docker volume create cota-infra_dta_tests_data
# 2. Run a temporary container that mounts this volume and changes the ownership
# of the directory to user 137, which is the 'appuser' inside the backend container.
-
echo "Setting permissions on dta_tests_data volume..."
-
docker run --rm -v cota-infra_dta_tests_data:/data alpine chown 137:137 /data
script
:
script
:
# --- THIS IS THE FIX ---
# --- THIS IS THE FIX ---
# Create a .env file on the fly. Docker Compose will automatically read this
# Create a .env file on the fly. Docker Compose will automatically read this
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment