forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
75 lines (69 loc) · 1.83 KB
/
create_bitstreams.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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: 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
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