openstack-helm-images/zuul.d/osh-selenium.yaml

74 lines
2.5 KiB
YAML

---
# Copyright 2019 The Openstack-Helm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
check:
jobs:
- openstack-helm-images-build-osh-selenium
gate:
jobs:
- openstack-helm-images-upload-osh-selenium
promote:
jobs:
- openstack-helm-images-promote-osh-selenium
periodic-weekly:
jobs:
- openstack-helm-images-upload-osh-selenium
- openstack-helm-images-promote-osh-selenium:
dependencies:
- name: openstack-helm-images-aio-monitoring
- name: openstack-helm-images-aio-logging
- job:
name: openstack-helm-images-build-osh-selenium
parent: openstack-helm-images-build
description: Build selenium image with chrome headless driver
vars: &osh-selenium_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: osh-selenium
repository: openstackhelm/osh-selenium
dockerfile: Dockerfile.ubuntu
build_args:
- "FROM=docker.io/ubuntu:focal"
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
- context: osh-selenium
repository: openstackhelm/osh-selenium
dockerfile: Dockerfile.ubuntu
build_args:
- "FROM=docker.io/ubuntu:jammy"
tags:
- latest-ubuntu_jammy
- "ubuntu_jammy-{{ currentdate }}"
files: &osh-selenium_files
- osh-selenium/.*
- zuul.d/osh-selenium.yaml
- job:
name: openstack-helm-images-upload-osh-selenium
parent: openstack-helm-images-upload
description: Build and upload selenium image with chrome headless driver
vars: *osh-selenium_vars
files: *osh-selenium_files
- job:
name: openstack-helm-images-promote-osh-selenium
parent: openstack-helm-images-promote
description: Promote a previously published selenium image with chrome headless driver.
vars: *osh-selenium_vars
files: *osh-selenium_files