Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
6641d834
Verified
Commit
6641d834
authored
1 year ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Added conditional prune
parent
63b4c582
No related branches found
No related tags found
3 merge requests
!231
CI: Remove build for log-service
,
!228
Better error message handling in the frontend
,
!223
Release of version 1.4.0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-26
1 addition, 26 deletions
.gitlab-ci.yml
.scripts/docker-prune.sh
+5
-0
5 additions, 0 deletions
.scripts/docker-prune.sh
with
6 additions
and
26 deletions
.gitlab-ci.yml
+
1
−
26
View file @
6641d834
...
@@ -282,33 +282,8 @@ build-docker:
...
@@ -282,33 +282,8 @@ build-docker:
-
build-semantics-service
-
build-semantics-service
-
build-analyse-service
-
build-analyse-service
-
build-user-service
-
build-user-service
except
:
refs
:
-
dev
-
master
script
:
-
cp .env.unix.example .env
-
make build-docker
build-docker-complete
:
stage
:
build-docker
needs
:
-
build-metadata-db
-
build-identifier-service
-
build-container-service
-
build-database-service
-
build-query-service
-
build-table-service
-
build-metadata-service
-
build-semantics-service
-
build-analyse-service
-
build-user-service
only
:
refs
:
-
dev
-
master
script
:
script
:
-
docker system prune -f -a --volumes
-
bash .scripts/docker-prune.sh
-
cp .env.unix.example .env
-
cp .env.unix.example .env
-
make build-docker
-
make build-docker
...
...
This diff is collapsed.
Click to expand it.
.scripts/docker-prune.sh
0 → 100755
+
5
−
0
View file @
6641d834
#!/bin/bash
if
[[
"
$CI_COMMIT_BRANCH
"
=
~
(
dev|master
)
]]
;
then
echo
"pruning for branch
${
CI_COMMIT_BRANCH
}
..."
docker system prune
-f
-a
--volumes
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment