-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.gitlab-ci.yml
94 lines (85 loc) · 1.82 KB
/
.gitlab-ci.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
variables:
GIT_SUBMODULE_STRATEGY: none
CI_DISPOSABLE_ENVIRONMENT: "true"
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
DOCKER_BUILDKIT: 1
default:
image: docker:27
services:
- name: docker:27-dind
command: ["dockerd", "--host=tcp://0.0.0.0:2375"]
alias: "docker"
before_script:
- docker info
- docker buildx create
--driver=docker-container
--name=buildkit-builder
--use
--platform linux/amd64,linux/arm64
tags:
- cloud
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- stuck_or_timeout_failure
stages:
- build_push
build_bitcoind:
stage: build_push
when: manual
only:
changes:
- bitcoind/**
script:
- cd bitcoind && sh ./build-and-push-to-dockerhub.sh
build_lightningd:
stage: build_push
when: manual
only:
changes:
- lightningd/Dockerfile
script:
- cd lightningd && sh ./build-and-push-to-dockerhub.sh
build_lightningd_peerswap:
stage: build_push
when: manual
only:
changes:
- lightningd/peerswap/*
script:
- cd lightningd/peerswap && sh ./build-and-push-to-dockerhub.sh
build_lightningd_historian:
stage: build_push
when: manual
only:
changes:
- lightningd/misc/historian/*
script:
- cd lightningd/misc/historian && sh ./build-and-push-to-dockerhub.sh
build_elementsd:
stage: build_push
when: manual
only:
changes:
- elementsd/**
script:
- cd elementsd && sh ./build-and-push-to-dockerhub.sh
build_waterfalls:
stage: build_push
when: manual
only:
changes:
- waterfalls/**
script:
- cd waterfalls && sh ./build-and-push-to-dockerhub.sh
build_electrsd:
stage: build_push
when: manual
only:
changes:
- electrsd/**
script:
- cd electrsd && sh ./build-and-push-to-dockerhub.sh