Skip to content

Commit f28c69e

Browse files
feat: update references of bitnami image to binamilegacy (#13137)
* feat: update references of bitnami image to binamilegacy * update `actions/cache` to version 4.2.3, as existing version is deprecated and causing all jobs using it to error out --------- Co-authored-by: Github Actions <a.hasan@rasa.com>
1 parent d6829b6 commit f28c69e

8 files changed

Lines changed: 33 additions & 33 deletions

.devcontainer/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
# user: vscode
3030

3131
db:
32-
image: "bitnami/postgresql:11.15.0"
32+
image: "bitnamilegacy/postgresql:11.15.0"
3333
restart: unless-stopped
3434
volumes:
3535
- postgres-data:/bitnami/postgresql
@@ -47,7 +47,7 @@ services:
4747

4848
redis:
4949
restart: unless-stopped
50-
image: "bitnami/redis:6.2.7"
50+
image: "bitnamilegacy/redis:6.2.7"
5151
environment:
5252
REDIS_PASSWORD: "redis"
5353
expose:

.github/workflows/ci-docs-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Load Poetry Cached Libraries ⬇
6161
id: cache-poetry
62-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
62+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6363
with:
6464
path: .venv
6565
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -78,7 +78,7 @@ jobs:
7878
run: poetry config virtualenvs.in-project true
7979

8080
- name: Load Yarn Cached Packages ⬇
81-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
81+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
8282
with:
8383
path: docs/node_modules
8484
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
@@ -130,7 +130,7 @@ jobs:
130130

131131
- name: Load Poetry Cached Libraries ⬇
132132
id: cache-poetry
133-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
133+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
134134
with:
135135
path: .venv
136136
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -149,7 +149,7 @@ jobs:
149149
run: poetry config virtualenvs.in-project true
150150

151151
- name: Load Yarn Cached Packages ⬇
152-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
152+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
153153
with:
154154
path: docs/node_modules
155155
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}

.github/workflows/ci-github-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Load Poetry Cached Libraries ⬇
4747
id: cache-poetry
48-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
48+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4949
with:
5050
path: .venv
5151
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}

.github/workflows/ci-model-regression-on-schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ jobs:
297297
poetry-version: ${{ env.POETRY_VERSION }}
298298

299299
- name: Load Poetry Cached Libraries ⬇
300-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
300+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
301301
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
302302
with:
303303
path: ~/.cache/pypoetry/virtualenvs

.github/workflows/ci-model-regression.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ jobs:
385385
poetry-version: ${{ env.POETRY_VERSION }}
386386

387387
- name: Load Poetry Cached Libraries ⬇
388-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
388+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
389389
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
390390
with:
391391
path: ~/.cache/pypoetry/virtualenvs
@@ -630,7 +630,7 @@ jobs:
630630
poetry-version: ${{ env.POETRY_VERSION }}
631631

632632
- name: Load Poetry Cached Libraries ⬇
633-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
633+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
634634
if: steps.set_dataset_config_vars.outputs.is_dataset_exists == 'true' && steps.set_dataset_config_vars.outputs.is_config_exists == 'true'
635635
with:
636636
path: ~/.cache/pypoetry/virtualenvs

.github/workflows/continous-integration.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
- name: Load Poetry Cached Libraries ⬇
143143
id: cache-poetry
144144
if: needs.changes.outputs.backend == 'true'
145-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
145+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
146146
with:
147147
path: .venv
148148
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -247,12 +247,12 @@ jobs:
247247
- test-full-model-training
248248
- test-other-unit-tests
249249
- test-performance
250-
os: [ubuntu-24.04, windows-2019]
250+
os: [ubuntu-24.04, windows-2022]
251251
python-version: [3.8, 3.9, "3.10"]
252252

253253
steps:
254254
- name: Run DataDog Agent
255-
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2019' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
255+
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2022' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
256256
run: |
257257
docker run --name dd_agent -p 8126:8126 -d -e "DD_API_KEY=${{ secrets.DD_API_KEY }}" -e "DD_INSIDE_CI=true" -e "DD_HOSTNAME=none" -e "DD_SITE=datadoghq.eu" -e GITHUB_ACTIONS=true -e CI=true datadog/agent:latest
258258
docker ps --all --filter name=dd_agent --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
@@ -284,7 +284,7 @@ jobs:
284284
installer-parallel: true
285285

286286
- name: Install poetry (Windows) 🦄
287-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
287+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
288288
uses: Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec #v9
289289
with:
290290
poetry-version: ${{ env.POETRY_VERSION }}
@@ -299,7 +299,7 @@ jobs:
299299
- name: Load Poetry Cached Libraries ⬇
300300
id: cache-poetry
301301
if: needs.changes.outputs.backend == 'true'
302-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
302+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
303303
with:
304304
path: .venv
305305
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}
@@ -335,7 +335,7 @@ jobs:
335335
make prepare-tests-ubuntu
336336
337337
- name: Install Dependencies (Windows) 📦
338-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
338+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
339339
# Restoring cache doesn't work properly on Windows due to symlinks.
340340
# We create symlinks for spacy models, that's why we need to clean them up
341341
# before caching the dependencies directory.
@@ -361,7 +361,7 @@ jobs:
361361
run: pip install pytest-github-actions-annotate-failures
362362

