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
Merge requests
!21
Fix buildsecret
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix buildsecret
fix-buildsecret
into
main
Overview
0
Commits
4
Pipelines
2
Changes
5
Merged
Philipp S. Sommer
requested to merge
fix-buildsecret
into
main
1 year ago
Overview
0
Commits
4
Pipelines
2
Changes
5
Expand
this MR fixes an indentation issue with build secrets
0
0
Merge request reports
Compare
main
version 1
ac52834c
1 year ago
main (base)
and
latest version
latest version
39e799b3
4 commits,
1 year ago
version 1
ac52834c
3 commits,
1 year ago
5 files
+
54
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
test/test_helper/template-helpers/src/lint_chart.bash
0 → 100644
+
28
−
0
Options
# lint chart
# ==========
#
# Summary: Lint the chart and test if everything is ok
#
# Usage: lint_chart <config>
# Options:
# <config> The JSON-encoded configuration that you want to lint
#
# IO:
# STDERR - the failed expression, on failure
# Globals:
# none
# Returns:
# 0 - if the template has been created successfully
# 1 - otherwise
#
# ```bash
# @test 'lint()' {
# lint_chart '{"some_param": "test"}'
# }
# ```
#
lint_chart
()
{
echo
"
$1
"
>>
"
${
PROJECT_FOLDER
}
/linter_values.yaml"
helm lint
-f
${
PROJECT_FOLDER
}
/linter_values.yaml
${
PROJECT_FOLDER
}
}
Loading