File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ commands:
92
92
name : Build
93
93
command : |
94
94
set +e
95
- cmake --build --preset enterprise-pr --parallel 8 --target arangodbtests arangod arangosh arangoimport arangoexport arangodump arangorestore arangobench fuertetest
95
+ cmake --build --preset enterprise-pr --parallel 8 --target arangodbtests arangod arangosh arangoimport arangoexport arangodump arangorestore arangobench fuertetest arangobackup arangovpack
96
96
97
97
if [ "$?" != "0" ]; then
98
98
echo "**ArangoDB Compile Error**<br><br> Please check CircleCI Logs" | curl -X POST -d@- https://candid-daffodil-f96315.netlify.app/.netlify/functions/circleci --header 'docs-webhook-event: create-summary' --header 'docs-branch-sha: '$CIRCLE_SHA1'' --header 'docs-branch-name: '$CIRCLE_BRANCH''
Original file line number Diff line number Diff line change @@ -203,6 +203,7 @@ def workflow_generate_scheduled(config):
203
203
204
204
def workflow_release_arangodb (config ):
205
205
config = workflow_release_launch_command (config )
206
+ config = workflow_release_store_artifacts_command (config )
206
207
207
208
jobs = config ["workflows" ]["release" ]["jobs" ]
208
209
@@ -316,6 +317,25 @@ def workflow_generate_store_artifacts_command(config):
316
317
config ["commands" ]["store-generated-data" ]["steps" ][0 ]["run" ]["command" ] = shell
317
318
return config
318
319
320
+
321
+ def workflow_release_store_artifacts_command (config ):
322
+ shell = "cd docs-hugo/site/data"
323
+
324
+ version = args .docs_version
325
+ branch = args .arangodb_branch
326
+
327
+ branchEnv = f"tar -cvf /tmp/{ version } -generated.tar { version } /\n "
328
+ shell = f"{ shell } \n { branchEnv } "
329
+ config ["commands" ]["store-generated-data" ]["steps" ].append ({
330
+ "store_artifacts" : {
331
+ "path" : f"/tmp/{ version } -generated.tar"
332
+ }
333
+ })
334
+
335
+
336
+ config ["commands" ]["store-generated-data" ]["steps" ][0 ]["run" ]["command" ] = shell
337
+ return config
338
+
319
339
def workflow_commit_generated_download_data (config ):
320
340
cmd = config ["commands" ]["download-generated-data" ]["steps" ][0 ]["run" ]["command" ]
321
341
@@ -349,6 +369,7 @@ def workflow_release_launch_command(config):
349
369
shell = f"{ shell } \n { branchEnv } "
350
370
351
371
shell = f"{ shell } \n \
372
+ cd docs-hugo/toolchain/docker/amd64\n \
352
373
docker compose up --exit-code-from toolchain\n \
353
374
exit $?"
354
375
You can’t perform that action at this time.
0 commit comments