Skip to content

Commit 2b599bd

Browse files
authored
Merge pull request #267 from iExecBlockchainComputing/release/8.6.0
Release/8.6.0
2 parents 4c7de65 + fb5c9df commit 2b599bd

File tree

20 files changed

+178
-106
lines changed

20 files changed

+178
-106
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [[8.6.0]](https://github.com/iExecBlockchainComputing/iexec-sms/releases/tag/v8.6.0) 2024-06-18
6+
7+
### New Features
8+
9+
- Replace `CredentialsService` with `SignerService`. (#264)
10+
11+
### Quality
12+
13+
- Configure Gradle JVM Test Suite Plugin. (#259)
14+
- Replace `SECURE_SESSION_NO_TEE_PROVIDER` with `SECURE_SESSION_NO_TEE_FRAMEWORK`
15+
in `TeeSessionGenerationError`. (#265)
16+
- Add `final` keyword in `EncryptionService`. (#268)
17+
18+
### Dependency Upgrades
19+
20+
- Upgrade to Gradle 8.7. (#260)
21+
- Upgrade to `eclipse-temurin:11.0.22_7-jre-focal`. (#261)
22+
- Upgrade to Spring Boot 2.7.18. (#262)
23+
- Upgrade to sconify tools and Scone runtime 5.8.8 for SGX enclaves. (#263)
24+
- Upgrade to `iexec-commons-poco` 4.1.0. (#266)
25+
- Upgrade to `iexce-common` 8.5.0. (#266)
26+
527
## [[8.5.1]](https://github.com/iExecBlockchainComputing/iexec-sms/releases/tag/v8.5.1) 2024-04-02
628

729
### New Features

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:11.0.21_9-jre-focal
1+
FROM eclipse-temurin:11.0.22_7-jre-focal
22

33
ARG jar
44

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ sconeBuildUnlocked(
2929
imageTag: buildInfo.imageTag,
3030
sconifyArgsPath: './docker/sconify.args',
3131
sconifyImage: 'scone-debug/iexec-sconify-image-unlocked',
32-
sconifyVersion: '5.7.2-wal'
32+
sconifyVersion: '5.8.8'
3333
)

build.gradle

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
22
id 'java'
3-
id 'io.freefair.lombok' version '8.2.2'
4-
id 'org.springframework.boot' version '2.7.17'
3+
id 'io.freefair.lombok' version '8.6'
4+
id 'org.springframework.boot' version '2.7.18'
55
id 'io.spring.dependency-management' version '1.1.4'
66
id 'jacoco'
7-
id 'org.sonarqube' version '4.2.1.3168'
7+
id 'org.sonarqube' version '5.0.0.4638'
88
id 'maven-publish'
99
}
1010

@@ -44,22 +44,6 @@ allprojects {
4444
}
4545
}
4646

47-
sourceSets {
48-
integrationTest {
49-
java {
50-
compileClasspath += sourceSets.main.output
51-
runtimeClasspath += sourceSets.main.output
52-
srcDir 'src/itest/java'
53-
}
54-
resources.srcDir 'src/itest/resources'
55-
}
56-
}
57-
58-
configurations {
59-
integrationTestImplementation.extendsFrom testImplementation
60-
integrationTestRuntimeOnly.extendsFrom runtimeOnly
61-
}
62-
6347
dependencies {
6448
// iexec
6549
implementation "com.iexec.commons:iexec-commons-poco:$iexecCommonsPocoVersion"
@@ -90,13 +74,6 @@ dependencies {
9074

9175
// expiring map
9276
implementation "net.jodah:expiringmap:0.5.11"
93-
94-
// test
95-
testImplementation 'org.springframework.boot:spring-boot-starter-test'
96-
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
97-
98-
// awaitility
99-
testImplementation 'org.awaitility:awaitility'
10077
}
10178

10279
springBoot {
@@ -110,17 +87,41 @@ tasks.named("bootJar") {
11087
}
11188
}
11289

113-
test {
114-
useJUnitPlatform()
90+
testing {
91+
suites {
92+
configureEach {
93+
dependencies {
94+
implementation 'org.springframework.boot:spring-boot-starter-test'
95+
runtimeOnly 'com.h2database:h2:2.2.222'
96+
}
97+
}
98+
test {
99+
useJUnitJupiter()
100+
dependencies {
101+
implementation 'org.awaitility:awaitility'
102+
}
103+
}
104+
itest(JvmTestSuite) {
105+
sources {
106+
java {
107+
srcDirs = ['src/itest/java']
108+
}
109+
}
110+
dependencies {
111+
implementation project()
112+
implementation project(':iexec-sms-library')
113+
implementation "com.iexec.commons:iexec-commons-poco:$iexecCommonsPocoVersion"
114+
implementation "com.iexec.common:iexec-common:$iexecCommonVersion"
115+
implementation 'org.apache.commons:commons-lang3'
116+
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
117+
implementation 'org.springframework.boot:spring-boot-starter-web'
118+
}
119+
}
120+
}
115121
}
116122

117-
tasks.register('itest', Test) {
118-
group 'Verification'
119-
description 'Runs the integration tests.'
120-
testClassesDirs = sourceSets.integrationTest.output.classesDirs
121-
classpath = sourceSets.integrationTest.runtimeClasspath
122-
outputs.upToDateWhen { false } // run always
123-
useJUnitPlatform()
123+
tasks.withType(Test).configureEach {
124+
finalizedBy tasks.jacocoTestReport
124125
}
125126

126127
// sonarqube code coverage requires jacoco XML report
@@ -129,7 +130,6 @@ jacocoTestReport {
129130
xml.required = true
130131
}
131132
}
132-
tasks.test.finalizedBy tasks.jacocoTestReport
133133
tasks.sonarqube.dependsOn tasks.jacocoTestReport
134134

135135
publishing {

docker/sconify.args

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
--stack="8M" \
99
--binary-fs \
1010
--fs-dir=/app \
11+
--mprotect=1 \
1112
--host-path=/etc/hosts \
1213
--host-path=/etc/resolv.conf \

docker/sconify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
cd $(dirname $0)
44

55
SCONE_IMG_NAME=scone-debug/iexec-sconify-image-unlocked
6-
SCONE_IMG_VERSION=5.7.2-wal
6+
SCONE_IMG_VERSION=5.8.8
77

88
IMG_TO=${IMG_FROM}-sconify-${SCONE_IMG_VERSION}-debug
99

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
version=8.5.1
2-
iexecCommonVersion=8.4.0
3-
iexecCommonsPocoVersion=3.2.0
1+
version=8.6.0
2+
iexecCommonVersion=8.5.0
3+
iexecCommonsPocoVersion=4.1.0
44

55
nexusUser
66
nexusPassword

gradle/wrapper/gradle-wrapper.jar

-19.5 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ done
8383
# This is normally unused
8484
# shellcheck disable=SC2034
8585
APP_BASE_NAME=${0##*/}
86-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
86+
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87+
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
8788

8889
# Use the maximum available, or set MAX_FD != -1 to use that value.
8990
MAX_FD=maximum
@@ -144,15 +145,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144145
case $MAX_FD in #(
145146
max*)
146147
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147-
# shellcheck disable=SC3045
148+
# shellcheck disable=SC2039,SC3045
148149
MAX_FD=$( ulimit -H -n ) ||
149150
warn "Could not query maximum file descriptor limit"
150151
esac
151152
case $MAX_FD in #(
152153
'' | soft) :;; #(
153154
*)
154155
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155-
# shellcheck disable=SC3045
156+
# shellcheck disable=SC2039,SC3045
156157
ulimit -n "$MAX_FD" ||
157158
warn "Could not set maximum file descriptor limit to $MAX_FD"
158159
esac
@@ -201,11 +202,11 @@ fi
201202
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
202203
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
203204

204-
# Collect all arguments for the java command;
205-
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
206-
# shell script including quotes and variable substitutions, so put them in
207-
# double quotes to make sure that they get re-expanded; and
208-
# * put everything else in single quotes, so that it's not re-expanded.
205+
# Collect all arguments for the java command:
206+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207+
# and any embedded shellness will be escaped.
208+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209+
# treated as '${Hostname}' itself on the command line.
209210

210211
set -- \
211212
"-Dorg.gradle.appname=$APP_BASE_NAME" \

0 commit comments

Comments
 (0)