Skip to content

Commit 9895eab

Browse files
committed
Remove 1s image build
1 parent 88fcc12 commit 9895eab

File tree

2 files changed

+2
-52
lines changed

2 files changed

+2
-52
lines changed

Jenkinsfile

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -116,56 +116,6 @@ pipeline {
116116
}
117117
}
118118

119-
stage("Native 1s image") {
120-
when {
121-
expression {
122-
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)
123-
}
124-
}
125-
steps {
126-
script {
127-
nethermindNative1secImage = docker.build(
128-
registry + "/poco-chain:native-${TAG_NAME}",
129-
"--file testchains/nethermind.dockerfile" \
130-
+ " --build-arg \"MNEMONIC=actual surround disorder swim upgrade devote digital misery truly verb slide final\"" \
131-
+ " --build-arg CHAIN_TYPE=native" \
132-
+ " --build-arg CHAIN_BLOCK_TIME=1" \
133-
+ " --build-arg CHAIN_FORCE_SEALING=true" \
134-
+ " --no-cache .")
135-
}
136-
script {
137-
docker.withRegistry("https://" + registry, "nexus") {
138-
nethermindNative1secImage.push()
139-
}
140-
}
141-
}
142-
}
143-
144-
stage("Token 1s image") {
145-
when {
146-
expression {
147-
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)
148-
}
149-
}
150-
steps {
151-
script {
152-
nethermindToken1secImage = docker.build(
153-
registry + "/poco-chain:token-${TAG_NAME}",
154-
"--file testchains/nethermind.dockerfile" \
155-
+ " --build-arg \"MNEMONIC=actual surround disorder swim upgrade devote digital misery truly verb slide final\"" \
156-
+ " --build-arg CHAIN_TYPE=token" \
157-
+ " --build-arg CHAIN_BLOCK_TIME=1" \
158-
+ " --build-arg CHAIN_FORCE_SEALING=true" \
159-
+ " --no-cache .")
160-
}
161-
script {
162-
docker.withRegistry("https://" + registry, "nexus") {
163-
nethermindToken1secImage.push()
164-
}
165-
}
166-
}
167-
}
168-
169119
stage("Native 5s image ") {
170120
when {
171121
expression {

testchains/nethermind.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
###
22
## docker image build \
33
## --file testchains/nethermind.dockerfile \
4-
## --tag nexus.iex.ec/poco-chain:native-vX.Y.Z-alpha \
4+
## --tag nexus.iex.ec/poco-chain:native-vX.Y.Z-alpha.0 \
55
## --build-arg MNEMONIC="actual surround disorder swim upgrade devote digital misery truly verb slide final" \
66
## --build-arg CHAIN_TYPE=native \
77
## --build-arg CHAIN_BLOCK_TIME=5 \
@@ -62,7 +62,7 @@ RUN mv /iexec-poco/config/config_${CHAIN_TYPE}.json /iexec-poco/config/config.js
6262
## Deploy contracts
6363
###
6464
ARG DEV_NODE
65-
ARG MNEMONIC="actual surround disorder swim upgrade devote digital misery truly verb slide final"
65+
ARG MNEMONIC
6666
RUN echo "MNEMONIC: ${MNEMONIC}"
6767
# Choose migration file according to chain type.
6868
# native -> migrate.sh

0 commit comments

Comments
 (0)