Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions .github/workflows/release-horizon-rxt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,17 @@ name: Create and publish a the Horizon RXT compatible image
on:
workflow_dispatch:
inputs:
release:
description: 'Set release used for the build'
imageTag:
description: 'Set tag for the image'
required: true
default: 'master-ubuntu_jammy'
type: choice
options:
- master-ubuntu_jammy
- 2023.1-ubuntu_jammy
- 2023.2-ubuntu_jammy
pluginTag:
description: 'Set release used for the build environment'
required: true
default: 'master'
type: choice
Expand Down Expand Up @@ -54,7 +63,8 @@ jobs:
file: Containerfiles/HorizonRXT-Containerfile
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/horizon-rxt:${{ github.event.inputs.release }}-ubuntu_jammy
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/horizon-rxt:${{ github.event.inputs.pluginTag }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VERSION=${{ github.event.inputs.release }}
VERSION=${{ github.event.inputs.imageTag }}
PLUGIN_VERSION=${{ github.event.inputs.pluginTag }}
7 changes: 4 additions & 3 deletions Containerfiles/HorizonRXT-Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG VERSION=master
FROM openstackhelm/horizon:${VERSION}-ubuntu_jammy
RUN /var/lib/openstack/bin/pip install --constraint=https://releases.openstack.org/constraints/upper/${VERSION} \
ARG VERSION=master-ubuntu_jammy
FROM openstackhelm/horizon:${VERSION}
ARG PLUGIN_VERSION=master
RUN /var/lib/openstack/bin/pip install --constraint=https://releases.openstack.org/constraints/upper/${PLUGIN_VERSION} \
heat-dashboard \
octavia-dashboard