blob: 6e33526a9a8516e7a3953fa4aef66b47639d218f [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
31 dependencies:
32 - name: atmosphere-buildset-registry
33 soft: false
34 vars: &image_vars
35 container_command: docker
36 promote_container_image_method: intermediate-registry
37 buildset_registry_namespaces:
38 - ['docker.io', 'https://registry-1.docker.io']
39 - ['quay.io', 'https://quay.io']
40 - ['gcr.io', 'https://gcr.io']
41 - ['registry.atmosphere.dev', 'https://registry.atmosphere.dev']
42
43- job:
44 name: atmosphere-upload-container-image
45 parent: ci-upload-container-image
46 abstract: true
47 dependencies:
48 - name: atmosphere-buildset-registry
49 soft: false
50 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
59 secrets:
60 name: container_registry_credentials
61 secret: atmosphere-registry-credentials
62 pass-to-parent: true
63 nodeset:
64 nodes: []
65 vars: *image_vars