363363
- name: Disable "LongPathsEnabled" option on Windows
364-
if: matrix.os == 'windows-2019'
364+
if: matrix.os == 'windows-2022'
365365
# On Windows laptops, a default preset prevents path names from being longer than
366366
# 260 characters. Some of our users can't enable this setting due to company policies.
367367
# We implemented a fix for model storage. The Windows container in GitHub
@@ -376,7 +376,7 @@ jobs:
376376
run: poetry run pip install -U 'ddtrace<2.0.0'
377377

378378
- name: Install ddtrace on Windows
379-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
379+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
380380
run: |
381381
.\.venv\Scripts\activate
382382
py -m pip install -U 'ddtrace<2.0.0'
@@ -416,12 +416,12 @@ jobs:
416416
strategy:
417417
fail-fast: false
418418
matrix:
419-
os: [ubuntu-24.04, windows-2019]
419+
os: [ubuntu-24.04, windows-2022]
420420
python-version: [3.8, 3.9, "3.10"]
421421

422422
steps:
423423
- name: Run DataDog Agent
424-
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2019' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
424+
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2022' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
425425
run: |
426426
docker run --name dd_agent -p 8126:8126 -d -e "DD_API_KEY=${{ secrets.DD_API_KEY }}" -e "DD_INSIDE_CI=true" -e "DD_HOSTNAME=none" -e "DD_SITE=datadoghq.eu" -e GITHUB_ACTIONS=true -e CI=true datadog/agent:latest
427427
docker ps --all --filter name=dd_agent --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
@@ -453,15 +453,15 @@ jobs:
453453
installer-parallel: true
454454

455455
- name: Install poetry (Windows) 🦄
456-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
456+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
457457
uses: Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec #v9
458458
with:
459459
poetry-version: ${{ env.POETRY_VERSION }}
460460

461461
- name: Load Poetry Cached Libraries ⬇
462462
id: cache-poetry
463463
if: needs.changes.outputs.backend == 'true'
464-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
464+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
465465
with:
466466
path: .venv
467467
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}
@@ -495,7 +495,7 @@ jobs:
495495
make prepare-tests-ubuntu
496496
497497
- name: Install Dependencies (Windows) 📦
498-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
498+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
499499
# Restoring cache doesn't work properly on Windows due to symlinks.
500500
# We create symlinks for spacy models, that's why we need to clean them up
501501
# before caching the dependencies' directory.
@@ -519,7 +519,7 @@ jobs:
519519
run: pip install pytest-github-actions-annotate-failures
520520

521521
- name: Disable "LongPathsEnabled" option on Windows
522-
if: matrix.os == 'windows-2019'
522+
if: matrix.os == 'windows-2022'
523523
# On Windows laptops, a default preset prevents path names from being longer than
524524
# 260 characters. Some of our users can't enable this setting due to company policies.
525525
# We implemented a fix for model storage. The Windows container in GitHub
@@ -534,7 +534,7 @@ jobs:
534534
run: poetry run pip install -U 'ddtrace<2.0.0'
535535

536536
- name: Install ddtrace on Windows
537-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
537+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
538538
run: |
539539
.\.venv\Scripts\activate
540540
py -m pip install -U 'ddtrace<2.0.0'
@@ -699,7 +699,7 @@ jobs:
699699
- name: Load Poetry Cached Libraries ⬇
700700
id: cache-poetry
701701
if: needs.changes.outputs.backend == 'true'
702-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
702+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
703703
with:
704704
path: .venv
705705
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}
@@ -789,7 +789,7 @@ jobs:
789789
- name: Load Poetry Cached Libraries ⬇
790790
id: cache-poetry
791791
if: needs.changes.outputs.backend == 'true'
792-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
792+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
793793
with:
794794
path: .venv
795795
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}

.github/workflows/documentation.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131

132132
- name: Load Poetry Cached Libraries ⬇
133133
id: cache-poetry
134-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
134+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
135135
with:
136136
path: .venv
137137
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -149,7 +149,7 @@ jobs:
149149
run: poetry config virtualenvs.in-project true
150150

151151
- name: Load Yarn Cached Packages ⬇
152-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
152+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
153153
with:
154154
path: docs/node_modules
155155
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
@@ -226,7 +226,7 @@ jobs:
226226
- name: Load Poetry Cached Libraries ⬇
227227
id: cache-poetry
228228
if: needs.changes.outputs.docs == 'true'
229-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
229+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
230230
with:
231231
path: .venv
232232
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -246,7 +246,7 @@ jobs:
246246

247247
- name: Load Yarn Cached Packages ⬇
248248
if: needs.changes.outputs.docs == 'true'
249-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
249+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
250250
with:
251251
path: docs/node_modules
252252
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
@@ -299,7 +299,7 @@ jobs:
299299
node-version: "12.x"
300300

301301
- name: Load Yarn Cached Packages ⬇
302-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
302+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
303303
with:
304304
path: docs/node_modules
305305
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}

.github/workflows/security-scans.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- name: Load Poetry Cached Libraries ⬇
105105
id: cache-poetry
106106
if: needs.changes.outputs.backend == 'true'
107-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
107+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
108108
with:
109109
path: .venv
110110
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}

0 commit comments

Comments
 (0)