Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
helmcharts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
varac-projects
helmcharts
Commits
7064f09f
Verified
Commit
7064f09f
authored
3 years ago
by
Varac
Browse files
Options
Downloads
Patches
Plain Diff
Install curl
parent
e75ae8be
No related branches found
No related tags found
No related merge requests found
Pipeline
#68591
passed
3 years ago
Stage: test
Stage: package
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
with
6 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
7064f09f
# https://docs.gitlab.com/ee/user/packages/helm_repository/
include
:
-
remote
:
https://open.greenhost.net/stackspin/stackspin/raw/main/.gitlab/ci_templates/kaniko.yml
...
...
@@ -28,12 +29,17 @@ package_charts:
name
:
alpine/helm:3.7.1
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
script
:
# The helm-push command is broken in Helm 3.7. For more information,
# see the open issue in the Chart Museum project:
# https://github.com/chartmuseum/helm-push/issues/109
-
apk add curl
-
mkdir public/
-
helm package -d public/ $CHART
# - helm repo index public/ --url https://charts.oas.varac.net
# - apk add markdown
# - markdown README.md > public/index.html
-
'
chart_filename=$(ls
public/${CHART}*)'
-
ls $chart_filename
-
'
curl
--request
POST
--user
gitlab-ci-token:$CI_JOB_TOKEN
--form
"chart=@${chart_filename}"
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
parallel
:
!reference
[
.charts
,
parallel
]
artifacts
:
...
...
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