Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SET-Payload Schema
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
FIT-Connect
SET-Payload Schema
Commits
b7e386a3
Verified
Commit
b7e386a3
authored
2 years ago
by
Jonas Gröger
Browse files
Options
Downloads
Patches
Plain Diff
refactor: use fit-connect-baseimage
parent
1da832eb
No related branches found
No related tags found
1 merge request
!3
Fix/737 uninline
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-5
2 additions, 5 deletions
.gitlab-ci.yml
tag.sh
+0
-19
0 additions, 19 deletions
tag.sh
with
2 additions
and
24 deletions
.gitlab-ci.yml
+
2
−
5
View file @
b7e386a3
.pre-deploy-uber-space-setup
:
&pre-deploy-uber-space-setup
-
apk add rsync openssh-client
-
eval $(ssh-agent -s)
-
echo "$CI_DEPLOYMENT_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
echo "$UBERSPACE_KNOWN_HOST" >> ~/.ssh/known_hosts
workflow
:
...
...
@@ -45,7 +42,7 @@ build:
upload:latest
:
stage
:
upload
image
:
$CI_REGISTRY/
alpin
e:latest
image
:
$CI_REGISTRY/
fit-connect/baseimag
e:latest
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
before_script
:
...
...
@@ -56,7 +53,7 @@ upload:latest:
upload:release
:
stage
:
upload
image
:
$CI_REGISTRY/
alpin
e:latest
image
:
$CI_REGISTRY/
fit-connect/baseimag
e:latest
rules
:
-
if
:
$CI_COMMIT_TAG
before_script
:
...
...
This diff is collapsed.
Click to expand it.
tag.sh
deleted
100755 → 0
+
0
−
19
View file @
1da832eb
#!/usr/bin/env sh
TAG
=
"
$1
"
if
[
-z
"
$TAG
"
]
;
then
echo
"Usage:
$0
TAG"
echo
"Example:
$0
1.0.1"
echo
"The latest 10 existing tags:"
git tag
--list
\
|
grep
'^[0-9]'
\
|
sort
--version-sort
\
|
tail
exit
1
fi
git tag
-a
"
$TAG
"
-m
"Release
$TAG
"
echo
"Done! Run 'git push --tags' to push tag
$TAG
"
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