@@ -102,6 +102,16 @@ jobs:
102
102
steps :
103
103
- setup_remote_docker
104
104
- checkout
105
+ - run :
106
+ name : Import GPG Key
107
+ command : |
108
+ echo -e "$GPG_PRIVATE_KEY" | gpg --import
109
+ echo -e "trust\n5\ny\n" | gpg --command-fd 0 --edit-key 4C19E4CC17E67B7B
110
+ - run :
111
+ name : Configure Git for Signing
112
+ command : |
113
+ git config --global user.signingkey 4C19E4CC17E67B7B
114
+ git config --global commit.gpgSign true
105
115
- run :
106
116
name : " Create build branch"
107
117
command : |
@@ -170,7 +180,7 @@ jobs:
170
180
git pull
171
181
# Check for wasm changes
172
182
git add framework/artifacts --force
173
- git commit -m 'Update framework WASM' || true
183
+ git commit -S - m 'Update framework WASM' || true
174
184
git push origin "$CIRCLE_BRANCH-build" || true
175
185
- run :
176
186
name : Remove temporary branch if it failed during build framework
@@ -228,7 +238,7 @@ jobs:
228
238
git pull
229
239
# Check for wasm changes
230
240
git add modules/artifacts --force
231
- git commit -m 'Update modules WASM [skip ci]' || true
241
+ git commit -S - m 'Update modules WASM [skip ci]' || true
232
242
git push origin "$CIRCLE_BRANCH-build" || true
233
243
- run :
234
244
name : Remove temporary branch if it failed during building modules
@@ -285,7 +295,7 @@ jobs:
285
295
git pull
286
296
# Check for schema changes
287
297
git add schema --force
288
- git commit -m 'Update Schemas [skip ci]' || true
298
+ git commit -S - m 'Update Schemas [skip ci]' || true
289
299
git push origin "$CIRCLE_BRANCH-build" || true
290
300
- run :
291
301
name : Remove temporary branch if it failed during build schemas
@@ -303,16 +313,6 @@ jobs:
303
313
steps :
304
314
- setup_remote_docker
305
315
- checkout
306
- - run :
307
- name : Import GPG Key
308
- command : |
309
- echo -e "$GPG_PRIVATE_KEY" | gpg --import
310
- echo -e "trust\n5\ny\n" | gpg --command-fd 0 --edit-key 4C19E4CC17E67B7B
311
- - run :
312
- name : Configure Git for Signing
313
- command : |
314
- git config --global user.signingkey 4C19E4CC17E67B7B
315
- git config --global commit.gpgSign true
316
316
- run :
317
317
name : " Merge build branch"
318
318
command : |
@@ -377,13 +377,23 @@ jobs:
377
377
export TEST_MNEMONIC="$decoded_value"
378
378
cd framework
379
379
cargo run --bin full_deploy -- --network-ids $NETWORKS
380
+ - run :
381
+ name : Import GPG Key
382
+ command : |
383
+ echo -e "$GPG_PRIVATE_KEY" | gpg --import
384
+ echo -e "trust\n5\ny\n" | gpg --command-fd 0 --edit-key 4C19E4CC17E67B7B
385
+ - run :
386
+ name : Configure Git for Signing
387
+ command : |
388
+ git config --global user.signingkey 4C19E4CC17E67B7B
389
+ git config --global commit.gpgSign true
380
390
- run :
381
391
name : Commit and push deploy file
382
392
command : |
383
393
git config --global user.name 'CircleCI'
384
394
git config --global user.email 'circleci@example.com'
385
395
git add framework/scripts --force
386
- git commit -m 'Update deploy deploy file [skip ci]'
396
+ git commit -S - m 'Update deploy deploy file [skip ci]'
387
397
git push origin $CIRCLE_BRANCH
388
398
- run :
389
399
name : Commit and push state file
@@ -392,7 +402,7 @@ jobs:
392
402
git config --global user.email 'circleci@example.com'
393
403
cp ~/.cw-orchestrator/state.json ./framework/scripts/
394
404
git add ./framework/scripts/state.json
395
- git commit -m 'Update deploy deploy file [skip ci]'
405
+ git commit -S - m 'Update deploy deploy file [skip ci]'
396
406
git push origin $CIRCLE_BRANCH
397
407
- save_cache :
398
408
paths :
0 commit comments