Skip to content

Commit ead4614

Browse files
dionisio-bot[bot]ggazzodebdutdebjulio-rocketchat
authored
ci: Remove debian and preview images (#35983)
Co-authored-by: Guilherme Gazzo <guilhermegazzo@gmail.com> Co-authored-by: Debdut Chakraborty <debdutdeb@outlook.com> Co-authored-by: Julio Araujo <julio.araujo@rocket.chat>
1 parent 16f97a0 commit ead4614

File tree

11 files changed

+40
-176
lines changed

11 files changed

+40
-176
lines changed

.github/actions/build-docker-image/action.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

.github/actions/build-docker/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ inputs:
1616
platform:
1717
required: false
1818
description: 'Platform'
19-
type: string
19+
default: 'alpine'
2020
build-containers:
2121
required: false
2222
description: 'Containers to build along with Rocket.Chat'
@@ -84,8 +84,8 @@ runs:
8484
- run: yarn build
8585
if: inputs.setup == 'true'
8686
shell: bash
87-
- if: ${{ inputs.platform == 'official' }}
88-
uses: actions/cache@v3
87+
- if: ${{ inputs.platform == 'alpine' }}
88+
uses: actions/cache@v4
8989
with:
9090
path: /tmp/build/matrix-sdk-crypto.linux-x64-musl.node
9191
key: matrix-rust-sdk-crypto-nodejs-v0.2.0-beta.1

.github/actions/meteor-build/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,23 @@ runs:
4646
# df -h
4747

4848
- name: Cache vite
49-
uses: actions/cache@v3
49+
uses: actions/cache@v4
5050
with:
5151
path: ./node_modules/.vite
5252
key: vite-local-cache-${{ runner.OS }}-${{ hashFiles('package.json') }}
5353
restore-keys: |
5454
vite-local-cache-${{ runner.os }}-
5555
5656
- name: Cache meteor local
57-
uses: actions/cache@v3
57+
uses: actions/cache@v4
5858
with:
5959
path: ./apps/meteor/.meteor/local
6060
key: meteor-local-cache-${{ runner.OS }}-${{ hashFiles('apps/meteor/.meteor/versions') }}
6161
restore-keys: |
6262
meteor-local-cache-${{ runner.os }}-
6363
6464
- name: Cache meteor
65-
uses: actions/cache@v3
65+
uses: actions/cache@v4
6666
with:
6767
path: ~/.meteor
6868
key: meteor-cache-${{ runner.OS }}-${{ hashFiles('apps/meteor/.meteor/release') }}

.github/actions/setup-node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
- name: Cache Node Modules & Deno
3737
if: inputs.cache-modules
3838
id: cache-node-modules
39-
uses: actions/cache@v3
39+
uses: actions/cache@v4
4040
with:
4141
# We need to cache node_modules for all workspaces with "hoistingLimits" defined
4242
path: |

.github/workflows/ci-code-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
name: turbo-build
5656
path: .turbo/cache
5757
- name: Cache TypeCheck
58-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5959
if: matrix.check == 'ts'
6060
with:
6161
path: ./apps/meteor/tsconfig.typecheck.tsbuildinfo
@@ -70,7 +70,7 @@ jobs:
7070
run: yarn turbo run typecheck
7171

7272
- name: Cache eslint
73-
uses: actions/cache@v3
73+
uses: actions/cache@v4
7474
if: matrix.check == 'lint'
7575
with:
7676
path: ./apps/meteor/.eslintcache

.github/workflows/ci-test-e2e.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ on:
1818
rc-docker-tag:
1919
required: true
2020
type: string
21-
rc-dockerfile-debian:
22-
required: true
23-
type: string
24-
rc-docker-tag-debian:
25-
required: true
26-
type: string
2721
gh-docker-tag:
2822
required: true
2923
type: string
@@ -83,16 +77,16 @@ jobs:
8377
test:
8478
runs-on: ubuntu-24.04
8579
env:
86-
RC_DOCKERFILE: ${{ matrix.mongodb-version == '7.0' && inputs.rc-dockerfile-debian || inputs.rc-dockerfile }}
87-
RC_DOCKER_TAG: ${{ matrix.mongodb-version == '7.0' && inputs.rc-docker-tag-debian || inputs.rc-docker-tag }}
80+
RC_DOCKERFILE: ${{ inputs.rc-dockerfile }}.${{ (matrix.mongodb-version == '7.0' && 'debian' && false) || 'alpine' }}
81+
RC_DOCKER_TAG: ${{ inputs.rc-docker-tag }}-${{ (matrix.mongodb-version == '7.0' && 'debian' && false) || 'alpine' }}
8882

8983
strategy:
9084
fail-fast: false
9185
matrix:
9286
mongodb-version: ${{ fromJSON(inputs.mongodb-version) }}
9387
shard: ${{ fromJSON(inputs.shard) }}
9488

95-
name: MongoDB ${{ matrix.mongodb-version }}${{ inputs.db-watcher-disabled == 'true' && ' [no watchers]' || '' }} (${{ matrix.shard }}/${{ inputs.total-shard }}) - ${{ matrix.mongodb-version == '7.0' && 'Debian' || 'Alpine (Official)' }}
89+
name: MongoDB ${{ matrix.mongodb-version }}${{ inputs.db-watcher-disabled == 'true' && ' [no watchers]' || '' }} (${{ matrix.shard }}/${{ inputs.total-shard }}) - ${{ (matrix.mongodb-version == '7.0' && 'Debian' && false) || 'Alpine (Official)' }}
9690

9791
steps:
9892
- name: Collect Workflow Telemetry
@@ -202,18 +196,18 @@ jobs:
202196
run: |
203197
docker compose -f docker-compose-ci.yml up -d
204198
205-
- name: Cache Playwright binaries
199+
- name: Cache Playwright binaries
206200
if: inputs.type == 'ui'
207-
uses: actions/cache@v3
201+
uses: actions/cache@v4
208202
id: cache-playwright
209203
with:
210204
path: |
211205
~/.cache/ms-playwright
212206
# This is the version of Playwright that we are using, if you are willing to upgrade, you should update this.
213-
key: playwright-1.40.1
207+
key: playwright-1.52.0
214208

215209
- name: Install Playwright
216-
if: inputs.type == 'ui' && steps.cache-playwright.outputs.cache-hit != 'true'
210+
if: inputs.type == 'ui' # && steps.cache-playwright.outputs.cache-hit != 'true'
217211
working-directory: ./apps/meteor
218212
run: npx playwright install --with-deps
219213

0 commit comments

Comments
 (0)