-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from gematik/publishInternalRelease-37
Publish Release 4.12.0
- Loading branch information
Showing
108 changed files
with
7,586 additions
and
4,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Description | ||
|
||
This is the merge request template for the authenticator. | ||
The checks here are a reminder and not mandatory. | ||
It is not possible to block or hinder the merge request | ||
by interacting with this template. | ||
|
||
## Merge Request Checklist: | ||
|
||
- [ ] ReleaseNotes.md has been updated | ||
- [ ] Thought about if the merge leads to documentation changes | ||
|
||
## Happy Merging :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"reject": ["got","sweetalert2", "query-string", "eslint", "axios","@typescript-eslint/eslint-plugin", "@typescript-eslint/parser"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@Library('gematik-jenkins-shared-library') _ | ||
|
||
def BRANCH_NAME = 'dependency-updates' | ||
def REPO = 'https://gitlab.prod.ccs.gematik.solutions/git/authenticator/authenticator.git' | ||
def CREDENTIAL_ID_GEMATIK_GIT = 'svc_gitlab_prod_credentials' | ||
def mergeRequestTitle = 'Dependency Updates' | ||
pipeline { | ||
|
||
options { | ||
disableConcurrentBuilds() | ||
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5') | ||
} | ||
|
||
agent { label 'k8-web' } | ||
|
||
stages { | ||
stage('Run Dependency Updates') { | ||
steps { | ||
// get correct branch and assure, we are on HEAD | ||
sh "git switch -C ${BRANCH_NAME}" | ||
sh "git pull --no-rebase origin ${BRANCH_NAME} || true" // or true if branch is not existing | ||
|
||
// adjust package.json | ||
sh "npx npm-check-updates --configFileName=.ncurc.json -u" | ||
script { | ||
try { | ||
// adjust package-lock.json | ||
sh "npm install" | ||
} catch (error) { | ||
echo "Error running npm install ${error}" | ||
// npm install has issues, probably compatibility issues | ||
mergeRequestTitle = mergeRequestTitle + ' - with Errors' | ||
} | ||
} | ||
|
||
// Add changes | ||
sh "git add package.json package-lock.json" | ||
sh "git commit -m'Update dependencies' || true" // or true if all changes are already on the branch | ||
sh "git push origin ${BRANCH_NAME}" | ||
gitCreateMergeRequest(BRANCH_NAME, 'master', mergeRequestTitle) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.