Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ui-middleware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
OX App Suite
Core
ui-middleware
Commits
c1b501c6
Commit
c1b501c6
authored
3 years ago
by
david.bauer
Browse files
Options
Downloads
Patches
Plain Diff
Add release-it workflow
parent
5b07b606
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-7
1 addition, 7 deletions
.gitlab-ci.yml
.release-it.json
+20
-0
20 additions, 0 deletions
.release-it.json
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
package.json
+4
-1
4 additions, 1 deletion
package.json
with
29 additions
and
8 deletions
.gitlab-ci.yml
+
1
−
7
View file @
c1b501c6
include
:
-
project
:
'
sre/ci-building-blocks'
file
:
'
/gitlab-ci/node/kaniko.yml'
ref
:
'
2.0.0'
variables
:
INGRESS_HOSTNAME
:
ui-middleware-$CI_COMMIT_REF_SLUG
build image
:
before_script
:
-
"
[
-z
\"
$APP_VERSION
\"
]
&&
export
APP_VERSION=$CI_COMMIT_TAG"
-
"
[
-z
\"
$APP_VERSION
\"
]
&&
export
APP_VERSION=$(cat
package.json
|
grep
'version'
|
cut
-f
4
-d'
\"
')"
-
echo "Building version $APP_VERSION"
extends
:
.build image
deploy helm chart
:
extends
:
.auto-deploy-helm-chart
environment
:
...
...
This diff is collapsed.
Click to expand it.
.release-it.json
0 → 100644
+
20
−
0
View file @
c1b501c6
{
"npm"
:
{
"publish"
:
false
},
"gitlab"
:
{
"release"
:
true
},
"plugins"
:
{
"@release-it/keep-a-changelog"
:
{
"addVersionUrl"
:
true
,
"addUnreleased"
:
true
,
"head"
:
"main"
},
"@j-ulrich/release-it-regex-bumper"
:
{
"out"
:
[
{
"file"
:
"helm/core-ui-middleware/Chart.yaml"
,
"search"
:
"appVersion:
\"\\
d+
\\
.
\\
d+
\\
.
\\
d+
\"
"
,
"replace"
:
"appVersion:
\"
{{version}}
\"
"
}
]
}
}
}
This diff is collapsed.
Click to expand it.
CHANGELOG.md
0 → 100644
+
4
−
0
View file @
c1b501c6
# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased]
This diff is collapsed.
Click to expand it.
package.json
+
4
−
1
View file @
c1b501c6
...
...
@@ -9,7 +9,10 @@
"start"
:
"node src/index.js"
,
"dev"
:
"nodemon index.js"
,
"prepare"
:
"husky install"
,
"test"
:
"LOG_LEVEL=error NODE_OPTIONS=--experimental-vm-modules jest --no-cache"
"test"
:
"LOG_LEVEL=error NODE_OPTIONS=--experimental-vm-modules jest --no-cache"
,
"release-chart"
:
"cd helm/ui-middleware/ && npx --package=@open-xchange/release-it -- release-it"
,
"release-app"
:
"npx --package=@open-xchange/release-it -- release-it"
,
"release"
:
"yarn release-chart && yarn release-app"
},
"author"
:
"Open-Xchange"
,
"license"
:
"CC-BY-NC-SA-2.5"
,
...
...
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