Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hereon Helm Chart
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
Service Desk
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
HCDC
Software Templates
Hereon Helm Chart
Commits
b849f0da
Commit
b849f0da
authored
9 months ago
by
Philipp S. Sommer
Browse files
Options
Downloads
Plain Diff
Merge branch 'dockerfile' into 'main'
add dockerfilePath to values.yaml See merge request
!43
parents
05ae344d
ae89bf17
No related branches found
Branches containing commit
No related tags found
1 merge request
!43
add dockerfilePath to values.yaml
Pipeline
#386942
passed
9 months ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
{{cookiecutter.project_slug}}/templates/{{cookiecutter.template_base_name}}/buildconfig.yaml
+12
-2
12 additions, 2 deletions
...ates/{{cookiecutter.template_base_name}}/buildconfig.yaml
{{cookiecutter.project_slug}}/values.yaml
+8
-0
8 additions, 0 deletions
{{cookiecutter.project_slug}}/values.yaml
with
20 additions
and
2 deletions
{{cookiecutter.project_slug}}/templates/{{cookiecutter.template_base_name}}/buildconfig.yaml
+
12
−
2
View file @
b849f0da
...
...
@@ -26,10 +26,20 @@ spec:
sourceSecret
:
name
:
k8sgitlab
{
%
- if stages %
}{
%
raw %
}{{
- if eq $stage "staging"
}}{
%
endraw %
}{
%
endif %
}
contextDir
:
"
{%
raw
%}{{
$.Values.contextDir
}}{%
endraw
%}"
contextDir
:
{
%
raw %
}{{
$.Values.contextDir | quote
}}{
%
endraw %
}
{
%
- raw %
}
{{
- if $.Values.dockerfilePath
}}
dockerfilePath
:
{{
$.Values.dockerfilePath | quote
}}
{{
- end
}}
{
%
- endraw %
}
{
%
- if stages %
}
{
%
raw %
}{{
- else if eq $stage "test"
}}{
%
endraw %
}
contextDir
:
"
{%
raw
%}{{
$.Values.testContextDir
}}{%
endraw
%}"
contextDir
:
{
%
raw %
}{{
$.Values.testContextDir | quote
}}{
%
endraw %
}
{
%
- raw %
}
{{
- if $.Values.testDockerfilePath
}}
dockerfilePath
:
{{
$.Values.testDockerfilePath | quote
}}
{{
- end
}}
{
%
- endraw %
}
{
%
raw %
}{{
- end
}}{
%
endraw %
}
{
%
raw %
}{{
- else
}}{
%
endraw %
}
dockerfile
:
|
...
...
This diff is collapsed.
Click to expand it.
{{cookiecutter.project_slug}}/values.yaml
+
8
−
0
View file @
b849f0da
...
...
@@ -71,11 +71,19 @@ buildTriggers: []
# directory in the git repository where the Dockerfile is located
contextDir
:
"
docker/{{
cookiecutter.template_base_name
}}"
# path to the Dockerfile, relative to the given contextDir. If empty,
# Dockerfile is used
dockerfilePath
:
null
{
%
- if cookiecutter.include_build_test_stage == "yes" %
}
# directory in the git repository where the Dockerfile for the test setup is
# located
testContextDir
:
"
docker/{{
cookiecutter.template_base_name
}}/tests"
# path to the Dockerfile for the test stage, relative to the given
# testContextDir. If empty, Dockerfile is used
testDockerfilePath
:
null
{
%
- endif %
}
{
%
- if cookiecutter.include_build_test_stage == "yes" %
}
...
...
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