-
Notifications
You must be signed in to change notification settings - Fork 7
/
.zuul.yaml
50 lines (45 loc) · 1.41 KB
/
.zuul.yaml
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
# Copyright (c) 2024 VEXXHOST, Inc.
# SPDX-License-Identifier: Apache-2.0
- job:
name: libvirtd-exporter-golangci-lint
parent: golangci-lint
vars:
go_version: 1.22.7
golangci_lint_version: 1.61.0
golangci_lint_options: --timeout=5m
- job:
name: libvirtd-exporter-build-container-image
parent: ci-build-container-image
vars: &libvirtd_exporter_images
promote_container_image_job: libvirtd-exporter-upload-container-image
container_images:
- context: .
registry: registry.atmosphere.dev
repository: registry.atmosphere.dev/library/libvirtd-exporter
arch:
- linux/amd64
- linux/arm64
tags:
- "{{ zuul.commit_id }}"
- "{{ zuul.tag is defined | ternary(zuul.tag, 'latest') }}"
- job:
name: libvirtd-exporter-upload-container-image
parent: ci-upload-container-image
vars: *libvirtd_exporter_images
- job:
name: libvirtd-exporter-promote-container-image
parent: ci-promote-container-image
vars: *libvirtd_exporter_images
- project:
merge-mode: squash-merge
check:
jobs:
- libvirtd-exporter-golangci-lint
- libvirtd-exporter-build-container-image
gate:
jobs:
- libvirtd-exporter-golangci-lint
- libvirtd-exporter-upload-container-image
promote:
jobs:
- libvirtd-exporter-promote-container-image