From 3c17a2bc009b18b81fecdec998c4675ce118bce1 Mon Sep 17 00:00:00 2001 From: Haruyuki Iida Date: Tue, 29 Mar 2022 13:01:55 +0000 Subject: [PATCH] Add Redmine 5 test environment --- .devcontainer/docker-compose.yml | 4 ++-- .github/workflows/build.yml | 4 +++- build-scripts/install.sh | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 038b0d2..5f06b98 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -9,10 +9,10 @@ services: # Update 'VARIANT' to pick a version of Ruby: 3, 3.0, 2, 2.7, 2.6 # Append -bullseye or -buster to pin to an OS version. # Use -bullseye variants on local arm64/Apple Silicon. - VARIANT: "2.7" + VARIANT: "3.0" # Optional Node.js version to install NODE_VERSION: "lts/*" - REDMINE_VERSION: "4.2-stable" + REDMINE_VERSION: "5.0-stable" volumes: - ..:/usr/local/redmine/plugins/redmine_code_review:cached diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12caf27..0786b00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,12 @@ jobs: matrix: db: [sqlite3, mysql, postgres] ruby_version: [2.4, 2.5, 2.6, 2.7, 3.0, 3.1] - redmine_version: [4.1-stable, 4.2-stable, master] + redmine_version: [4.1-stable, 4.2-stable, 5.0-stable, master] exclude: - ruby_version: 2.4 redmine_version: master + - ruby_version: 2.4 + redmine_version: 5.0-stable - ruby_version: 2.7 redmine_version: 4.1-stable - ruby_version: 3.0 diff --git a/build-scripts/install.sh b/build-scripts/install.sh index 64b7af4..71afc09 100644 --- a/build-scripts/install.sh +++ b/build-scripts/install.sh @@ -34,7 +34,7 @@ fi mkdir -p $TESTSPACE -export REDMINE_GIT_REPO=git://github.com/redmine/redmine.git +export REDMINE_GIT_REPO=https://github.com/redmine/redmine.git export REDMINE_GIT_TAG=$REDMINE_VER export BUNDLE_GEMFILE=$PATH_TO_REDMINE/Gemfile