Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

BC-7461 - upgrade mongodb to v6 on ubuntu installation #455

Merged
merged 11 commits into from
Jul 11, 2024
2 changes: 1 addition & 1 deletion .github/workflows/e2e_call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
env:
DOCKER_ID: ${{ secrets.DOCKER_ID }}
MY_DOCKER_PASSWORD: ${{ secrets.MY_DOCKER_PASSWORD }}
run: curl "https://raw.githubusercontent.com/hpi-schul-cloud/end-to-end-tests/main/scripts/ci/fetch.github.sh" | bash -s ${{ matrix.cases }}
run: curl "https://raw.githubusercontent.com/hpi-schul-cloud/end-to-end-tests/BC-7461-mongo6/scripts/ci/fetch.github.sh" | bash -s ${{ matrix.cases }}
MartinSchuhmacher marked this conversation as resolved.
Show resolved Hide resolved
- uses: actions/upload-artifact@v3
name: upload result
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_courses_and_topics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tag-courses_and_topics:
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@main
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@BC-7461-mongo6
MartinSchuhmacher marked this conversation as resolved.
Show resolved Hide resolved
with:
ref: ${{ github.ref }}
e2e_tag: courses_and_topics
2 changes: 1 addition & 1 deletion .github/workflows/e2e_management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tag-managment:
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@main
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@BC-7461-mongo6
MartinSchuhmacher marked this conversation as resolved.
Show resolved Hide resolved
with:
ref: ${{ github.ref }}
e2e_tag: management
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_navi_user_settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tag-navi_user_settings:
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@main
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@BC-7461-mongo6
MartinSchuhmacher marked this conversation as resolved.
Show resolved Hide resolved
with:
ref: ${{ github.ref }}
e2e_tag: navi_user_settings
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_tasks_and_other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tag-tasks_and_other:
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@main
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e.yml@BC-7461-mongo6
MartinSchuhmacher marked this conversation as resolved.
Show resolved Hide resolved
with:
ref: ${{ github.ref }}
e2e_tag: tasks_and_other
Expand Down
6 changes: 2 additions & 4 deletions scripts/ci/fetch.github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@
set -e

# install dependencies
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv B00A0BD1E2C63C11
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list
mamutmk5 marked this conversation as resolved.
Show resolved Hide resolved
sudo apt update
sudo apt install -y apt-transport-https ca-certificates curl git mongodb-database-tools
sudo apt-get -y install gnupg apt-transport-https ca-certificates curl git
sudo apt-get update

if [[ -z "$BRANCH_NAME" ]]; then
echo "Must provide BRANCH_NAME in environment"
Expand Down
Loading