Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alfa
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
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
OZG-Cloud
app
alfa
Commits
6540d4df
Commit
6540d4df
authored
2 years ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
ozg-2387 use latest helm chart in release e2e tests
parent
0ee1ff5e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+13
-2
13 additions, 2 deletions
Jenkinsfile
with
13 additions
and
2 deletions
Jenkinsfile
+
13
−
2
View file @
6540d4df
...
@@ -139,6 +139,7 @@ pipeline {
...
@@ -139,6 +139,7 @@ pipeline {
withCredentials
([
usernamePassword
(
credentialsId:
'jenkins-nexus-login'
,
usernameVariable:
'USER'
,
passwordVariable:
'PASSWORD'
)])
{
withCredentials
([
usernamePassword
(
credentialsId:
'jenkins-nexus-login'
,
usernameVariable:
'USER'
,
passwordVariable:
'PASSWORD'
)])
{
sh
'helm repo add ozg-base-apps-snapshot https://nexus.ozg-sh.de/repository/ozg-base-apps-snapshot --username ${USER} --password ${PASSWORD}'
sh
'helm repo add ozg-base-apps-snapshot https://nexus.ozg-sh.de/repository/ozg-base-apps-snapshot --username ${USER} --password ${PASSWORD}'
sh
'helm repo add ozg-base-apps https://nexus.ozg-sh.de/repository/ozg-base-apps --username ${USER} --password ${PASSWORD}'
}
}
sh
'helm version'
sh
'helm version'
...
@@ -341,8 +342,13 @@ Void checkIfNamespaceExists(String namespace) {
...
@@ -341,8 +342,13 @@ Void checkIfNamespaceExists(String namespace) {
Void
startPluto
(
String
namespace
,
String
values
,
String
bezeichner
)
{
Void
startPluto
(
String
namespace
,
String
values
,
String
bezeichner
)
{
container
(
"k8s"
)
{
container
(
"k8s"
)
{
dir
(
'goofy-client/apps/goofy-e2e/deployment-values/pluto'
)
{
dir
(
'goofy-client/apps/goofy-e2e/deployment-values/pluto'
)
{
if
(
env
.
BRANCH_NAME
==
'release'
)
{
sh
"helm upgrade --install --create-namespace pluto ozg-base-apps/pluto -f ${values} --set kop.bezeichner=${bezeichner} --namespace ${namespace} --wait --wait-for-jobs"
}
else
{
sh
"helm upgrade --install --create-namespace pluto ozg-base-apps-snapshot/pluto -f ${values} --set kop.bezeichner=${bezeichner} --namespace ${namespace} --version ${getLatestChartVersion('pluto').trim()} --wait --wait-for-jobs"
sh
"helm upgrade --install --create-namespace pluto ozg-base-apps-snapshot/pluto -f ${values} --set kop.bezeichner=${bezeichner} --namespace ${namespace} --version ${getLatestChartVersion('pluto').trim()} --wait --wait-for-jobs"
}
}
}
sh
"kubectl rollout status statefulset/pluto-database -n ${namespace}"
sh
"kubectl rollout status statefulset/pluto-database -n ${namespace}"
}
}
...
@@ -351,8 +357,13 @@ Void startPluto(String namespace, String values, String bezeichner) {
...
@@ -351,8 +357,13 @@ Void startPluto(String namespace, String values, String bezeichner) {
Void
startGoofy
(
String
namespace
,
String
values
,
String
imageTag
,
String
bezeichner
)
{
Void
startGoofy
(
String
namespace
,
String
values
,
String
imageTag
,
String
bezeichner
)
{
container
(
"k8s"
)
{
container
(
"k8s"
)
{
dir
(
'goofy-client/apps/goofy-e2e/deployment-values/goofy'
)
{
dir
(
'goofy-client/apps/goofy-e2e/deployment-values/goofy'
)
{
if
(
env
.
BRANCH_NAME
==
'release'
)
{
sh
"helm upgrade --install --create-namespace goofy ozg-base-apps/goofy -f ${values} --set image.tag=${imageTag} --set kop.bezeichner=${bezeichner} --namespace ${namespace} --wait --wait-for-jobs"
}
else
{
sh
"helm upgrade --install --create-namespace goofy ozg-base-apps-snapshot/goofy -f ${values} --set image.tag=${imageTag} --set kop.bezeichner=${bezeichner} --namespace ${namespace} --version ${getLatestChartVersion('goofy').trim()} --wait --wait-for-jobs"
sh
"helm upgrade --install --create-namespace goofy ozg-base-apps-snapshot/goofy -f ${values} --set image.tag=${imageTag} --set kop.bezeichner=${bezeichner} --namespace ${namespace} --version ${getLatestChartVersion('goofy').trim()} --wait --wait-for-jobs"
}
}
}
createKeycloakGroups
(
namespace
)
createKeycloakGroups
(
namespace
)
generateKeycloakUserYaml
(
namespace
)
generateKeycloakUserYaml
(
namespace
)
...
...
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