@@ -29,7 +29,7 @@ definitions:
2929 - ./automations/20_commit_code.sh config.yml
3030 - git status
3131 - git push
32- - ./automations/70_publish_outcomes .sh z-run-stata
32+ - ./automations/70_publish_comment .sh z-run-stata completed
3333
3434pipelines :
3535 custom :
@@ -88,6 +88,10 @@ pipelines:
8888 - if [ -z $ZenodoID ]; then ZenodoID=$zenodo; fi
8989 - projectID="${openICPSRID}"
9090 - projectID="${projectID:-zenodo-$ZenodoID}"
91+ - if [ -z "$jiraticket" ] && [ -n "${openICPSRID:-}" ]; then jiraticket=$(python3 tools/jira_find_task_by_icpsr.py "$openICPSRID" 2>/dev/null || true); else echo "Jira ticket not set"; fi
92+ - echo "Using Jira case $jiraticket"
93+ - ./tools/update_config.sh
94+ - ./automations/70_publish_comment.sh 1-populate-from-icpsr started
9195 - if [ -d $projectID ]; then \rm -rf $projectID; fi
9296 - if [ ! -z $openICPSRID ]; then python3 tools/download_openicpsr-private.py $openICPSRID; fi
9397 - if [ ! -z $ZenodoID ]; then python3 tools/download_zenodo_draft.py $ZenodoID; fi
@@ -239,12 +243,13 @@ pipelines:
239243 script :
240244 - . ./tools/parse_yaml.sh
241245 - eval $(parse_yaml config.yml)
242- - if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; fi
243- - if [ -z $ZenodoID ]; then ZenodoID=$zenodo; fi
246+ - if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
247+ - if [ -z $ZenodoID ]; then ZenodoID=$zenodo; else echo "ZenodoID not set"; fi
244248 - projectID="${openICPSRID}"
245249 - projectID="${projectID:-zenodo-$ZenodoID}"
246250 - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
247- - if [ -z "$jiraticket" ] && [ -n "${openICPSRID:-}" ]; then jiraticket=$(python3 tools/jira_find_task_by_icpsr.py "$openICPSRID" 2>/dev/null || true); fi
251+ - if [ -z "$jiraticket" ] && [ -n "${openICPSRID:-}" ]; then jiraticket=$(python3 tools/jira_find_task_by_icpsr.py "$openICPSRID" 2>/dev/null || true); else echo "Jira ticket not set"; fi
252+ - echo "Using Jira case $jiraticket"
248253 - ./tools/update_config.sh
249254 - if [ -d cache ]; then ls -lR cache/*; fi
250255 - ls -l generated/*
@@ -261,7 +266,7 @@ pipelines:
261266 - ./automations/20_commit_code.sh config.yml notag
262267 - git status
263268 - git push && git push --tags
264- - ./automations/70_publish_outcomes .sh 1-populate-from-icpsr
269+ - ./automations/70_publish_comment .sh 1-populate-from-icpsr completed
265270 2-merge-report : # name of this pipeline
266271 - variables : # list variable names under here
267272 - name : jiraticket
@@ -271,7 +276,9 @@ pipelines:
271276 - chmod a+rx automations/*.sh
272277 - ./automations/50_merge-parts.sh
273278 - git push
274- - ./automations/70_publish_outcomes.sh 2-merge-report
279+ - . ./tools/parse_yaml.sh
280+ - eval $(parse_yaml config.yml)
281+ - ./automations/70_publish_comment.sh 2-merge-report completed
275282 3-split-report : # name of this pipeline
276283 - variables : # list variable names under here
277284 - name : jiraticket
@@ -281,7 +288,9 @@ pipelines:
281288 - chmod a+rx automations/*.sh
282289 - ./automations/51_split-parts.sh
283290 - git push
284- - ./automations/70_publish_outcomes.sh 3-split-report
291+ - . ./tools/parse_yaml.sh
292+ - eval $(parse_yaml config.yml)
293+ - ./automations/70_publish_comment.sh 3-split-report completed
285294 4-refresh-tools : # name of this pipeline
286295 - step :
287296 name : Refresh the tools in this repository
@@ -290,7 +299,7 @@ pipelines:
290299 - chmod a+rx update_tools.sh
291300 - ./update_tools.sh
292301 - git push
293- - ./automations/70_publish_outcomes .sh 4-refresh-tools
302+ - ./automations/70_publish_comment .sh 4-refresh-tools completed
294303 5-rename-directory : # name of this pipeline
295304 - variables : # list variable names under here
296305 - name : oldName
@@ -307,7 +316,7 @@ pipelines:
307316 - ./tools/update_config.sh
308317 - ./automations/20_commit_code.sh config.yml notag
309318 - git push
310- - ./automations/70_publish_outcomes .sh 5-rename-directory
319+ - ./automations/70_publish_comment .sh 5-rename-directory completed
311320 6-convert-eps-pdf : # this can be run to convert EPS and PDF files to PNG
312321 - variables : # list variable names under here
313322 # These do not need to have a value, if "config.yml" is filled out.
@@ -333,11 +342,12 @@ pipelines:
333342 - . ./tools/parse_yaml.sh
334343 - eval $(parse_yaml config.yml)
335344 - chmod a+rx ./automations/*.sh
345+ - ./automations/70_publish_comment.sh 6-convert-eps-pdf started
336346 - docker run --rm -v $(pwd):/imgs --entrypoint=/bin/bash $DockerImg ./automations/52_convert_eps_pdf.sh -p "$path" -e $ProcessEPS -d $ProcessPDF
337347 - git add "$path"
338348 - git commit -m "[skip ci] Converted EPS and PDF to PNG"
339349 - git push
340- - ./automations/70_publish_outcomes .sh 6-convert-eps-pdf
350+ - ./automations/70_publish_comment .sh 6-convert-eps-pdf completed
341351 7-download-box-manifest : # name of this pipeline
342352 - variables : # list variable names under here
343353 - name : repository_name
@@ -349,13 +359,17 @@ pipelines:
349359 script :
350360 - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
351361 - chmod a+rx ./automations/*.sh
362+ - . ./tools/parse_yaml.sh
363+ - eval $(parse_yaml config.yml)
364+ - chmod a+rx ./automations/*.sh
365+ - ./automations/70_publish_comment.sh 7-download-box-manifest started
352366 - python3 ./tools/download_box_private.py $repository_name
353367 - ./automations/00_unpack_zip.sh restricted
354368 - ./automations/04_create_manifest.sh restricted restricted
355369 - git add -f generated/*
356370 - git commit -m "[skip ci] Downloaded Box files and created manifests"
357371 - git push
358- - ./automations/70_publish_outcomes .sh 7-download-box-manifest
372+ - ./automations/70_publish_comment .sh 7-download-box-manifest completed
359373 8-download-sivacor : # name of this pipeline
360374 - variables : # list variable names under here
361375 - name : jiraticket
@@ -373,9 +387,10 @@ pipelines:
373387 - if [ -z "$jiraticket" ]; then jiraticket=$(basename $(pwd)); fi # Determine Jira case from variable, directory name, or config.yml
374388 - ' if [ -z "$jiraticket" ]; then echo "Error: Could not determine Jira case"; exit 1; fi'
375389 - ' echo "Using Jira case: $jiraticket"'
390+ - ./automations/70_publish_comment.sh 8-download-sivacor started
376391 - python3 tools/download_sivacor.py $jiraticket # Run the SIVACOR download script
377392 - git push -u origin HEAD # Push the created branch (do not merge to master)
378- - ./automations/70_publish_outcomes .sh 8-download-sivacor
393+ - ./automations/70_publish_comment .sh 8-download-sivacor completed
379394 9-find-cran-date : # name of this pipeline
380395 - variables :
381396 - name : filename
@@ -395,11 +410,12 @@ pipelines:
395410 - found_file=$(find . -name "$filename" -not -path "./.git/*" | head -1)
396411 - if [ -z "$found_file" ]; then echo "File '$filename' not found in repository"; exit 1; fi
397412 - echo "Found $found_file"
413+ - ./automations/70_publish_comment.sh 9-find-cran-date started
398414 - python3 tools/find_cran_date.py "$found_file" --output generated/notes-for-r.md
399415 - git add generated/notes-for-r.md
400416 - git diff --cached --quiet || git commit -m "[skip ci] Added R environment notes"
401417 - git push
402- - ./automations/70_publish_outcomes .sh 9-find-cran-date
418+ - ./automations/70_publish_comment .sh 9-find-cran-date completed
403419 w-big-populate-from-icpsr : # name of this pipeline
404420 - variables : # list variable names under here
405421 # These do not need to have a value, if "config.yml" is filled out.
@@ -423,6 +439,7 @@ pipelines:
423439 - projectID="${projectID:-zenodo-$ZenodoID}"
424440 - if [ -z "$jiraticket" ] && [ -n "${openICPSRID:-}" ]; then jiraticket=$(python3 tools/jira_find_task_by_icpsr.py "$openICPSRID" 2>/dev/null || true); fi
425441 - ./tools/update_config.sh
442+ - ./automations/70_publish_comment.sh w-big-populate-from-icpsr started
426443 - if [ -d $projectID ]; then \rm -rf $projectID; fi
427444 - if [ ! -z $openICPSRID ]; then python3 tools/download_openicpsr-private.py $openICPSRID; fi
428445 - if [ ! -z $ZenodoID ]; then python3 tools/download_zenodo_draft.py $ZenodoID; fi
@@ -447,7 +464,7 @@ pipelines:
447464 - git status
448465 - git push
449466 - git push --tags
450- - ./automations/70_publish_outcomes .sh w-big-populate-from-icpsr
467+ - ./automations/70_publish_comment .sh w-big-populate-from-icpsr completed
451468
452469 x-run-python :
453470 - variables :
@@ -519,7 +536,7 @@ pipelines:
519536 - ./automations/20_commit_code.sh config.yml notag
520537 - git status
521538 - git push
522- - ./automations/70_publish_outcomes .sh z-run-any-big
539+ - ./automations/70_publish_comment .sh z-run-any-big completed
523540
524541 # default:
525542 # - step:
0 commit comments