-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAK] Remove support to old MongoDB versions (#26098)
Co-authored-by: Kevin Aleman <[email protected]> Co-authored-by: Debdut Chakraborty <[email protected]>
- Loading branch information
1 parent
f1a3ab6
commit 4d99ef0
Showing
2 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,11 @@ jobs: | |
echo "github.event_name: ${{ github.event_name }}" | ||
cat $GITHUB_EVENT_PATH | ||
- name: Set Swap Space | ||
uses: pierotofy/set-swap-space@master | ||
with: | ||
swap-size-gb: 4 | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 14.18.3 | ||
|
@@ -220,7 +225,7 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: ['14.18.3'] | ||
mongodb-version: ['3.6', '4.0', '4.2', '4.4', '5.0'] | ||
mongodb-version: ['4.2', '4.4', '5.0'] | ||
|
||
steps: | ||
- name: Launch MongoDB | ||
|
@@ -379,13 +384,13 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: ['14.18.3'] | ||
mongodb-version: ['4.4'] | ||
mongodb-version-ee: ['4.4'] | ||
|
||
steps: | ||
- name: Launch MongoDB | ||
uses: wbari/[email protected] | ||
with: | ||
mongoDBVersion: ${{ matrix.mongodb-version }} --replSet=rs0 | ||
mongoDBVersion: ${{ matrix.mongodb-version-ee }} --replSet=rs0 | ||
|
||
- name: Launch NATS | ||
run: sudo docker run --name nats -d -p 4222:4222 nats:2.4 | ||
|
@@ -753,7 +758,7 @@ jobs: | |
aws s3 cp $ROCKET_DEPLOY_DIR/ s3://download.rocket.chat/build/ --recursive | ||
curl -H "Content-Type: application/json" -H "X-Update-Token: $UPDATE_TOKEN" -d \ | ||
"{\"nodeVersion\": \"14.18.3\", \"compatibleMongoVersions\": [\"3.6\", \"4.0\", \"4.2\", \"4.4\", \"5.0\"], \"commit\": \"$GITHUB_SHA\", \"tag\": \"$RC_VERSION\", \"branch\": \"$GIT_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"$RC_RELEASE\"}" \ | ||
"{\"nodeVersion\": \"14.18.3\", \"compatibleMongoVersions\": [\"4.2\", \"4.4\", \"5.0\"], \"commit\": \"$GITHUB_SHA\", \"tag\": \"$RC_VERSION\", \"branch\": \"$GIT_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"$RC_RELEASE\"}" \ | ||
https://releases.rocket.chat/update | ||
# Makes build fail if the release isn't there | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters