Skip to content

create_bitstreams - import test files #17

create_bitstreams - import test files

create_bitstreams - import test files #17

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
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
python3 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
python3 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
python3 create_bitstreams.py