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
f0ea164a
Verified
Commit
f0ea164a
authored
3 months ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Updated check script and install script
parent
d43496e7
No related branches found
No related tags found
1 merge request
!416
Attempt new release
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
.gitlab/check-supported-images.sh
+3
-3
3 additions, 3 deletions
.gitlab/check-supported-images.sh
install.sh
+2
-2
2 additions, 2 deletions
install.sh
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
1
−
1
View file @
f0ea164a
...
@@ -16,7 +16,7 @@ variables:
...
@@ -16,7 +16,7 @@ variables:
CHART_VERSION
:
"
1.8.2"
CHART_VERSION
:
"
1.8.2"
SUPPORTED_VERSIONS
:
"
1.7.3,
1.8.0,
1.8.1,
1.8.2"
SUPPORTED_VERSIONS
:
"
1.7.3,
1.8.0,
1.8.1,
1.8.2"
SUPPORTED_ARCH
:
"
linux/amd64"
SUPPORTED_ARCH
:
"
linux/amd64"
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"
MAINTAINED_SERVICES
:
"
analyse-service,
auth-service-init,
dashboard-service,
dashboard-service-init,
data-service,
metadata-service,
search-service,
search-service-init,
storage-service-init,
ui"
CACHE_FALLBACK_KEY
:
"
${CI_DEFAULT_BRANCH}"
CACHE_FALLBACK_KEY
:
"
${CI_DEFAULT_BRANCH}"
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
...
...
This diff is collapsed.
Click to expand it.
.gitlab/check-supported-images.sh
+
3
−
3
View file @
f0ea164a
#!/bin/bash
#!/bin/bash
echo
"Starting registry check ..."
echo
"Starting registry check ..."
if
[
-z
$SUPPORTED_VERSIONS
]
;
then
if
[
[
-z
$SUPPORTED_VERSIONS
]
]
;
then
echo
"[ERROR] Missing environment variable SUPPORTED_VERSIONS"
>
/dev/stderr
echo
"[ERROR] Missing environment variable SUPPORTED_VERSIONS"
>
/dev/stderr
exit
1
exit
1
elif
[
-z
$MAINTAINED_SERVICES
]
;
then
elif
[
[
-z
$MAINTAINED_SERVICES
]
]
;
then
echo
"[ERROR] Missing environment variable MAINTAINED_SERVICES"
>
/dev/stderr
echo
"[ERROR] Missing environment variable MAINTAINED_SERVICES"
>
/dev/stderr
exit
1
exit
1
elif
[
-z
$CI_REGISTRY2_URL
]
;
then
elif
[
[
-z
$CI_REGISTRY2_URL
]
]
;
then
echo
"[ERROR] Missing environment variable CI_REGISTRY2_URL"
>
/dev/stderr
echo
"[ERROR] Missing environment variable CI_REGISTRY2_URL"
>
/dev/stderr
exit
1
exit
1
fi
fi
...
...
This diff is collapsed.
Click to expand it.
install.sh
+
2
−
2
View file @
f0ea164a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
APP_VERSION
=
"1.8.2"
APP_VERSION
=
"1.8.2"
DOC_VERSION
=
"1.8"
DOC_VERSION
=
"1.8"
MIN_CPU
=
8
MIN_CPU
=
8
MIN_RAM
=
2
0
MIN_RAM
=
1
0
SKIP_CHECKS
=
${
SKIP_CHECKS
:-
0
}
SKIP_CHECKS
=
${
SKIP_CHECKS
:-
0
}
DOWNLOAD_ONLY
=
${
DOWNLOAD_ONLY
:-
0
}
DOWNLOAD_ONLY
=
${
DOWNLOAD_ONLY
:-
0
}
...
@@ -35,7 +35,7 @@ if [[ $SKIP_CHECKS -eq 0 ]] && [[ $DOWNLOAD_ONLY -ne 1 ]]; then
...
@@ -35,7 +35,7 @@ if [[ $SKIP_CHECKS -eq 0 ]] && [[ $DOWNLOAD_ONLY -ne 1 ]]; then
if
[[
$RAM
-lt
$MIN_RAM
]]
;
then
if
[[
$RAM
-lt
$MIN_RAM
]]
;
then
echo
"You do not have enough RAM free resources:"
echo
"You do not have enough RAM free resources:"
echo
""
echo
""
echo
" - we found
${
RAM
}
GB RAM (free) instead of necessary
${
RAM
}
GB"
echo
" - we found
${
RAM
}
GB RAM (free) instead of necessary
${
MIN_
RAM
}
GB"
echo
" - if you believe this is a mistake, skip startup checks with the SKIP_CHECKS=1 flag"
echo
" - if you believe this is a mistake, skip startup checks with the SKIP_CHECKS=1 flag"
exit
4
exit
4
else
else
...
...
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