-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from iExecBlockchainComputing/release/8.0.0
Release/8.0.0
- Loading branch information
Showing
19 changed files
with
373 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
## [[8.0.0]](https://github.com/iExecBlockchainComputing/tee-worker-post-compute/releases/tag/v8.0.0) 2023-03-08 | ||
|
||
### New Features | ||
* #69 #68 #63 #61 #54 Enable Gramine framework for TEE tasks. | ||
* #60 Set scone heap to 3G. | ||
* #59 Upgrade to scone 5.7. | ||
### Quality | ||
* #67 Remove deprecated Palantir Docker Gradle plugin. | ||
### Dependency Upgrades | ||
* #73 Upgrade to `iexec-common` 7.0.0. | ||
* #72 #65 #64 #62 #58 Upgrade to `jenkins-library` 2.5.0. | ||
* #70 Replace the deprecated `openjdk` Docker base image with `eclipse-temurin` and upgrade to Java 11.0.16 patch. | ||
* #66 Upgrade to Gradle 7.6. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM openjdk:11.0.16-jre-slim | ||
|
||
ARG jar | ||
|
||
RUN test -n "$jar" | ||
|
||
# By default JVM will try to allocate 16GB heap, let's reduce its size a bit | ||
ENV JAVA_TOOL_OPTIONS="-Xmx256m" | ||
|
||
COPY $jar /app/app.jar | ||
|
||
ENTRYPOINT ["java", "-jar", "/app/app.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
--name=tee-post-compute \ | ||
--base=openjdk:11.0.16-jre-slim \ | ||
--from=${IMG_FROM} \ | ||
--to=${IMG_TO} \ | ||
--binary-fs \ | ||
--fs-dir=/app \ | ||
--host-path=/etc/hosts \ | ||
--host-path=/etc/resolv.conf \ | ||
--binary=/usr/lib/jvm/java-11-openjdk/bin/java \ | ||
--heap="4G" \ | ||
--dlopen="2" \ | ||
--binary=/usr/local/openjdk-11/bin/java \ | ||
--heap="3G" \ | ||
--dlopen="1" \ | ||
--verbose \ | ||
--no-color \ | ||
--command="java -jar /app/app.jar" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
#!/bin/bash | ||
|
||
<< 'USAGE' | ||
IMG_FROM=docker.io/iexechub/tee-worker-post-compute:dev \ | ||
IMG_TO=docker.io/iexechub/tee-worker-post-compute:dev-debug \ | ||
SCONIFIER_VERSION=x.y.z \ | ||
./sconify.sh | ||
USAGE | ||
|
||
cd $(dirname $0) | ||
|
||
SCONE_IMG_NAME=scone-debug/iexec-sconify-image-unlocked | ||
SCONE_IMG_VERSION=5.7.1 | ||
|
||
IMG_TO=${IMG_TO}-sconify-${SCONE_IMG_VERSION}-debug | ||
|
||
ARGS=$(sed -e "s'\${IMG_FROM}'${IMG_FROM}'" -e "s'\${IMG_TO}'${IMG_TO}'" sconify.args) | ||
echo $ARGS | ||
|
||
SCONIFIER_IMAGE="registry.scontain.com:5050/scone-production/iexec-sconify-image:${SCONIFIER_VERSION}" | ||
SCONE_IMAGE="registry.scontain.com:5050/${SCONE_IMG_NAME}:${SCONE_IMG_VERSION}" | ||
|
||
/bin/bash -c "docker run \ | ||
--rm \ | ||
/bin/bash -c "docker run -t --rm \ | ||
-v /var/run/docker.sock:/var/run/docker.sock \ | ||
${SCONIFIER_IMAGE} \ | ||
sconify_iexec \ | ||
--cli=${SCONIFIER_IMAGE} \ | ||
--crosscompiler=${SCONIFIER_IMAGE} \ | ||
$ARGS" | ||
${SCONE_IMAGE} \ | ||
sconify_iexec \ | ||
--cli=${SCONE_IMAGE} \ | ||
--crosscompiler=${SCONE_IMAGE} \ | ||
$ARGS" | ||
|
||
echo | ||
docker run --rm -e SCONE_HASH=1 $IMG_TO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
version=7.1.1 | ||
iexecCommonVersion=6.0.0 | ||
version=8.0.0 | ||
iexecCommonVersion=7.0.0 | ||
|
||
nexusUser | ||
nexusPassword |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.