@@ -88,23 +88,39 @@ jobs:
88
88
max_attempts : 3
89
89
retry_wait_seconds : 60
90
90
command : PLATFORMS="${PLATFORMS}" VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build
91
+ - name : Build Helm chart
92
+ uses : nick-invision/retry@master
93
+ with :
94
+ timeout_minutes : 5
95
+ max_attempts : 3
96
+ retry_wait_seconds : 10
97
+ command : |
98
+ make chart_build_nightly
99
+ echo "CHART_PACKAGE_PATH=$(cat /tmp/selenium_chart_version)" >> $GITHUB_ENV
100
+ echo "CHART_FILE_NAME=$(basename $(cat /tmp/selenium_chart_version))" >> $GITHUB_ENV
91
101
- name : Login Docker Hub
92
- run : docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
102
+ run : |
103
+ docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
104
+ helm registry login registry-1.docker.io -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
93
105
env :
94
106
DOCKER_USERNAME : ${{secrets.DOCKER_USERNAME}}
95
107
DOCKER_PASSWORD : ${{secrets.DOCKER_PASSWORD}}
96
108
- name : Tag images as nightly
109
+ run : VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_nightly
110
+ - name : Deploy nightly tag
97
111
uses : nick-invision/retry@master
98
112
with :
99
113
timeout_minutes : 20
100
114
max_attempts : 3
101
- command : VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_nightly
102
- - name : Deploy nightly tag
115
+ retry_wait_seconds : 120
116
+ command : VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_nightly
117
+ - name : Push Helm chart to registry
103
118
uses : nick-invision/retry@master
104
119
with :
105
120
timeout_minutes : 20
106
121
max_attempts : 3
107
- command : VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_nightly
122
+ retry_wait_seconds : 120
123
+ command : make chart_release
108
124
- name : Get current latest tag
109
125
run : echo "LATEST_TAG=$(git describe --tags --abbrev=0 --exclude=nightly --exclude=selenium-grid*)" >> $GITHUB_ENV
110
126
- name : Display latest tag
@@ -122,11 +138,6 @@ jobs:
122
138
check-latest : true
123
139
- name : Update tag in docs and files
124
140
run : ./update_tag_in_docs_and_files.sh ${LATEST_TAG} ${NEXT_TAG}
125
- - name : Build and lint charts
126
- run : |
127
- make chart_build_nightly
128
- echo "CHART_PACKAGE_PATH=$(cat /tmp/selenium_chart_version)" >> $GITHUB_ENV
129
- echo "CHART_FILE_NAME=$(basename $(cat /tmp/selenium_chart_version))" >> $GITHUB_ENV
130
141
- name : Delete previous nightly tag if any
131
142
uses : cb80/delrel@main
132
143
with :
0 commit comments