Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
Replace operator API group janus-idp.io with rhdh.redhat.com
Browse files Browse the repository at this point in the history
  • Loading branch information
jianrongzhang89 committed Feb 14, 2024
1 parent bc47274 commit edcefbe
Show file tree
Hide file tree
Showing 53 changed files with 473 additions and 106 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/next-container-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
# now copy images from local cache to quay, using 0.0.1-next-f00cafe, 0.0.1-next, and next tags
for image in operator operator-bundle operator-catalog; do
podman push quay.io/janus-idp/${image}:${VERSION} -q
skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${VERSION%-*}
skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${latestNext}
podman push quay.io/rhdh/${image}:${VERSION} -q
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} docker://quay.io/rhdh/${image}:${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} docker://quay.io/rhdh/${image}:${VERSION%-*}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} docker://quay.io/rhdh/${image}:${latestNext}
done
8 changes: 4 additions & 4 deletions .github/workflows/pr-container-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ jobs:
# now copy images from local cache to quay, using 0.0.1-pr-123-f00cafe and 0.0.1-pr-123 tags
for image in operator operator-bundle operator-catalog; do
podman push quay.io/janus-idp/${image}:${VERSION} -q
skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${VERSION%-*}
podman push quay.io/rhdh/${image}:${VERSION} -q
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} docker://quay.io/rhdh/${image}:${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} docker://quay.io/rhdh/${image}:${VERSION%-*}
done
- name: Comment image links in PR
# run this stage only if there are changes that match the includes and not the excludes
Expand All @@ -139,5 +139,5 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'PR images are available:<br/><ol><li>https://quay.io/janus-idp/operator:${{ env.BASE_VERSION }}-pr-${{ github.event.number }}-${{ env.SHORT_SHA }}</li><li>https://quay.io/janus-idp/operator-bundle:${{ env.BASE_VERSION }}-pr-${{ github.event.number }}-${{ env.SHORT_SHA }}</li><li>https://quay.io/janus-idp/operator-catalog:${{ env.BASE_VERSION }}-pr-${{ github.event.number }}-${{ env.SHORT_SHA }}</li></ol>'
body: 'PR images are available:<br/><ol><li>https://quay.io/rhdh/operator:${{ env.BASE_VERSION }}-pr-${{ github.event.number }}-${{ env.SHORT_SHA }}</li><li>https://quay.io/rhdh/operator-bundle:${{ env.BASE_VERSION }}-pr-${{ github.event.number }}-${{ env.SHORT_SHA }}</li><li>https://quay.io/rhdh/operator-catalog:${{ env.BASE_VERSION }}-pr-${{ github.event.number }}-${{ env.SHORT_SHA }}</li></ol>'
})
11 changes: 5 additions & 6 deletions .rhdh/bundle/manifests/rhdh-operator.csv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
alm-examples: |-
[
{
"apiVersion": "janus-idp.io/v1alpha1",
"apiVersion": "rhdh.redhat.com/v1alpha1",
"kind": "Backstage",
"metadata": {
"name": "developer-hub"
Expand Down Expand Up @@ -55,7 +55,7 @@ spec:
developer portal for adopters who are just starting out.
displayName: Red Hat Developer Hub
kind: Backstage
name: backstages.janus-idp.io
name: backstages.rhdh.redhat.com
version: v1alpha1
description: Red Hat Developer Hub is a Red Hat supported version of Backstage.
It comes with pre-built plug-ins, configuration settings, and deployment mechanisms,
Expand Down Expand Up @@ -107,7 +107,7 @@ spec:
- update
- watch
- apiGroups:
- janus-idp.io
- rhdh.redhat.com
resources:
- backstages
verbs:
Expand All @@ -119,13 +119,13 @@ spec:
- update
- watch
- apiGroups:
- janus-idp.io
- rhdh.redhat.com
resources:
- backstages/finalizers
verbs:
- update
- apiGroups:
- janus-idp.io
- rhdh.redhat.com
resources:
- backstages/status
verbs:
Expand Down Expand Up @@ -316,7 +316,6 @@ spec:
type: AllNamespaces
keywords:
- Backstage
- Janus-IDP
- RHDH
links:
- name: Product Page
Expand Down
Loading

0 comments on commit edcefbe

Please sign in to comment.