Skip to content

Commit 7e375c2

Browse files
antoine-gaillarddatadog-compute-robot
authored andcommitted
[local] Add gitlab-ci
1 parent 5a8088d commit 7e375c2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.gitlab-ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
include: https://gitlab-templates.ddbuild.io/compute-delivery/v2/compute-delivery.yml
2+
3+
test:
4+
stage: verify
5+
tags: [ "arch:amd64" ]
6+
image: registry.ddbuild.io/images/mirror/golang:1.20
7+
script:
8+
- make test-go test-vet test-fmt
9+
10+
build-csi-snapshotter:
11+
variables:
12+
IMAGE_NAME: "csi-snapshotter"
13+
EXTRA_ARGS: "-f cmd/csi-snapshotter/Dockerfile"
14+
extends: .build-docker-image
15+
16+
build-csi-snapshot-controller:
17+
variables:
18+
IMAGE_NAME: "csi-snapshot-controller"
19+
EXTRA_ARGS: "-f cmd/snapshot-controller/Dockerfile"
20+
extends: .build-docker-image
21+
22+
build-csi-snapshot-validation-webhook:
23+
variables:
24+
IMAGE_NAME: "csi-snapshot-validation-webhook"
25+
EXTRA_ARGS: "-f cmd/snapshot-validation-webhook/Dockerfile"
26+
extends: .build-docker-image

0 commit comments

Comments
 (0)