Skip to content

Commit ee7315f

Browse files
authored
Merge pull request #624 from iExecBlockchainComputing/release/8.6.0
Release/8.6.0
2 parents feef788 + 19bee79 commit ee7315f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+768
-549
lines changed

CHANGELOG.md

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

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

5+
## [[8.6.0]](https://github.com/iExecBlockchainComputing/iexec-worker/releases/tag/v8.6.0) 2024-12-23
6+
7+
### New Features
8+
9+
- Add workerpool address in configuration instead of reading from Scheduler `/workers/config` endpoint. (#607)
10+
- Set `0x0` as default value for Workerpool address and prevents startup if incorrectly configured. (#608)
11+
- Implement `Purgeable` on `SubscriptionService`. (#620)
12+
- Use new `FileHashUtils` API. (#622)
13+
14+
### Bug fixes
15+
16+
- Use Result Proxy URL defined in deal parameters if any, fall back to scheduler default one otherwise. (#613)
17+
18+
### Quality
19+
20+
- Reorder `static` and `final` keywords. (#614)
21+
- Improve code maintainability in test classes. (#615)
22+
- Resolve deprecations caused by `TaskDescription` in `AppComputeService`, `TaskManagerService`, and `ResultService`. (#616)
23+
- Replace `SignatureUtils#hashAndSign` deprecated calls in `LoginServiceTests`. (#618)
24+
- Rename `executor` package to `task` package. (#619)
25+
- Add missing `@PreDestroy` annotation in services implementing `Purgeable`. (#621)
26+
27+
### Dependency Upgrades
28+
29+
- Upgrade to `eclipse-temurin:11.0.24_8-jre-focal`. (#611)
30+
- Upgrade to Gradle 8.10.2. (#612)
31+
- Upgrade to `testcontainers` 1.20.4. (#617)
32+
- Upgrade to `iexec-commons-poco` 4.2.0. (#623)
33+
- Upgrade to `iexec-common` 8.6.0. (#623)
34+
- Upgrade to `iexec-commons-containers` 1.2.3. (#623)
35+
- Upgrade to `iexec-result-proxy-library` 8.6.0. (#623)
36+
- Upgrade to `iexec-sms-library` 8.7.0. (#623)
37+
- Upgrade to `iexec-core-library` 8.6.0. (#623)
38+
539
## [[8.5.0]](https://github.com/iExecBlockchainComputing/iexec-worker/releases/tag/v8.5.0) 2024-06-19
640

741
### 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.22_7-jre-focal
1+
FROM eclipse-temurin:11.0.24_8-jre-focal
22

33
ARG jar
44

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ You can configure the _iExec Worker_ with the following properties:
2323
| `IEXEC_CORE_HOST` | Host to connect to the _iExec Core Scheduler_. | String | `localhost` |
2424
| `IEXEC_CORE_PORT` | Port to connect to the _iExec Core Scheduler_. | Positive integer | `13000` |
2525
| `IEXEC_WORKER_NAME` | Public name of the _iExec Worker_. | String | `worker` |
26+
| `POOL_ADDRESS` | On-chain address of the workerpool managed by the _iExec Core Scheduler_, the default value must be changed. | String | `0x0` |
2627
| `IEXEC_WORKER_BASE_DIR` | Path to the folder within which the _iExec Worker_ will read-and-write inputs and outputs of tasks. | String | `/tmp/iexec-worker` |
2728
| `IEXEC_WORKER_OVERRIDE_AVAILABLE_CPU_COUNT` | Number of CPUs available for computing distinct tasks. If not set, n-1 CPUs will be used, where n is the number of available processors. | Positive integer | |
2829
| `IEXEC_WORKER_GPU_ENABLED` | Declares if the _iExec Worker_ is able to compute tasks requesting GPU mode. Note that if it is true, `IEXEC_WORKER_OVERRIDE_AVAILABLE_CPU_COUNT` will be ignored. | Boolean | `false` |
@@ -107,4 +108,4 @@ file, then none of the pre-compute durations relates to any of app-compute or po
107108

108109
## License
109110

110-
This repository code is released under the [Apache License 2.0](LICENSE).
111+
This repository code is released under the [Apache License 2.0](LICENSE).

build.gradle

Lines changed: 4 additions & 4 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.6'
3+
id 'io.freefair.lombok' version '8.10.2'
44
id 'org.springframework.boot' version '2.7.18'
5-
id 'io.spring.dependency-management' version '1.1.4'
5+
id 'io.spring.dependency-management' version '1.1.6'
66
id 'jacoco'
7-
id 'org.sonarqube' version '5.0.0.4638'
7+
id 'org.sonarqube' version '5.1.0.4882'
88
id 'maven-publish'
99
}
1010

@@ -13,7 +13,7 @@ group = 'com.iexec.worker'
1313
ext {
1414
springCloudVersion = '2021.0.8'
1515
commonsMathsVersion = '3.6.1'
16-
testContainersVersion = '1.19.3'
16+
testContainersVersion = '1.20.4'
1717
}
1818

1919
if (!project.hasProperty('gitBranch')) {

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
version=8.5.0
2-
iexecCommonVersion=8.5.0
3-
iexecCommonsContainersVersion=1.2.2
4-
iexecCommonsPocoVersion=4.1.0
5-
iexecResultVersion=8.5.0
6-
iexecSmsVersion=8.6.0
7-
iexecCoreVersion=8.5.0
1+
version=8.6.0
2+
iexecCommonsPocoVersion=4.2.0
3+
iexecCommonVersion=8.6.0
4+
iexecCommonsContainersVersion=1.2.3
5+
iexecResultVersion=8.6.0
6+
iexecSmsVersion=8.7.0
7+
iexecCoreVersion=8.6.0
88
nexusUser
99
nexusPassword

gradle/wrapper/gradle-wrapper.jar

130 Bytes
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.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# 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
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

0 commit comments

Comments
 (0)