28
28
id : git_checkout
29
29
uses : actions/checkout@v3
30
30
31
- # Could run a `docker system prune here to clean up a little extra space, ~4-5GB
31
+ # Could run a `docker system prune --force`` here to clean up a little extra space, ~4-5GB
32
32
33
33
- name : Build bitcoin integration testing image
34
34
id : build_docker_image
@@ -47,14 +47,15 @@ jobs:
47
47
48
48
- name : Export docker image as tarball
49
49
id : export_docker_image
50
- run : docker save -o integration-image.tar stacks-blockchain:integrations
50
+ # run: docker save -o integration-image.tar stacks-blockchain:integrations
51
+ run : docker save stacks-blockchain:integrations | gzip > integration-image.tar.gz
51
52
52
53
- name : Upload built docker image
53
54
id : upload_docker_image
54
55
uses : actions/upload-artifact@v3
55
56
with :
56
- name : integration-image.tar
57
- path : integration-image.tar
57
+ name : integration-image.tar.gz
58
+ path : integration-image.tar.gz
58
59
59
60
# Run integration tests using sampled genesis block
60
61
sampled-genesis :
@@ -141,10 +142,10 @@ jobs:
141
142
id : download_docker_image
142
143
uses : actions/download-artifact@v3
143
144
with :
144
- name : integration-image.tar
145
+ name : integration-image.tar.gz
145
146
- name : Load docker image
146
147
id : load_docker_image
147
- run : docker load -i integration-image.tar && rm integration-image.tar
148
+ run : docker load -i integration-image.tar.gz && rm integration-image.tar.gz
148
149
- name : All integration tests with sampled genesis
149
150
id : bitcoin_integration_tests
150
151
timeout-minutes : 30
@@ -180,10 +181,10 @@ jobs:
180
181
id : download_docker_image
181
182
uses : actions/download-artifact@v3
182
183
with :
183
- name : integration-image.tar
184
+ name : integration-image.tar.gz
184
185
- name : Load docker image
185
186
id : load_docker_image
186
- run : docker load -i integration-image.tar && rm integration-image.tar
187
+ run : docker load -i integration-image.tar.gz && rm integration-image.tar.gz
187
188
- name : Atlas integration tests
188
189
id : atlas_integration_tests
189
190
timeout-minutes : 40
0 commit comments