Skip to content

Commit 6b31d0d

Browse files
Merge pull request #90 from iExecBlockchainComputing/alpha
version 3.0.0-alpha1 release
2 parents db277f1 + 9add246 commit 6b31d0d

File tree

3 files changed

+36
-5
lines changed

3 files changed

+36
-5
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1-
# iexec-worker-new
1+
# iexec-worker-new
2+
3+
### Overview
4+
5+
The iExec-Worker component is in charge of running computing tasks sent by requesters through the iExec Marketplace.
6+
7+
8+
### Run an iexec-worker
9+
10+
11+
#### With Gradle
12+
13+
*Please first update your config located in `./src/main/resources/application.yml`*
14+
15+
* for dev purposes:
16+
17+
```
18+
cd iexec-worker-new
19+
gradle bootRun --refresh-dependencies
20+
```
21+
* or on a remote instance:
22+
```
23+
cd iexec-worker-new
24+
./gradlew bootRun --refresh-dependencies
25+
```
26+
27+
28+
#### With Docker
29+
30+
```
31+
docker run --name my-iexec-worker -v /var/run/docker.sock:/var/run/docker.sock -e IEXEC_CORE_HOST=52.X.X.X -e IEXEC_CORE_PORT=18090 -e IEXEC_WORKER_RESULT_BASE_DIR=/tmp/iexec-worker -e IEXEC_WORKER_NAME=my-iexec-worker -v ~/my-wallet-folder/encrypted-wallet.json:/wallet/encrypted-wallet.json -e IEXEC_WORKER_WALLET_PATH=/wallet/encrypted-wallet.json -e IEXEC_WORKER_WALLET_PASSWORD=mywalletpassword iexechub/iexec-worker:3.0.0-alpha1
32+
```

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ apply plugin: 'maven'
2121
apply plugin: 'jacoco'
2222

2323
group = 'com.iexec.worker'
24-
version = '0.0.1-SNAPSHOT'
2524
sourceCompatibility = 1.8
2625

2726
def UNIQUE_ID='hostname -f'.execute().text.trim()
@@ -149,4 +148,4 @@ task pushImage(type: Exec) {
149148
}
150149

151150
pushImage.dependsOn buildImage
152-
pushImage.enabled = isMasterBranch && project.hasProperty("dockerHubUser") && project.hasProperty("dockerHubPassword")
151+
pushImage.enabled = isMasterBranch && project.hasProperty("dockerHubUser") && project.hasProperty("dockerHubPassword")

gradle.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
iexecCommonVersion=0.0.1-SNAPSHOT
2-
packageCloudPassword=fake
1+
iexecCommonVersion=3.0.0-alpha1
2+
packageCloudPassword=fake
3+
version=3.0.0-alpha1

0 commit comments

Comments
 (0)