blob: 021dbfce5fc8afb0db2282957e81ca74d6b98187 [file] [log] [blame]
Mohammed Naserda994232024-04-13 12:34:01 -04001# Copyright (c) 2024 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15- project:
16 check:
17 jobs:
18 - atmosphere-buildset-registry
19 gate:
20 jobs:
21 - atmosphere-buildset-registry
22
23- job:
24 name: atmosphere-buildset-registry
25 parent: ci-buildset-registry
Mohammed Naser90128aa2024-04-29 13:21:58 -040026 irrelevant-files:
27 - ^doc/
Mohammed Naserda994232024-04-13 12:34:01 -040028
29- job:
30 name: atmosphere-build-container-image
31 parent: ci-build-container-image
32 abstract: true
Mohammed Naser90128aa2024-04-29 13:21:58 -040033 irrelevant-files:
34 - ^doc/
Mohammed Naserda994232024-04-13 12:34:01 -040035 vars: &image_vars
36 container_command: docker
37 promote_container_image_method: intermediate-registry
38 buildset_registry_namespaces:
39 - ['docker.io', 'https://registry-1.docker.io']
40 - ['quay.io', 'https://quay.io']
41 - ['gcr.io', 'https://gcr.io']
42 - ['registry.atmosphere.dev', 'https://registry.atmosphere.dev']
43
44- job:
45 name: atmosphere-upload-container-image
46 parent: ci-upload-container-image
47 abstract: true
Mohammed Naser90128aa2024-04-29 13:21:58 -040048 irrelevant-files:
49 - ^doc/
Mohammed Naserda994232024-04-13 12:34:01 -040050 secrets:
51 name: container_registry_credentials
52 secret: atmosphere-registry-credentials
53 pass-to-parent: true
54 vars: *image_vars
55
56- job:
57 name: atmosphere-promote-container-image
58 parent: ci-promote-container-image
Mohammed Naser90128aa2024-04-29 13:21:58 -040059 irrelevant-files:
60 - ^doc/
Mohammed Naserda994232024-04-13 12:34:01 -040061 secrets:
62 name: container_registry_credentials
63 secret: atmosphere-registry-credentials
64 pass-to-parent: true
65 nodeset:
66 nodes: []
67 vars: *image_vars