Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
shiny-k8s
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
shiny-k8s
Commits
fa7414e8
Commit
fa7414e8
authored
1 year ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
rename package
parent
4e1a9c4c
No related branches found
No related tags found
1 merge request
!23
Rename package
Pipeline
#132612
failed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
fa7414e8
...
...
@@ -5,8 +5,8 @@ upload:
needs
:
[]
image
:
harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
script
:
-
CHART_VERSION=$(helm show chart shiny-
server
| grep version | cut -d' ' -f2)
-
CHART_NAME=$(helm show chart shiny-
server
| grep name | cut -d' ' -f2)
-
CHART_VERSION=$(helm show chart shiny-
k8s-toolkit-helm
| grep version | cut -d' ' -f2)
-
CHART_NAME=$(helm show chart shiny-
k8s-toolkit-helm
| grep name | cut -d' ' -f2)
-
|
if [ "helm" == "${CI_COMMIT_REF_SLUG}" ]; then
export CHANNEL="stable"
...
...
@@ -14,7 +14,7 @@ upload:
export CHANNEL="${CI_COMMIT_REF_SLUG}"
fi
echo $CHANNEL
-
helm package shiny-
server
-
helm package shiny-
k8s-toolkit-helm
-
curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@${CHART_NAME}-${CHART_VERSION}.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/${CHANNEL}/charts"
...
...
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