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
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
965ff001
Verified
Commit
965ff001
authored
1 month ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Really check it
Signed-off-by:
Martin Weise
<
martin.weise@tuwien.ac.at
>
parent
516247bd
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!400
Need assets path
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+10
-2
10 additions, 2 deletions
.gitlab-ci.yml
.gitlab/check-supported-images.sh
+10
-3
10 additions, 3 deletions
.gitlab/check-supported-images.sh
.gitlab/remove-unsupported-images.sh
+11
-0
11 additions, 0 deletions
.gitlab/remove-unsupported-images.sh
with
31 additions
and
5 deletions
.gitlab-ci.yml
+
10
−
2
View file @
965ff001
...
...
@@ -696,13 +696,21 @@ verify-dist:
image
:
docker.io/alpine:${ALPINE_VERSION}
stage
:
verify
only
:
refs
:
-
/^release-.*/
-
/^release-.*/
-
master
before_script
:
-
"
apk
add
curl"
script
:
-
"
curl
-v
--output
/dev/null
--fail
https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${APP_VERSION}/dist.tar.gz"
verify-images
:
image
:
docker.io/docker:${DOCKER_VERSION}-dind
stage
:
verify
only
:
-
master
script
:
-
bash ./.gitlab/check-unsupported-images.sh
scan-sonarqube
:
image
:
sonarsource/sonar-scanner-cli:${SONARQUBE_VERSION}
stage
:
scan
...
...
This diff is collapsed.
Click to expand it.
.gitlab/check-supported-images.sh
+
10
−
3
View file @
965ff001
#!/bin/bash
echo
"Starting registry check ..."
SUPPORTED_VERSIONS
=
"1.7.3, 1.8.0"
MAINTAINED_SERVICES
=
"analyse-service, auth-service-init, dashboard-service, dashboard-service-init, data-service, metadata-service, search-db, search-service, search-service-init, storage-service-init, ui"
CI_REGISTRY2_URL
=
"registry.datalab.tuwien.ac.at/dbrepo"
if
[
-z
$SUPPORTED_VERSIONS
]
;
then
echo
"[ERROR] Missing environment variable SUPPORTED_VERSIONS"
>
/dev/stderr
exit
1
elif
[
-z
$MAINTAINED_SERVICES
]
;
then
echo
"[ERROR] Missing environment variable MAINTAINED_SERVICES"
>
/dev/stderr
exit
1
elif
[
-z
$CI_REGISTRY2_URL
]
;
then
echo
"[ERROR] Missing environment variable CI_REGISTRY2_URL"
>
/dev/stderr
exit
1
fi
VERSIONS
=(
${
SUPPORTED_VERSIONS
//,/
}
)
SERVICES
=(
${
MAINTAINED_SERVICES
//,/
}
)
...
...
This diff is collapsed.
Click to expand it.
.gitlab/remove-unsupported-images.sh
+
11
−
0
View file @
965ff001
#!/bin/bash
echo
"Starting registry housekeeping ..."
if
[
-z
$SUPPORTED_VERSIONS
]
;
then
echo
"[ERROR] Missing environment variable SUPPORTED_VERSIONS"
>
/dev/stderr
exit
1
elif
[
-z
$MAINTAINED_SERVICES
]
;
then
echo
"[ERROR] Missing environment variable MAINTAINED_SERVICES"
>
/dev/stderr
exit
1
elif
[
-z
$CI_REGISTRY2_URL
]
;
then
echo
"[ERROR] Missing environment variable CI_REGISTRY2_URL"
>
/dev/stderr
exit
1
fi
VERSIONS
=(
${
SUPPORTED_VERSIONS
//,/
}
)
SERVICES
=(
${
MAINTAINED_SERVICES
//,/
}
)
...
...
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