Skip to content

Commit b5913e1

Browse files
authored
Merge branch 'trunk' into renovate/postgresql-16.x
2 parents 278f641 + a841309 commit b5913e1

30 files changed

+349
-179
lines changed

.ffmpeg/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ARG VERSION_FFMPEG="7.1"
33
ARG VERSION_RCLONE="v1.68.2"
44
ARG VERSION_GO="latest"
55
ARG GO_CRYPTO_VERSION="v0.31.0"
6+
ARG GO_NET_VERSION="v0.33.0"
67

78
USER root
89

@@ -33,6 +34,7 @@ RUN cd /usr/local/src \
3334
&& git checkout $VERSION_RCLONE \
3435
# Patch deps version in go.mod to fix CVEs
3536
&& sed -i "s|golang.org/x/crypto v.*|golang.org/x/crypto ${GO_CRYPTO_VERSION}|g" go.mod \
37+
&& sed -i "s|golang.org/x/net v.*|golang.org/x/net ${GO_NET_VERSION}|g" go.mod \
3638
&& go mod tidy \
3739
# Build rclone
3840
&& make \

.github/workflows/build-ffmpeg.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Build and Deploy FFmpeg
22

33
on:
44
push:
5+
branches:
6+
- trunk
57
paths:
68
- '.ffmpeg/Dockerfile'
79
pull_request:

.github/workflows/build-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,19 @@ on:
1616
type: boolean
1717
default: true
1818
push:
19+
branches:
20+
- trunk
1921
paths-ignore:
2022
- '**.md'
23+
- '.*'
2124
pull_request:
2225
paths-ignore:
2326
- '**.md'
2427

28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.ref == github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
30+
cancel-in-progress: true
31+
2532
permissions: write-all
2633

2734
env:
@@ -33,14 +40,17 @@ env:
3340

3441
jobs:
3542
docker-test:
43+
if: contains(toJson(github.event.commits), '[skip test]') == false
3644
name: Test Seleium Grid on Docker
3745
uses: ./.github/workflows/docker-test.yml
3846
with:
3947
release: ${{ inputs.release == 'true' }}
4048

