Skip to content

Commit

Permalink
Recreate imagestream.yaml removed from upstream and add PR check for …
Browse files Browse the repository at this point in the history
…it (#7)

* recreate logic-imagestream.yaml file removed from upstream

New name is openshift-serverless-logic-imagestream.yaml to avoid issues when syncing with upstream main branch

* update versions to 1.32.0 in openshift-serverless-logic-imagestream.yaml

* add .github/workflows/osl-images-pr-check.yml to valide openshift-serverless-logic-imagestream.yaml

* Apply suggestions from code review

Co-authored-by: Ricardo Zanini <[email protected]>

---------

Co-authored-by: Ricardo Zanini <[email protected]>
  • Loading branch information
rgdoliveira and ricardozanini authored Jan 26, 2024
1 parent ffc0c60 commit 85be3ef
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
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

0 comments on commit 85be3ef

Please sign in to comment.