-
Notifications
You must be signed in to change notification settings - Fork 6
/
1.gocd.yml
39 lines (39 loc) · 1.21 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
environments:
docker_image:
environments:
GIT_USER: "{{SECRET:[github][username]}}"
pipelines:
- docker-migrid
pipelines:
docker-migrid:
group: docker_image
locking: off
timer:
# Run on the 1st at 00:00 of every month
spec: "0 0 0 1 * ? *"
only_on_changes: no
materials:
docker-migrid_git: # this is the name of material
# says about type of material and url at once
name: docker-migrid
git: https://github.com/ucphhpc/docker-migrid.git
branch: master
destination: docker-migrid
publish_docker_git: # this is the name of material
# says about type of material and url at once
name: publish-docker-scripts
git: https://github.com/rasmunk/publish-docker-scripts.git
branch: main
username: ${GIT_USER}
password: "{{SECRET:[github][access_token]}}"
destination: publish-docker-scripts
parameters:
IMAGE: docker-migrid
ARGS: ''
DEFAULT_TAG: latest
COMMIT_TAG: GO_REVISION_DOCKER_MIGRID_GIT
EXTRA_TAG: ''
SRC_DIRECTORY: docker-migrid
TEST_DIRECTORY: docker-migrid
PUSH_DIRECTORY: publish-docker-scripts
template: docker_image