forked from cassinyio/SwarmSpawner
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path1.gocd.yml
54 lines (54 loc) · 1.83 KB
/
1.gocd.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
environments:
bare_metal_pypi_package:
environments:
GIT_USER: "{{SECRET:[github][username]}}"
pipelines:
- swarmspawner
- swarmspawner_accelerator_selection
pipelines:
swarmspawner:
group: bare_metal_pypi_package
locking: off
timer:
# Run on the 1st at 00:00 of every month
spec: "0 0 0 1 * ? *"
only_on_changes: no
materials:
swarmspawner_git: # this is the name of material
# says about type of material and url at once
git: https://github.com/ucphhpc/SwarmSpawner.git
branch: master
destination: swarmspawner
publish_python_git:
git: https://github.com/rasmunk/publish-python-scripts.git
branch: main
username: ${GIT_USER}
password: "{{SECRET:[github][access_token]}}"
destination: publish-python-scripts
parameters:
ARGS: ''
SRC_DIRECTORY: swarmspawner
TEST_DIRECTORY: swarmspawner
PUSH_DIRECTORY: publish-python-scripts
template: bare_metal_pypi_package
swarmspawner_accelerator_selection:
group: bare_metal_pypi_package
locking: off
materials:
swarmspawner_git: # this is the name of material
# says about type of material and url at once
git: https://github.com/ucphhpc/SwarmSpawner.git
branch: accelerator_selection
destination: swarmspawner_accelerator_selection
publish_python_git:
git: https://github.com/rasmunk/publish-python-scripts.git
branch: main
username: ${GIT_USER}
password: "{{SECRET:[github][access_token]}}"
destination: publish-python-scripts
parameters:
ARGS: ''
SRC_DIRECTORY: swarmspawner_accelerator_selection
TEST_DIRECTORY: swarmspawner_accelerator_selection
PUSH_DIRECTORY: publish-python-scripts
template: bare_metal_pypi_package