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

Commit

Permalink
change to use module redhat-developer/red-hat-developer-hub-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
jianrongzhang89 committed Feb 16, 2024
1 parent 70fc3f9 commit 590cd64
Show file tree
Hide file tree
Showing 21 changed files with 29 additions and 29 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/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}
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}
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/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%-*}
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%-*}
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/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>'
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>'
})
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
# This variable is used to construct full image tags for bundle and catalog images.
#
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
# redhat-developer/backstage-operator-bundle:$VERSION and redhat-developer/backstage-operator-catalog:$VERSION.
# quay.io/janus-idp/operator-bundle:$VERSION and quay.io/janus-idp/operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= quay.io/janus-idp/operator

# BUNDLE_IMG defines the image:tag used for the bundle.
Expand Down
4 changes: 2 additions & 2 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
projectName: backstage-operator
repo: redhat-developer/backstage-operator
repo: redhat-developer/red-hat-developer-hub-operator
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: rhdh.redhat.com
kind: Backstage
path: redhat-developer/backstage-operator/api/v1alpha1
path: redhat-developer/red-hat-developer-hub-operator/api/v1alpha1
version: v1alpha1
version: "3"
2 changes: 1 addition & 1 deletion controllers/backstage_app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"fmt"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_backend_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"fmt"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"path/filepath"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

"github.com/go-logr/logr"
appsv1 "k8s.io/api/apps/v1"
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"k8s.io/utils/pointer"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

bsv1alpha1 "redhat-developer/backstage-operator/api/v1alpha1"
bsv1alpha1 "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_dynamic_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"fmt"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_extra_envs.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package controller

import (
bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_extra_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"fmt"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"k8s.io/utils/pointer"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

openshift "github.com/openshift/api/route/v1"
"k8s.io/apimachinery/pkg/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion controllers/backstage_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion controllers/local_db_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"k8s.io/apimachinery/pkg/api/errors"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion controllers/local_db_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"context"
"fmt"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"

corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion controllers/local_db_statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion controllers/local_db_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"context"
"fmt"
bs "redhat-developer/backstage-operator/api/v1alpha1"
bs "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/types"
Expand Down
2 changes: 1 addition & 1 deletion controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

backstageiov1alpha1 "redhat-developer/backstage-operator/api/v1alpha1"
backstageiov1alpha1 "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"
//+kubebuilder:scaffold:imports
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module redhat-developer/backstage-operator
module redhat-developer/red-hat-developer-hub-operator

go 1.20

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/healthz"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

backstageiov1alpha1 "redhat-developer/backstage-operator/api/v1alpha1"
controller "redhat-developer/backstage-operator/controllers"
backstageiov1alpha1 "redhat-developer/red-hat-developer-hub-operator/api/v1alpha1"
controller "redhat-developer/red-hat-developer-hub-operator/controllers"

openshift "github.com/openshift/api/route/v1"
//+kubebuilder:scaffold:imports
Expand Down

0 comments on commit 590cd64

Please sign in to comment.