Skip to content

Commit fb3f843

Browse files
committed
update for pr
1 parent ff5a0dc commit fb3f843

File tree

2 files changed

+3
-110
lines changed

2 files changed

+3
-110
lines changed

Jenkinsfile

Lines changed: 3 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -117,107 +117,6 @@ pipeline {
117117
}
118118

119119
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-
openethereumNative1secImage = docker.build(
128-
registry + "/poco-chain:native-${TAG_NAME}",
129-
"--file testchains/openethereum.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-
openethereumNative1secImage.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-
openethereumToken1secImage = docker.build(
153-
registry + "/poco-chain:token-${TAG_NAME}",
154-
"--file testchains/openethereum.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-
openethereumToken1secImage.push()
164-
}
165-
}
166-
}
167-
}
168-
169-
stage("Native 5s image") {
170-
when {
171-
expression {
172-
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)
173-
}
174-
}
175-
steps {
176-
script {
177-
openethereumNative5secImage = docker.build(
178-
registry + "/poco-chain:native-${TAG_NAME}-5s",
179-
"--file testchains/openethereum.dockerfile" \
180-
+ " --build-arg \"MNEMONIC=actual surround disorder swim upgrade devote digital misery truly verb slide final\"" \
181-
+ " --build-arg CHAIN_TYPE=native" \
182-
+ " --build-arg CHAIN_BLOCK_TIME=5" \
183-
+ " --build-arg CHAIN_FORCE_SEALING=true" \
184-
+ " --no-cache .")
185-
}
186-
script {
187-
docker.withRegistry("https://" + registry, "nexus") {
188-
openethereumNative5secImage.push()
189-
}
190-
}
191-
}
192-
}
193-
194-
stage("Token 5s image") {
195-
when {
196-
expression {
197-
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)
198-
}
199-
}
200-
steps {
201-
script {
202-
openethereumNative5secImage = docker.build(
203-
registry + "/poco-chain:token-${TAG_NAME}-5s",
204-
"--file testchains/openethereum.dockerfile" \
205-
+ " --build-arg \"MNEMONIC=actual surround disorder swim upgrade devote digital misery truly verb slide final\"" \
206-
+ " --build-arg CHAIN_TYPE=token" \
207-
+ " --build-arg CHAIN_BLOCK_TIME=5" \
208-
+ " --build-arg CHAIN_FORCE_SEALING=true" \
209-
+ " --no-cache .")
210-
}
211-
script {
212-
docker.withRegistry("https://" + registry, "nexus") {
213-
openethereumNative5secImage.push()
214-
}
215-
}
216-
}
217-
}
218-
219-
220-
stage("Native 1s image nethermind") {
221120
when {
222121
expression {
223122
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)
@@ -242,7 +141,7 @@ pipeline {
242141
}
243142
}
244143

245-
stage("Token 1s image nethermind") {
144+
stage("Token 1s image") {
246145
when {
247146
expression {
248147
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)
@@ -267,7 +166,7 @@ pipeline {
267166
}
268167
}
269168

270-
stage("Native 5s image nethermind ") {
169+
stage("Native 5s image ") {
271170
when {
272171
expression {
273172
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)
@@ -292,7 +191,7 @@ pipeline {
292191
}
293192
}
294193

295-
stage("Token 5s image nethermind") {
194+
stage("Token 5s image") {
296195
when {
297196
expression {
298197
env.TAG_NAME != null && env.TAG_NAME.toString().contains(buildWhenTagContains)

testchains/nethermind/authority.cfg

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
"AllowAuraPrivateChains":true
3939
},
4040
"KeyStore": {
41-
"Passwords": [
42-
"cLYaO6/petgU0NqdvQo6i6bBWDM7SzZw"
43-
],
4441
"UnlockAccounts": [
4542
"0xc08c3def622af1476f2db0e3cc8ccaead07be3bb"
4643
],
@@ -50,9 +47,6 @@
5047
"BlockAuthorAccount": "0xc08c3def622af1476f2db0e3cc8ccaead07be3bb",
5148
},
5249
"Sync": {
53-
"FastBlocks": true,
54-
"FastSync": true,
55-
"UseGethLimitsInFastBlocks": true,
5650
"WitnessProtocolEnabled": true,
5751
"FastSyncCatchUpHeightDelta": "10000000000"
5852
}

0 commit comments

Comments
 (0)