4149
helm-chart-test:
50+
if: contains(toJson(github.event.commits), '[skip test]') == false
4251
name: Test Selenium Grid on Kubernetes
4352
uses: ./.github/workflows/helm-chart-test.yml
53+
secrets: inherit
4454
with:
4555
release: ${{ inputs.release == 'true' }}
4656

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
deploy:
4444
needs:
4545
- build-test
46-
if: (contains(toJson(github.event.commits), '[deploy]') || (github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true')) && !failure() && !cancelled()
46+
if: (contains(toJson(github.event.commits), '[deploy]') == true || (github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true')) && !failure() && !cancelled()
4747
name: Deploy and Release
4848
runs-on: blacksmith-8vcpu-ubuntu-2204
4949
permissions: write-all
@@ -174,7 +174,7 @@ jobs:
174174
run: |
175175
git config --local user.email "[email protected]"
176176
git config --local user.name "Selenium CI Bot"
177-
git commit -m "Update tag ${RELEASE_TAG} in docs and files" -a
177+
git commit -m "[ci] Update tag ${RELEASE_TAG} in docs and files" -m "[skip test]" -a
178178
env:
179179
RELEASE_TAG: "${{ env.GRID_VERSION }}-${{ env.BUILD_DATE }}"
180180
- name: Push changes

.github/workflows/helm-chart-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333

3434
jobs:
3535
helm-chart-test:
36-
if: github.event.inputs.skip-test != 'true'
36+
if: github.event.inputs.skip-test != 'true' && contains(toJson(github.event.commits), '[skip test]') == false
3737
uses: ./.github/workflows/helm-chart-test.yml
3838
with:
3939
release: ${{ github.event.inputs.release == 'true' }}
@@ -114,7 +114,7 @@ jobs:
114114
run: |
115115
git config --local user.email "[email protected]"
116116
git config --local user.name "Selenium CI Bot"
117-
git commit -m "Update chart ${LATEST_CHART_VERSION} changelog [skip ci]" -a || true
117+
git commit -m "[ci] Update chart ${LATEST_CHART_VERSION} changelog" -m "[skip ci]" -a || true
118118
119119
- name: Push changes
120120
if: github.event.inputs.skip-commit != 'true'

.github/workflows/helm-chart-test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Test Helm Charts
22

33
on:
44
workflow_call:
5+
secrets:
6+
DOCKER_USERNAME:
7+
required: false
8+
DOCKER_PASSWORD:
9+
required: false
510
inputs:
611
release:
712
description: 'Test a new release process'
@@ -142,7 +147,6 @@ jobs:
142147
- name: Sets build date
143148
run: |
144149
echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
145-
echo "IMAGE_REGISTRY=artifactory/selenium" >> $GITHUB_ENV
146150
echo "AUTHORS=${AUTHORS}" >> $GITHUB_ENV
147151
env:
148152
AUTHORS: ${{ vars.AUTHORS || 'SeleniumHQ' }}
@@ -158,6 +162,11 @@ jobs:
158162
max_attempts: 3
159163
retry_wait_seconds: 60
160164
command: NAME=${IMAGE_REGISTRY} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make build
165+
- name: Login Docker Hub
166+
run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
167+
env:
168+
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
169+
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
161170
- name: Setup Kubernetes cluster
162171
uses: nick-invision/retry@master
163172
with:

.github/workflows/k8s-scaling-test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Test Grid Autoscaling in Kubernetes
22

33
on:
44
workflow_call:
5+
secrets:
6+
DOCKER_USERNAME:
7+
required: false
8+
DOCKER_PASSWORD:
9+
required: false
510
inputs:
611
release:
712
description: 'Test a new release process'
@@ -36,6 +41,10 @@ on:
3641
type: string
3742
default: '20'
3843

44+
concurrency:
45+
group: ${{ github.workflow }}-${{ github.ref == github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
46+
cancel-in-progress: true
47+
3948
permissions:
4049
contents: write
4150
pull-requests: write
@@ -135,10 +144,14 @@ jobs:
135144
- name: Sets build date
136145
run: |
137146
echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
138-
echo "IMAGE_REGISTRY=artifactory/selenium" >> $GITHUB_ENV
139147
echo "AUTHORS=${AUTHORS}" >> $GITHUB_ENV
140148
env:
141149
AUTHORS: ${{ vars.AUTHORS || 'SeleniumHQ' }}
150+
- name: Login Docker Hub
151+
run: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
152+
env:
153+
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
154+
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
142155
- name: Setup Kubernetes cluster
143156
uses: nick-invision/retry@master
144157
with:
@@ -205,7 +218,7 @@ jobs:
205218
git config --local user.email "[email protected]"
206219
git config --local user.name "Selenium CI Bot"
207220
git add .keda/.
208-
git commit -m "[ci] Upload autoscaling in K8s test results [skip ci]" -a
221+
git commit -m "[ci] Upload autoscaling in K8s test results" -m "[skip ci]" -a
209222
- name: Push changes
210223
uses: ad-m/github-push-action@master
211224
with:

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: 'Lock Issues'
44
on:
55
workflow_dispatch:
66
schedule:
7-
- cron: '0 0 * * *'
7+
- cron: '0 23 * * *'
88

99
permissions:
1010
issues: write

.github/workflows/update-chart-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
git config --local user.email "[email protected]"
4545
git config --local user.name "Selenium CI Bot"
46-
git commit -m "Update chart configuration table" -a
46+
git commit -m "[ci] Update chart configuration table" -m "[skip test]" -a
4747
- name: Push changes
4848
if: env.diff == 'true'
4949
uses: ad-m/github-push-action@master

.keda/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,16 @@ You can involve to review and discuss the pull requests to help us early detect
4949

5050
[kedacore/keda](https://github.com/kedacore/keda)
5151

52-
- https://github.com/kedacore/keda/pull/6368
52+
- ~~https://github.com/kedacore/keda/pull/6437 (merged, v2.16.1)~~
53+
54+
- ~~https://github.com/kedacore/keda/pull/6368 (merged, v2.16.1)~~
5355

5456
- ~~https://github.com/kedacore/keda/pull/6169 (merged, v2.16.0)~~
5557

5658
[kedacore/keda-docs](https://github.com/kedacore/keda-docs)
5759

60+
- https://github.com/kedacore/keda-docs/pull/1515
61+
5862
- ~~https://github.com/kedacore/keda-docs/pull/1468 (merged, v2.16.0)~~
5963

6064
# Test results of the patch scaler

0 commit comments

Comments
 (0)