forked from Blockstream/esplora
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
36 lines (32 loc) · 824 Bytes
/
.gitlab-ci.yml
File metadata and controls
36 lines (32 loc) · 824 Bytes
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
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
DOCKER_BUILDKIT: 1
CI_DISPOSABLE_ENVIRONMENT: "true"
IMAGE_BASE: blockstream/esplora-base
IMAGE: blockstream/esplora
DOCKERHUB_ESPLORA_URL: "https://hub.docker.com/v2/repositories/blockstream/esplora/tags/"
default:
image: docker:27
services:
- name: docker:27-dind
command: ["dockerd", "--host=tcp://0.0.0.0:2375", "--mtu=1450"]
alias: "docker"
tags:
- cloud
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- stuck_or_timeout_failure
stages:
- build
include:
- "gitlab/**.yml"
## disables MR-triggered pipelines and allows only branch-triggered pipelines
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- when: always