create_bitstreams - import test files #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: create_bitstreams - import test files | |
on: | |
workflow_dispatch: | |
inputs: | |
INSTANCE: | |
required: true | |
default: '8' | |
type: choice | |
options: | |
- '2' | |
- '5' | |
- '6' | |
- '8' | |
jobs: | |
checkout-codebase: | |
runs-on: dspace-dep-1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: dataquest-dev/dspace-python-api | |
ref: internal/add-env-for-BE | |
import-2: | |
if: inputs.INSTANCE == '2' | |
runs-on: dspace-dep-1 | |
needs: checkout-codebase | |
env: | |
DSPACE_REST_API: http://dev-5.pc:82/server/api/ | |
steps: | |
- name: install requirements and run import | |
run: | | |
pip install -r requirements.txt | |
cd tools/create_bitstreams | |
python3 create_bitstreams.py | |
import-5: | |
if: inputs.INSTANCE == '5' | |
runs-on: dspace-dep-1 | |
needs: checkout-codebase | |
env: | |
DSPACE_REST_API: http://dev-5.pc:85/server/api/ | |
steps: | |
- name: install requirements and run import | |
run: | | |
pip install -r requirements.txt | |
cd tools/create_bitstreams | |
python create_bitstreams.py | |
import-6: | |
if: inputs.INSTANCE == '6' | |
runs-on: dspace-dep-1 | |
needs: checkout-codebase | |
env: | |
DSPACE_REST_API: http://dev-5.pc:86/server/api/ | |
steps: | |
- name: install requirements and run import | |
run: | | |
pip install -r requirements.txt | |
cd tools/create_bitstreams | |
python create_bitstreams.py | |
import-8: | |
if: inputs.INSTANCE == '8' | |
runs-on: dspace-dep-1 | |
needs: checkout-codebase | |
env: | |
DSPACE_REST_API: http://dev-5.pc:88/server/api/ | |
steps: | |
- name: install requirements and run import | |
run: | | |
pip install -r requirements.txt | |
cd tools/create_bitstreams | |
python create_bitstreams.py |