Skip to content

Commit

Permalink
new 7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb committed Nov 11, 2024
1 parent b05e90c commit ce5dac0
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and test snap

on:
pull_request:
branches:
- develop

jobs:
variables:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.vars.outputs.tag }}
steps:
- uses: actions/checkout@v3
- id: vars
shell: bash
run: |
tag="$(awk -F: '/version/ { print $2 }' snap/snapcraft.yaml | tr -d '[:space:]')"
echo "tag: $tag"
echo "tag=$tag" >> $GITHUB_OUTPUT
build-and-test:
uses: RocketChat/server-snap/.github/workflows/test.yml@develop
needs: [variables]
with:
tag: ${{ needs.variables.outputs.tag }}

2 changes: 1 addition & 1 deletion MONGO_UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 1. Enable migration

```sh
chmod +x migrations/pre_refresh/feature_compatibility/00-adopt-version.sh
chmod +x migrations/pre_refresh/feature_compatibility/00-adopt_version.sh
```

This migration or pre-refresh script will make sure the feature compatibility version of the existing mongodb instance is set correctly for the update to pass through successfully.
Expand Down
Empty file modified migrations/pre_refresh/feature_compatibity/00-adopt_version.sh
100644 → 100755
Empty file.
13 changes: 8 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: rocketchat-server
title: Rocket.Chat Server
base: core20
version: 6.7.0
version: 7.0.0
summary: An Open Source Slack Alternative
description: |
Have your own Slack like online chat, built with Meteor. https://rocket.chat/
epoch: 10
epoch: 10*

grade: stable
confinement: strict
Expand Down Expand Up @@ -78,7 +78,8 @@ parts:
# - on amd64: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.0.27.tgz
#- on amd64: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.17.tgz
#- on amd64: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-4.4.15.tgz
- on amd64: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.15.tgz
# - on amd64: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.15.tgz
- on amd64: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-6.0.19.tgz
# - on arm64: https://fastdl.mongodb.org/linux/mongodb-linux-arm64-ubuntu1604-3.6.23.tgz
- on arm64: https://fastdl.mongodb.org/linux/mongodb-linux-arm64-ubuntu1604-4.0.28.tgz
stage-packages:
Expand Down Expand Up @@ -111,7 +112,8 @@ parts:
plugin: dump
source:
#- on amd64: https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2004-x86_64-100.5.0.tgz
- on amd64: https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2004-x86_64-100.7.0.tgz
# - on amd64: https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2004-x86_64-100.7.0.tgz
- on amd64: https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2004-x86_64-100.10.0.tgz
# - on arm64: https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2004-arm64-100.5.0.tgz
stage:
- bin/mongodump
Expand All @@ -123,7 +125,8 @@ parts:
#- on amd64: https://nodejs.org/download/release/v12.22.8/node-v12.22.8-linux-x64.tar.gz
#- on amd64: https://nodejs.org/download/release/v14.18.3/node-v14.18.3-linux-x64.tar.xz
#- on amd64: https://nodejs.org/download/release/v14.19.3/node-v14.19.3-linux-x64.tar.xz
- on amd64: https://nodejs.org/download/release/v14.21.2/node-v14.21.2-linux-x64.tar.xz
# - on amd64: https://nodejs.org/download/release/v14.21.2/node-v14.21.2-linux-x64.tar.xz
- on amd64: https://nodejs.org/dist/v20.18.0/node-v20.18.0-linux-x64.tar.xz
#- on arm64: https://nodejs.org/download/release/v12.22.8/node-v12.22.8-linux-arm64.tar.gz
- on arm64: https://nodejs.org/download/release/v14.18.3/node-v14.18.3-linux-arm64.tar.gz
stage:
Expand Down

0 comments on commit ce5dac0

Please sign in to comment.