Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
policy
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
2
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
Gaia-X
Trust Services API
policy
Commits
91125d55
Commit
91125d55
authored
1 year ago
by
Kalin Daskalov
Browse files
Options
Downloads
Patches
Plain Diff
Fix CI jobs and integrate helm into the repo.
parent
fc42eec0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!50
Fix CI jobs and integrate helm into the repo.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+22
-1
22 additions, 1 deletion
.gitlab-ci.yml
deployment/helm/Chart.yaml
+2
-2
2 additions, 2 deletions
deployment/helm/Chart.yaml
with
24 additions
and
3 deletions
.gitlab-ci.yml
+
22
−
1
View file @
91125d55
---
variables
:
HELPERS_FILE
:
docker-build.yml
HELM_HELPERS_FILE
:
helm-package.yml
APP_HELM_NAME
:
policy
DOCKER_FILE
:
deployment/ci/Dockerfile
...
...
@@ -8,12 +10,16 @@ stages:
-
test
-
build
-
manifest
-
lint
-
package
-
deploy
include
:
-
project
:
"
${HELPERS_PATH}"
file
:
"
${HELPERS_FILE}"
-
template
:
"
Workflows/Branch-Pipelines.gitlab-ci.yml"
-
project
:
'
gaiax/tsa/ci-helpers'
file
:
'
helm-package.yml'
lint
:
image
:
golangci/golangci-lint:latest
...
...
@@ -63,7 +69,7 @@ dockerize sync:
-
amd64-docker
script
:
-
cd ./cmd/sync
-
docker login -u
gitlab-ci-token -p $CI_JOB_TOKEN
$CI_REGISTRY
-
docker login -u
$CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
$CI_REGISTRY
-
docker build -t "${CI_REGISTRY_IMAGE}/sync:${CI_COMMIT_REF_NAME}" .
-
docker push "${CI_REGISTRY_IMAGE}/sync:${CI_COMMIT_REF_NAME}"
only
:
...
...
@@ -82,3 +88,18 @@ cloud:
release
:
extends
:
.manifest-release
stage
:
manifest
helm-lint
:
image
:
${HELM_IMAGE}
extends
:
.helm-lint
stage
:
lint
tags
:
-
amd64-docker
helm-package
:
image
:
${HELM_IMAGE}
extends
:
.helm-package
stage
:
package
tags
:
-
amd64-docker
needs
:
[
"
helm-lint"
]
This diff is collapsed.
Click to expand it.
deployment/helm/Chart.yaml
+
2
−
2
View file @
91125d55
apiVersion
:
v1
appVersion
:
v1.
0.2
appVersion
:
v1.
4.3
description
:
policy deployment
name
:
policy
version
:
1.
0.2
version
:
1.
4.3
icon
:
"
https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg"
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