Skip to content

Commit 829be26

Browse files
committed
Debugging SIVACOR pull
1 parent 1ee3dad commit 829be26

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

bitbucket-pipelines.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ pipelines:
277277
- ./automations/50_merge-parts.sh
278278
- git push
279279
- . ./tools/parse_yaml.sh
280-
- eval $(parse_yaml config.yml)
280+
- eval $(parse_yaml config.yml)
281+
- if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
281282
- ./automations/70_publish_comment.sh 2-merge-report completed
282283
3-split-report: #name of this pipeline
283284
- variables: #list variable names under here
@@ -290,6 +291,7 @@ pipelines:
290291
- git push
291292
- . ./tools/parse_yaml.sh
292293
- eval $(parse_yaml config.yml)
294+
- if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
293295
- ./automations/70_publish_comment.sh 3-split-report completed
294296
4-refresh-tools: #name of this pipeline
295297
- step:
@@ -310,6 +312,7 @@ pipelines:
310312
script:
311313
- . ./tools/parse_yaml.sh
312314
- eval $(parse_yaml config.yml)
315+
- if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
313316
- git mv $oldName $newName
314317
- git commit -m "[skip ci] Rename $oldName to $newName"
315318
- export openICPSRID=$newName
@@ -341,6 +344,7 @@ pipelines:
341344
script:
342345
- . ./tools/parse_yaml.sh
343346
- eval $(parse_yaml config.yml)
347+
- if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
344348
- chmod a+rx ./automations/*.sh
345349
- ./automations/70_publish_comment.sh 6-convert-eps-pdf started
346350
- docker run --rm -v $(pwd):/imgs --entrypoint=/bin/bash $DockerImg ./automations/52_convert_eps_pdf.sh -p "$path" -e $ProcessEPS -d $ProcessPDF
@@ -361,6 +365,7 @@ pipelines:
361365
- chmod a+rx ./automations/*.sh
362366
- . ./tools/parse_yaml.sh
363367
- eval $(parse_yaml config.yml)
368+
- if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
364369
- chmod a+rx ./automations/*.sh
365370
- ./automations/70_publish_comment.sh 7-download-box-manifest started
366371
- python3 ./tools/download_box_private.py $repository_name
@@ -384,6 +389,8 @@ pipelines:
384389
- if [ -f requirements-sivacor.txt ]; then pip install -r requirements-sivacor.txt; fi
385390
- . ./tools/parse_yaml.sh
386391
- eval $(parse_yaml config.yml)
392+
- if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
393+
- 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
387394
- if [ -z "$jiraticket" ]; then jiraticket=$(basename $(pwd)); fi # Determine Jira case from variable, directory name, or config.yml
388395
- 'if [ -z "$jiraticket" ]; then echo "Error: Could not determine Jira case"; exit 1; fi'
389396
- 'echo "Using Jira case: $jiraticket"'
@@ -406,7 +413,7 @@ pipelines:
406413
script:
407414
- . ./tools/parse_yaml.sh
408415
- eval $(parse_yaml config.yml)
409-
- mkdir -p generated
416+
- if [ -z $openICPSRID ]; then openICPSRID=$openicpsr; else echo "openICPSRID not set"; fi
410417
- found_file=$(find . -name "$filename" -not -path "./.git/*" | head -1)
411418
- if [ -z "$found_file" ]; then echo "File '$filename' not found in repository"; exit 1; fi
412419
- echo "Found $found_file"

requirements-sivacor.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sivacor @ git+https://github.com/SIVACOR/sivacor-editor-tools.git@6d9447b62fc640625b983c6151c9ae5595b993d3
1+
sivacor @ git+https://github.com/SIVACOR/sivacor-editor-tools.git@24baec67658864f2f7ad5eba7cc6ee20d0822fc6

0 commit comments

Comments
 (0)