-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
52 lines (50 loc) · 1.57 KB
/
Copy pathaction.yml
File metadata and controls
52 lines (50 loc) · 1.57 KB
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
name: 'Update Docker Data Volumes'
description: 'Query web server and update data volumes used for testing'
inputs:
docker_name:
description: 'DockerHub username'
required: true
docker_pass:
description: 'DockerHub password'
required: true
repo_name:
description: 'Directory on DTC server to search for new data for a repo'
required: true
data_prefix:
description: 'Prefix of tar files to search'
required: true
branch_name:
description: 'Name of branch that triggered logic'
required: true
docker_data_dir:
description: 'Path in Docker volume to put new data'
required: true
data_repo_dev:
description: 'DockerHub repository to push development data volumes'
required: true
data_repo_stable:
description: 'DockerHub repository to push data volumes for stable versions'
default: ''
use_feature_data:
description: 'If true, create data volumes for feature branches, otherwise use develop'
default: 'false'
tag_max_pages:
description: 'Maximum number of pages of DockerHub tags to search'
default: 20
outputs:
data_volumes:
description: 'Docker data volumes associated with current branch (comma-separated list)'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.docker_name }}
- ${{ inputs.docker_pass }}
- ${{ inputs.repo_name }}
- ${{ inputs.data_prefix }}
- ${{ inputs.branch_name }}
- ${{ inputs.docker_data_dir }}
- ${{ inputs.data_repo_dev }}
- ${{ inputs.data_repo_stable }}
- ${{ inputs.use_feature_data }}
- ${{ inputs.tag_max_pages }}