Skip to content

Commit cc292d2

Browse files
authored
chore(test): use fixed ruby runtime and update gradle (#8220)
* test appveyor update * add to path
1 parent 2de58d8 commit cc292d2

5 files changed

Lines changed: 29 additions & 14 deletions

File tree

appveyor-linux-binary.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ install:
5252
- sh: "mvn --version"
5353

5454
- sh: "source ${HOME}/venv${PYTHON_VERSION}/bin/activate"
55-
- sh: "rbenv install 3.3.0"
56-
- sh: "rbenv global 3.3.0"
55+
- sh: "rbenv install 3.3.7"
56+
- sh: "rbenv install 3.4.2"
57+
- sh: "rbenv install 3.2.7"
58+
- sh: "rbenv global 3.3.7"
5759
- sh: "ruby --version"
5860
- sh: "docker info"
5961
- sh: "docker version"
@@ -63,9 +65,9 @@ install:
6365

6466
# Install latest gradle
6567
- sh: "sudo apt-get -y remove gradle"
66-
- sh: "wget https://services.gradle.org/distributions/gradle-8.4-bin.zip -P /tmp"
68+
- sh: "wget https://services.gradle.org/distributions/gradle-9.0.0-bin.zip -P /tmp"
6769
- sh: "sudo unzip -d /opt/gradle /tmp/gradle-*.zip"
68-
- sh: "PATH=/opt/gradle/gradle-8.4/bin:$PATH"
70+
- sh: "PATH=/opt/gradle/gradle-9.0.0/bin:$PATH"
6971
- sh: "gradle --version"
7072

7173
# Install dotnet8 SDK

appveyor-ubuntu.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ install:
5353
- sh: "mvn --version"
5454

5555
- sh: "source ${HOME}/venv${PYTHON_VERSION}/bin/activate"
56+
- sh: "rbenv install 3.3.7"
57+
- sh: "rbenv install 3.4.2"
58+
- sh: "rbenv install 3.2.7"
59+
- sh: "rbenv global 3.3.7"
60+
- sh: "ruby --version"
5661
- sh: "docker info"
5762
- sh: "docker version"
5863
- sh: "nvm install ${NODE_VERSION}"
@@ -61,9 +66,9 @@ install:
6166

6267
# Install latest gradle
6368
- sh: "sudo apt-get -y remove gradle"
64-
- sh: "wget https://services.gradle.org/distributions/gradle-8.4-bin.zip -P /tmp"
69+
- sh: "wget https://services.gradle.org/distributions/gradle-9.0.0-bin.zip -P /tmp"
6570
- sh: "sudo unzip -d /opt/gradle /tmp/gradle-*.zip"
66-
- sh: "PATH=/opt/gradle/gradle-8.4/bin:$PATH"
71+
- sh: "PATH=/opt/gradle/gradle-9.0.0/bin:$PATH"
6772
- sh: "gradle --version"
6873

6974
# Install dotnet8 SDK

appveyor-windows-al2023.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,25 @@ install:
4747
- 'set PATH=%JAVA_HOME%\bin;%PATH%'
4848
- java --version
4949
- javac --version
50-
- choco upgrade gradle --version=8.4.0
50+
- choco upgrade gradle --version=9.0.0
51+
- choco install ruby --version=3.2.7.1
52+
- choco install ruby --version=3.3.7.1
53+
- choco install ruby --version=3.4.2.1
5154
- "gradle -v"
5255
- "mvn --version"
5356

5457
# Make sure the temp directory exists for Python to use.
5558
- ps: "mkdir -Force C:\\tmp"
5659
- "python --version"
57-
- 'set PATH=%PYTHON_HOME%;C:\Ruby33-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64;C:\Python313-x64'
60+
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;C:\Ruby33-x64\bin;C:\Ruby34-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64;C:\Python313-x64'
5861
- "node --version"
5962
- "echo %PYTHON_HOME%"
6063
- "echo %PATH%"
6164
- "python --version"
6265
- "ruby --version"
6366
- ps: "Restart-Service docker"
6467
# Switch to Docker Linux containers
65-
- ps: '& $Env:ProgramFiles\Docker\Docker\DockerCli.exe -SwitchLinuxEngine'
68+
- ps: '& $Env:ProgramFiles\Docker\Docker\DockerCli.exe -SwitchLinuxEngine'4
6669
- "docker info"
6770
- "docker version"
6871

appveyor-windows-binary.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,16 @@ install:
6060
- 'set PATH=%JAVA_HOME%\bin;%PATH%'
6161
- java --version
6262
- javac --version
63-
- choco upgrade gradle --version=8.4.0
63+
- choco upgrade gradle --version=9.0.0
6464
- "gradle -v"
6565
- "mvn --version"
66-
- choco install ruby --version=3.3.0.1
66+
- choco install ruby --version=3.2.7.1
67+
- choco install ruby --version=3.3.7.1
6768
- choco install ruby --version=3.4.2.1
6869

6970
# Make sure the temp directory exists for Python to use.
7071
- ps: "mkdir -Force C:\\tmp"
71-
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python38-x64;C:\Python312-x64;C:\Python313-x64'
72+
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;C:\Ruby33-x64\bin;C:\Ruby34-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python38-x64;C:\Python312-x64;C:\Python313-x64'
7273
- "echo %PYTHON_HOME%"
7374
- "echo %PATH%"
7475
- "python --version"

appveyor-windows.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,23 @@ install:
5959
- 'set PATH=%JAVA_HOME%\bin;%PATH%'
6060
- java --version
6161
- javac --version
62-
- choco upgrade gradle --version=8.4.0
62+
- choco upgrade gradle --version=9.0.0
63+
- choco install ruby --version=3.2.7.1
64+
- choco install ruby --version=3.3.7.1
65+
- choco install ruby --version=3.4.2.1
6366
- "gradle -v"
6467
- "mvn --version"
6568

6669
# Make sure the temp directory exists for Python to use.
6770
- ps: "mkdir -Force C:\\tmp"
68-
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64;C:\Python313-x64'
71+
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;C:\Ruby33-x64\bin;C:\Ruby34-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64;C:\Python313-x64'
6972
- "echo %PYTHON_HOME%"
7073
- "echo %PATH%"
7174
- "python --version"
7275
- ps: "Restart-Service docker"
7376
# Switch to Docker Linux containers
7477
- ps: '& $Env:ProgramFiles\Docker\Docker\DockerCli.exe -SwitchLinuxEngine'
78+
- "ruby --version"
7579
- "docker info"
7680
- "docker version"
7781

0 commit comments

Comments
 (0)