Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
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
m-team
oidc
mytoken
server
Commits
5d3255b2
Commit
5d3255b2
authored
2 years ago
by
Gabriel Zachmann
Committed by
Gabriel Zachmann
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ci] improve release/prerelease
parent
6cbbda3b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci-scripts/upload.sh
+4
-0
4 additions, 0 deletions
.gitlab-ci-scripts/upload.sh
.gitlab-ci.yml
+0
-1
0 additions, 1 deletion
.gitlab-ci.yml
.goreleaser-release.yml
+13
-9
13 additions, 9 deletions
.goreleaser-release.yml
with
17 additions
and
10 deletions
.gitlab-ci-scripts/upload.sh
+
4
−
0
View file @
5d3255b2
#REPO_TARGET="$(if echo $CI_COMMIT_TAG | grep -q '-'; then echo '/'; else echo '/prerel'; fi)"
REPO_TARGET
=
"/prerel"
# ssh-key-script
[
-e
/tmp/ssh-private-keys/
${
REPO_USER
}
]
&&
{
eval
$(
ssh-agent
-s
)
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
0
−
1
View file @
5d3255b2
...
...
@@ -68,7 +68,6 @@ prerelease:
GIT_DEPTH
:
0
REPO_HOST
:
repo.data.kit.edu
REPO_USER
:
cicd
REPO_TARGET
:
/prerel
script
:
-
.gitlab-ci-scripts/goreleaser.sh
-
.gitlab-ci-scripts/upload.sh
...
...
This diff is collapsed.
Click to expand it.
.goreleaser-release.yml
+
13
−
9
View file @
5d3255b2
...
...
@@ -11,8 +11,8 @@ builds:
-
CGO_ENABLED=0
goos
:
-
linux
gc
flags
:
-
all=
-trimpath
={{.Env.GOPATH}}
flags
:
-
-trimpath
mod_timestamp
:
'
{{
.CommitTimestamp
}}'
-
id
:
setup
main
:
./cmd/mytoken-server/mytoken-setup
...
...
@@ -21,8 +21,8 @@ builds:
-
CGO_ENABLED=0
goos
:
-
linux
gc
flags
:
-
all=
-trimpath
={{.Env.GOPATH}}
flags
:
-
-trimpath
mod_timestamp
:
'
{{
.CommitTimestamp
}}'
-
id
:
migratedb
main
:
./cmd/mytoken-server/mytoken-migratedb
...
...
@@ -31,8 +31,8 @@ builds:
-
CGO_ENABLED=0
goos
:
-
linux
gc
flags
:
-
all=
-trimpath
={{.Env.GOPATH}}
flags
:
-
-trimpath
mod_timestamp
:
'
{{
.CommitTimestamp
}}'
archives
:
-
replacements
:
...
...
@@ -50,7 +50,7 @@ nfpms:
file_name_template
:
"
{{
.PackageName
}}_{{
.Version
}}_{{
.Arch
}}"
builds
:
-
server
homepage
:
https://mytoken-doc.data.kit.edu/server
/intro
homepage
:
https://mytoken-doc
s
.data.kit.edu/server
maintainer
:
Gabriel Zachmann <gabriel.zachmann@kit.edu>
description
:
Mytoken is a central web service with the goal to easily obtain OpenID Connect access tokens across devices.
license
:
MIT
...
...
@@ -80,7 +80,7 @@ nfpms:
file_name_template
:
"
{{
.PackageName
}}_{{
.Version
}}_{{
.Arch
}}"
builds
:
-
setup
homepage
:
https://mytoken-doc.data.kit.edu/server
/intro
homepage
:
https://mytoken-doc
s
.data.kit.edu/server
maintainer
:
Gabriel Zachmann <gabriel.zachmann@kit.edu>
description
:
A setup utility for the mytoken-server
license
:
MIT
...
...
@@ -102,7 +102,7 @@ nfpms:
file_name_template
:
"
{{
.PackageName
}}_{{
.Version
}}_{{
.Arch
}}"
builds
:
-
migratedb
homepage
:
https://mytoken-doc.data.kit.edu/server
/intro
homepage
:
https://mytoken-doc
s
.data.kit.edu/server
maintainer
:
Gabriel Zachmann <gabriel.zachmann@kit.edu>
description
:
A tool for migrating the database between versions
license
:
MIT
...
...
@@ -173,7 +173,11 @@ checksum:
snapshot
:
name_template
:
"
{{
.Tag
}}-next"
release
:
prerelease
:
auto
draft
:
true
github
:
owner
:
oidc-mytoken
name
:
server
name_template
:
"
{{.ProjectName}}
{{.Version}}"
changelog
:
sort
:
asc
...
...
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