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
2d8ff763
You need to sign in or sign up before continuing.
Commit
2d8ff763
authored
1 year ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
add first test
parent
01e1d194
No related branches found
No related tags found
1 merge request
!24
Add tests
Pipeline
#132713
failed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+28
-2
28 additions, 2 deletions
.gitlab-ci.yml
with
28 additions
and
2 deletions
.gitlab-ci.yml
+
28
−
2
View file @
2d8ff763
generate
:
stage
:
test
needs
:
[]
image
:
harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
script
:
-
mkdir -p out-templates
-
helm dependency update ./test-chart/
-
helm template toto ./test-chart/ > out-templates/template.yaml
artifacts
:
paths
:
-
templates
expire_in
:
1 week
test
:
stage
:
test
needs
:
[
"
generate"
]
image
:
docker:24
script
:
-
docker run -v ./out-templates:/dir stackrox/kube-linter lint /dir
upload
:
upload
:
only
:
-
helm
stage
:
build
stage
:
build
needs
:
[]
needs
:
[
"
test"
]
image
:
harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
image
:
harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
script
:
script
:
-
CHART_VERSION=$(helm show chart shiny-k8s-toolkit-helm | grep version | cut -d' ' -f2)
-
CHART_VERSION=$(helm show chart shiny-k8s-toolkit-helm | grep version | cut -d' ' -f2)
...
@@ -20,6 +44,8 @@ upload:
...
@@ -20,6 +44,8 @@ upload:
trigger_job
:
trigger_job
:
only
:
-
helm
needs
:
[
"
upload"
]
needs
:
[
"
upload"
]
trigger
:
trigger
:
project
:
hub/shiny-k8s-example
project
:
hub/shiny-k8s-example
\ No newline at end of file
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