Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cache-helm
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
Gaia-X
Trust Services API
cache-helm
Commits
f05114a8
Commit
f05114a8
authored
1 year ago
by
Kalin Daskalov
Browse files
Options
Downloads
Patches
Plain Diff
add submodule and ci
parent
517e4d61
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1
Source as submodule
Pipeline
#67341
failed
1 year ago
Stage: test
Stage: build
Stage: manifest
Stage: lint
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+77
-7
77 additions, 7 deletions
.gitlab-ci.yml
.gitmodules
+3
-0
3 additions, 0 deletions
.gitmodules
app
+1
-0
1 addition, 0 deletions
app
with
81 additions
and
7 deletions
.gitlab-ci.yml
+
77
−
7
View file @
f05114a8
---
variables
:
HELPERS_FILE
:
helm-package.yml
image
:
$HELM_IMAGE
include
:
-
project
:
'
${HELPERS_PATH}'
file
:
'
${HELPERS_FILE}'
HELPERS_FILE
:
build-eclipse.yml
HELM_HELPERS_FILE
:
helm-eclipse.yml
APP_HELM_NAME
:
cache
DOCKER_FILE
:
app/deployment/ci/Dockerfile
stages
:
-
test
-
build
-
manifest
-
lint
-
package
-
deploy
include
:
-
project
:
"
${HELPERS_PATH}"
file
:
'
build-eclipse.yml'
-
template
:
"
Workflows/Branch-Pipelines.gitlab-ci.yml"
-
project
:
"
${HELPERS_PATH}"
file
:
'
helm-eclipse.yml'
lint
:
image
:
golangci/golangci-lint:latest
stage
:
test
tags
:
-
amd64-docker
script
:
-
golangci-lint --version
-
golangci-lint run
before_script
:
-
ln -s /builds /go/src/gitlab.com
-
cd /go/src/gitlab.com/${CI_PROJECT_PATH}/app
unit tests
:
image
:
golang:1.21.3
stage
:
test
tags
:
-
amd64-docker
script
:
-
go version
-
go test $(go list ./... | grep -v /integration) -race -coverprofile=coverage.out
-
go tool cover -func=coverage.out
before_script
:
-
ln -s /builds /go/src/gitlab.com
-
cd /go/src/gitlab.com/${CI_PROJECT_PATH}/app
coverage
:
'
/total:\s+\(statements\)\s+(\d+.\d+\%)/'
govulncheck
:
image
:
golang:1.21.3
stage
:
test
tags
:
-
amd64-docker
before_script
:
-
ln -s /builds /go/src/gitlab.com
-
cd /go/src/gitlab.com/${CI_PROJECT_PATH}/app
script
:
-
go version
-
go install golang.org/x/vuln/cmd/govulncheck@latest
-
govulncheck ./...
amd64
:
extends
:
.docker-build
stage
:
build
tags
:
-
amd64-docker
manifest
:
extends
:
.manifest-amd64
stage
:
manifest
cloud
:
extends
:
.manifest-cloud
stage
:
manifest
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.
.gitmodules
0 → 100644
+
3
−
0
View file @
f05114a8
[submodule "app"]
path = app
url = https://gitlab.eclipse.org/eclipse/xfsc/tsa/cache.git
This diff is collapsed.
Click to expand it.
app
@
127b4ae5
Subproject commit 127b4ae5eb0d105803afc87112e881c5f0eb8921
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