Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
intelliform-adapter
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
eingang
intelliform-adapter
Commits
18d87498
Commit
18d87498
authored
4 months ago
by
Lukas Malte Monnerjahn
Browse files
Options
Downloads
Patches
Plain Diff
reset job activation rules
parent
a597907c
No related branches found
No related tags found
1 merge request
!1
OZG-7377 Push Tags to GitOps Repo
Pipeline
#1513
skipped
Stage: publish
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-13
8 additions, 13 deletions
.gitlab-ci.yml
with
8 additions
and
13 deletions
.gitlab-ci.yml
+
8
−
13
View file @
18d87498
...
...
@@ -35,13 +35,11 @@ test:
stage
:
test
script
:
-
mvn test $MAVEN_CLI_OPTS
when
:
manual
# disabled for faster testing
verify
:
stage
:
test
script
:
-
mvn verify $MAVEN_CLI_OPTS
when
:
manual
# disabled for faster testing
test-helm
:
stage
:
test
...
...
@@ -50,7 +48,6 @@ test-helm:
-
helm plugin install https://github.com/helm-unittest/helm-unittest.git
script
:
-
./run_helm_test.sh
when
:
manual
# disabled for faster testing
.get-version
:
before_script
:
...
...
@@ -123,8 +120,8 @@ push-snapshot-image-nexus:
script
:
-
export IMAGE_TAGS="${NEXUS_IMAGE_PREFIX}:${SNAPSHOT_TAG},${NEXUS_IMAGE_PREFIX}:${SNAPSHOT_TAG}-${CI_COMMIT_SHORT_SHA},${NEXUS_IMAGE_PREFIX}:snapshot-latest"
-
mvn deploy -Pnexus-deploy $MAVEN_DEPLOY_CLI_OPTS $MAVEN_CLI_OPTS
#
only:
#
- main
# enabled for testing
only
:
-
main
push-snapshot-helm-nexus
:
stage
:
publish
...
...
@@ -138,8 +135,8 @@ push-snapshot-helm-nexus:
-
!reference
[
.publish-helm-chart
,
script
]
-
export HELM_CHART_VERSION=${PROJECT_VERSION}-main-${CI_COMMIT_SHORT_SHA}
-
!reference
[
.publish-helm-chart
,
script
]
#
only:
#
- main
# enabled for testing
only
:
-
main
artifacts
:
paths
:
-
"
*.tgz"
...
...
@@ -147,15 +144,13 @@ push-snapshot-helm-nexus:
gitops-snapshot
:
stage
:
gitops
variables
:
GIT_NAME
:
gitlab-ci
GIT_EMAIL
:
noreply@ozg-sh.de
GITOPS_ENVIRONMENT
:
dev
VALUES_FILE_NAME
:
afm-adapter-values.yaml
VALUES_FILE
:
${GITOPS_ENVIRONMENT}/application/values/${VALUES_FILE_NAME}
before_script
:
-
apk add --no-cache git yq
# yq-go in newer versions of alpine (from 3.20 on)
-
git config --global user.name "${GIT
_NAME
}"
-
git config --global user.email "${GIT_EMAIL}"
-
git config --global user.name "${GIT
EA_USER
}"
-
git config --global user.email "${GIT
EA_USER
_EMAIL}"
-
!reference
[
.get-version
,
before_script
]
script
:
-
git clone https://${GITEA_USER}:${GITEA_TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git
...
...
@@ -165,8 +160,8 @@ gitops-snapshot:
-
git add ${VALUES_FILE}
-
git commit -m "code-sh GitLab CI rollout ${environment} ${PROJECT_ARTIFACTID} version ${SNAPSHOT_TAG}-${CI_COMMIT_SHORT_SHA}"
-
git push https://${GITEA_USER}:${GITEA_TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git
#
only:
#
- main
# enabled for testing
only
:
-
main
# Release jobs
push-release-image-gitlab
:
...
...
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