File tree Expand file tree Collapse file tree 9 files changed +1007
-700
lines changed Expand file tree Collapse file tree 9 files changed +1007
-700
lines changed Original file line number Diff line number Diff line change 64
64
attributes :
65
65
label : Selenium Grid chart version (chart version)
66
66
description : What version of Selenium Grid chart are you using?
67
- placeholder : 0.34.2 ?
67
+ placeholder : 0.35.0 ?
68
68
validations :
69
69
required : false
Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ jobs:
101
101
run : echo ${LATEST_TAG}
102
102
- name : Update tag in docs and files
103
103
run : ./update_tag_in_docs_and_files.sh ${LATEST_TAG} ${NEXT_TAG}
104
+ - name : Update chart configuration docs
105
+ run : make generate_readme_charts
104
106
- name : Build Helm chart
105
107
uses : nick-invision/retry@master
106
108
with :
Original file line number Diff line number Diff line change 99
99
with :
100
100
python-version : ' 3.11'
101
101
check-latest : true
102
+ - name : Verify chart configuration up-to-date
103
+ run : make lint_readme_charts
102
104
- name : Get branch name (only for push to branch)
103
105
if : github.event_name == 'push'
104
106
run : echo "BRANCH=$(echo ${PUSH_BRANCH##*/})" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -67,7 +67,23 @@ format_shell_scripts:
67
67
EXIT_CODE =$$? ; \
68
68
if [ $$EXIT_CODE -ne 0 ]; then \
69
69
echo "Some shell scripts are not formatted. Please run 'make format_shell_scripts' to format and update them." ; \
70
- exit 1 ; \
70
+ exit $$EXIT_CODE ; \
71
+ fi ; \
72
+ exit $$EXIT_CODE
73
+
74
+ generate_readme_charts :
75
+ if [ ! -f $$ HOME/go/bin/helm-docs ] ; then \
76
+ echo " helm-docs is not installed. Please install it or run 'make setup_dev_env' once." ; \
77
+ else \
78
+ $$ HOME/go/bin/helm-docs --chart-search-root charts/selenium-grid --output-file CONFIGURATION.md --sort-values-order file ; \
79
+ fi
80
+
81
+ lint_readme_charts : generate_readme_charts
82
+ git diff --stat --exit-code ; \
83
+ EXIT_CODE=$$? ; \
84
+ if [ $$ EXIT_CODE -ne 0 ]; then \
85
+ echo " New changes in chart. Please run 'make generate_readme_charts' to update them." ; \
86
+ exit $$ EXIT_CODE ; \
71
87
fi ; \
72
88
exit $$EXIT_CODE
73
89
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -25,5 +25,6 @@ dependencies:
25
25
maintainers :
26
26
- name : SeleniumHQ
27
27
28
+ url : https://github.com/SeleniumHQ
28
29
sources :
29
30
- https://github.com/SeleniumHQ/docker-selenium
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -156,6 +156,10 @@ sudo cp -frp /opt/ct/etc /etc/ct
156
156
rm -rf ct.tar.gz
157
157
ct version
158
158
echo " ==============================="
159
+ echo " Installing helm-docs for AMD64 / ARM64"
160
+ go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest
161
+ $HOME /go/bin/helm-docs -h
162
+ echo " ==============================="
159
163
echo " Installing envsubst for AMD64 / ARM64"
160
164
ENVSUBST_VERSION=" v1.4.2"
161
165
ARCH=$( if [ " $( dpkg --print-architecture) " = " amd64" ]; then echo " x86_64" ; else echo " $( dpkg --print-architecture) " ; fi)
You can’t perform that action at this time.
0 commit comments