blob: f2467fe687da590161efc8db3c17071469db77c4 [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
26
27- job:
28 name: atmosphere-build-container-image
29 parent: ci-build-container-image
30 abstract: true
Mohammed Naserda994232024-04-13 12:34:01 -040031 vars: &image_vars
32 container_command: docker
33 promote_container_image_method: intermediate-registry
34 buildset_registry_namespaces:
35 - ['docker.io', 'https://registry-1.docker.io']
36 - ['quay.io', 'https://quay.io']
37 - ['gcr.io', 'https://gcr.io']
38 - ['registry.atmosphere.dev', 'https://registry.atmosphere.dev']
39
40- job:
41 name: atmosphere-upload-container-image
42 parent: ci-upload-container-image
43 abstract: true
Mohammed Naserda994232024-04-13 12:34:01 -040044 secrets:
45 name: container_registry_credentials
46 secret: atmosphere-registry-credentials
47 pass-to-parent: true
48 vars: *image_vars
49
50- job:
51 name: atmosphere-promote-container-image
52 parent: ci-promote-container-image
53 secrets:
54 name: container_registry_credentials
55 secret: atmosphere-registry-credentials
56 pass-to-parent: true
57 nodeset:
58 nodes: []
59 vars: *image_vars