diff --git a/assets/Dockerfile b/assets/Dockerfile new file mode 100644 index 0000000000..39189d3b2e --- /dev/null +++ b/assets/Dockerfile @@ -0,0 +1,4 @@ +FROM scratch +COPY favicon.ico / +COPY logo.svg / +COPY opendev-sm.png / diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000000..8a92dda1e9 Binary files /dev/null and b/assets/favicon.ico differ diff --git a/assets/logo.svg b/assets/logo.svg new file mode 100644 index 0000000000..213491a130 --- /dev/null +++ b/assets/logo.svg @@ -0,0 +1,49 @@ + +image/svg+xml \ No newline at end of file diff --git a/assets/opendev-sm.png b/assets/opendev-sm.png new file mode 100644 index 0000000000..789b7c9073 Binary files /dev/null and b/assets/opendev-sm.png differ diff --git a/zuul.d/docker-images/assets.yaml b/zuul.d/docker-images/assets.yaml new file mode 100644 index 0000000000..8e71fe1d0a --- /dev/null +++ b/zuul.d/docker-images/assets.yaml @@ -0,0 +1,27 @@ +# Opendev assets image build +- job: + name: system-config-build-image-assets + provides: assets-container-image + description: Build Opendev assets bundle + parent: system-config-build-image + vars: &assets_vars + docker_images: + - context: assets + repository: opendevorg/assets + files: &assets_files + - assets/ + +- job: + name: system-config-upload-image-assets + description: Build and upload assets bundle + provides: assets-container-image + parent: system-config-upload-image + vars: *assets_vars + files: *assets_files + +- job: + name: system-config-promote-image-assets + description: Promote a previously published assets bundle image to latest. + parent: system-config-promote-image + vars: *assets_vars + files: *assets_files diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 944fa828e1..f55e0031fd 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -96,6 +96,7 @@ soft: true - system-config-run-zuul-preview - system-config-run-letsencrypt + - system-config-build-image-assets - system-config-build-image-jinja-init: dependencies: - name: opendev-buildset-registry @@ -254,6 +255,7 @@ - name: system-config-upload-image-jinja-init soft: true - system-config-upload-image-hound + - system-config-upload-image-assets - system-config-upload-image-etherpad - system-config-upload-image-gitea - system-config-upload-image-grafana @@ -306,6 +308,7 @@ - opendev-promote-docs deploy: jobs: + - system-config-promote-image-assets - system-config-promote-image-hound - system-config-promote-image-jinja-init - system-config-promote-image-gitea-init