Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recreate imagestream.yaml removed from upstream and add PR check for it #7

Merged
merged 4 commits into from
Jan 26, 2024
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
22 changes: 22 additions & 0 deletions .github/workflows/osl-images-pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: OSL Images PR check

on: pull_request
jobs:
validate_osl_imagestream:
concurrency:
group: ${{ github.repository.name }}_validate_osl_imagestream-${{ github.head_ref }}
cancel-in-progress: true
name: Validate OSL imagestreams
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download openshift-validator-tool
run: |
wget https://github.com/jboss-container-images/jboss-kie-modules/raw/main/tools/openshift-template-validator/openshift-template-validator-linux-amd64
- name: Add execution permission to openshift-validator-tool
run: |
chmod +x openshift-template-validator-linux-amd64
mv openshift-template-validator-linux-amd64 ${HOME}
- name: validate OSL imagestream
run: |
${HOME}/openshift-template-validator-linux-amd64 validate -f openshift-serverless-logic-imagestream.yaml
89 changes: 89 additions & 0 deletions openshift-serverless-logic-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
kind: ImageStreamList
apiVersion: v1
metadata:
name: openshift-serverless-logic-image-streams
annotations:
description: ImageStream definitions for Red Hat OpenShift Serverless Logic images
openshift.io/provider-display-name: Kie Group
items:
- kind: ImageStream
apiVersion: v1
metadata:
name: logic-data-index-ephemeral-rhel8
annotations:
openshift.io/display-name: Red Hat build of Runtime image for SonataFlow Data Index Service for ephemeral PostgreSQL persistence provider
openshift.io/provider-display-name: Kie Group
spec:
tags:
- name: '1.32.0'
annotations:
description: Red Hat build of SonataFlow Data Index Service - ephemeral PostgreSQL
iconClass: icon-jbpm
tags: logic-data-index,sonataflow,data-index,data-index-ephemeral
supports: quarkus
version: '1.32.0'
referencePolicy:
type: Local
from:
kind: DockerImage
name: registry.redhat.io/openshift-serverless-1-tech-preview/logic-data-index-ephemeral-rhel8:1.32.0
- kind: ImageStream
apiVersion: v1
metadata:
name: logic-devmode
annotations:
openshift.io/display-name: Red Hat build of SonataFlow development mode image with Quarkus extensions libraries preinstalled.
openshift.io/provider-display-name: Kie Group
spec:
tags:
- name: '1.32.0'
annotations:
description: Red Hat build of SonataFlow development mode image with Quarkus extensions libraries preinstalled.
iconClass: icon-jbpm
tags: logic,devmode,sonataflow,development,serverless,workflow
supports: quarkus
version: '1.32.0'
referencePolicy:
type: Local
from:
kind: DockerImage
name: registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-devmode-rhel8:1.32.0
- kind: ImageStream
apiVersion: v1
metadata:
name: logic-builder
annotations:
openshift.io/display-name: Red Hat build of Runtime image for SonataFlow builder with Quarkus extensions libraries preinstalled
openshift.io/provider-display-name: Kie Group
spec:
tags:
- name: '1.32.0'
annotations:
description: Red Hat build of Runtime image for SonataFlow builder with Quarkus extensions libraries preinstalled
iconClass: icon-jbpm
tags: logic,builder,sonataflow,workflow,serverless
supports: quarkus
version: '1.32.0'
referencePolicy:
type: Local
from:
kind: DockerImage
name: registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8:1.32.0
Loading