From 51c36f81c557a500702102554eeb2be6120649c1 Mon Sep 17 00:00:00 2001 From: daizhenyu <1449308021@qq.com> Date: Thu, 14 Mar 2024 15:35:59 +0800 Subject: [PATCH] database-integration-test9 Signed-off-by: daizhenyu <1449308021@qq.com> --- .../scenarios/database-write-prohibition/mysql/action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/actions/scenarios/database-write-prohibition/mysql/action.yml b/.github/actions/scenarios/database-write-prohibition/mysql/action.yml index f689e21f9d..8f9847dc96 100644 --- a/.github/actions/scenarios/database-write-prohibition/mysql/action.yml +++ b/.github/actions/scenarios/database-write-prohibition/mysql/action.yml @@ -19,10 +19,12 @@ runs: - name: start mongodb shell: bash run: | + echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list sudo apt-get update - sudo apt-get install -y mongodb - sudo systemctl start mongodb - sudo systemctl status mongodb + sudo apt-get upgrade + sudo apt-get install -y mongodb-org + sudo systemctl start mongodb-org + sudo systemctl status mongodb-org # - name: Set up root password # shell: bash # run: |