Skip to content

NO-ISSUE: Synchronize From Upstream Repositories #190

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

Merged
merged 48 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
66ecaac
Test Registry (#1425)
dtfranz Nov 6, 2024
570d760
chore: configure Codecov to include only relevant directories for cov…
camilamacedo86 Nov 6, 2024
fca0afa
:seedling: Bump mkdocs-material from 9.5.43 to 9.5.44 (#1427)
dependabot[bot] Nov 7, 2024
22004fa
docs: add local build and deploy instructions to CONTRIBUTING.md (#1430)
camilamacedo86 Nov 7, 2024
481bd5d
fix(docs): update API name to correct version (#1433)
camilamacedo86 Nov 7, 2024
8cd4a8c
Bump catalogd to v0.36.0 (#1434)
m1kola Nov 7, 2024
26904a2
fix: resolve JSONPath error in caBundle readiness check by adding kub…
camilamacedo86 Nov 7, 2024
8bccc74
Use a separate namespace for each e2e test (#1428)
tmshort Nov 7, 2024
662dd26
:seedling: Bump regex from 2024.9.11 to 2024.11.6 (#1436)
dependabot[bot] Nov 7, 2024
bb80643
fix: put annotations in deployment's pod template (#1432)
joelanford Nov 7, 2024
8d535a6
📖 [Docs] Document the granting of API access (#1407)
bentito Nov 7, 2024
ce86a65
:sparkles: reduce use of carvel validators (#1269)
everettraven Nov 7, 2024
d0865da
:seedling: Bump packaging from 24.1 to 24.2 (#1438)
dependabot[bot] Nov 8, 2024
6c2be08
⚠️ updates from api audit (#1404)
grokspawn Nov 8, 2024
aaa0e00
⚠️ Move `.spec.install.namespace` and `.spec.install.serviceAccount` …
everettraven Nov 11, 2024
046c3df
Fix upgrade-e2e CI job (#1445)
m1kola Nov 12, 2024
cb08ad4
:warning: Bump ClusterExtension API to v1 (#1228)
perdasilva Nov 12, 2024
32498f1
:warning: Bump catalogd to v1 (#1441)
perdasilva Nov 12, 2024
a5966fa
Fix upgrade-e2e CI job (#1451)
m1kola Nov 13, 2024
102f29f
Update remaining v1alpha1 references with v1 (#1452)
m1kola Nov 13, 2024
ac75d65
Improve formatting on the docs website (#1446)
m1kola Nov 13, 2024
6d79092
fix typo (#1455)
grokspawn Nov 13, 2024
2f1cae9
Merge branch 'main' into synchronize
tmshort Nov 13, 2024
adc4047
UPSTREAM: <carry>: Add OpenShift specific files
dtfranz Oct 26, 2023
8ca026c
UPSTREAM: <carry>: Drop commitchecker
awgreene Nov 3, 2023
b56cd54
UPSTREAM: <carry>: Updating ose-olm-operator-controller-container ima…
Dec 16, 2023
be93097
UPSTREAM: <carry>: update owners
Mar 27, 2024
8d940e6
UPSTREAM: <carry>: Add pointer to tooling README
bentito Apr 1, 2024
969ab40
UPSTREAM: <carry>: Disable Validating Admission Policy APIs downstream
Apr 26, 2024
b5453b1
UPSTREAM: <carry>: Updating ose-olm-operator-controller-container ima…
Mar 27, 2024
1ea5641
UPSTREAM: <carry>: Enable Validating Admission Policy APIs downstream
Apr 30, 2024
f2d07e3
UPSTREAM: <carry>: manifests: set required-scc for openshift workloads
liouk May 2, 2024
82b7fcf
UPSTREAM: <carry>: Updating ose-olm-operator-controller-container ima…
May 25, 2024
210304a
UPSTREAM: <carry>: add everettraven to approvers+reviewers
everettraven Jun 24, 2024
6d9ece1
UPSTREAM: <carry>: add openshift kustomize overlay
everettraven Jul 9, 2024
2111299
UPSTREAM: <carry>: Add tmshort to approvers
tmshort Sep 11, 2024
fff554e
UPSTREAM: <carry>: Updating ose-olm-operator-controller-container ima…
Sep 18, 2024
f95f305
UPSTREAM: <carry>: Properly copy and call kustomize
tmshort Sep 23, 2024
a547da7
UPSTREAM: <carry>: manifests: add hostPath mount for /etc/containers
joelanford Sep 20, 2024
c2a6d4e
UPSTREAM: <carry>: Add test-e2e target for downstream Makefile to be …
dtfranz Sep 26, 2024
1faa60c
UPSTREAM: <carry>: Add downstream verify makefile target
dtfranz Sep 27, 2024
2cd2beb
UPSTREAM: <carry>: openshift: template log verbosity to be managed by…
joelanford Sep 28, 2024
59de8a9
UPSTREAM: <carry>: Add global-pull-secret flag
Oct 8, 2024
e19a40d
UPSTREAM: <carry>: Update openshift CAs to operator-controller
tmshort Oct 28, 2024
8c60f5e
UPSTREAM: <carry>: Add HowTo for origin tests
tmshort Nov 1, 2024
5bd6b34
UPSTREAM: <drop>: go mod vendor
tmshort Nov 13, 2024
8d65dbd
UPSTREAM: <drop>: remove upstream GitHub configuration
tmshort Nov 13, 2024
95eec45
UPSTREAM: <drop>: configure the commit-checker
tmshort Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 25 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,35 @@ The workflow defined above implies that the community is always ready for discus

Please keep this workflow in mind as you read through the document.

## How to Build and Deploy Locally

After creating a fork and cloning the project locally,
you can follow the steps below to test your changes:

1. Create the cluster:

```sh
kind create cluster operator-controller
```

2. Build your changes:

```sh
make build docker-build
```

3. Load the image locally and Deploy to Kind

```sh
make kind-load kind-deploy
```

### Communication Channels

- Email: [operator-framework-olm-dev](mailto:operator-framework-olm-dev@googlegroups.com)
- Slack: [#olm-dev](https://kubernetes.slack.com/archives/C0181L6JYQ2)
- Google Group: [olm-gg](https://groups.google.com/g/operator-framework-olm-dev)
- Weekly in Person Working Group Meeting: [olm-wg](https://github.com/operator-framework/community#operator-lifecycle-manager-working-group)
- Weekly in Person Working Group Meeting: [olm-wg](https://github.com/operator-framework/community#operator-lifecycle-manager-working-group)

## How are Milestones Designed?

Expand All @@ -68,7 +91,7 @@ As discussed earlier, the operator-controller adheres to a microservice architec

## Submitting Issues

Unsure where to submit an issue?
Unsure where to submit an issue?

- [The Operator-Controller project](https://github.com/operator-framework/operator-controller/), which is the top level component allowing users to specify operators they'd like to install.
- [The Catalogd project](https://github.com/operator-framework/catalogd/), which hosts operator content and helps users discover installable content.
Expand Down
26 changes: 12 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,16 @@ test-unit: $(SETUP_ENVTEST) #HELP Run the unit tests
$(UNIT_TEST_DIRS) \
-test.gocoverdir=$(ROOT_DIR)/coverage/unit

image-registry: ## Setup in-cluster image registry
./hack/test/image-registry.sh $(E2E_REGISTRY_NAMESPACE) $(E2E_REGISTRY_NAME)

build-push-e2e-catalog: ## Build the testdata catalog used for e2e tests and push it to the image registry
./hack/test/build-push-e2e-catalog.sh $(E2E_REGISTRY_NAMESPACE) $(LOCAL_REGISTRY_HOST)/$(E2E_TEST_CATALOG_V1)
./hack/test/build-push-e2e-catalog.sh $(E2E_REGISTRY_NAMESPACE) $(LOCAL_REGISTRY_HOST)/$(E2E_TEST_CATALOG_V2)
.PHONY: image-registry
E2E_REGISTRY_IMAGE=localhost/e2e-test-registry:devel
image-registry: export GOOS=linux
image-registry: export GOARCH=amd64
image-registry: ## Build the testdata catalog used for e2e tests and push it to the image registry
go build $(GO_BUILD_FLAGS) -tags '$(GO_BUILD_TAGS)' -ldflags '$(GO_BUILD_LDFLAGS)' -gcflags '$(GO_BUILD_GCFLAGS)' -asmflags '$(GO_BUILD_ASMFLAGS)' -o ./testdata/registry/bin/registry ./testdata/registry/registry.go
go build $(GO_BUILD_FLAGS) -tags '$(GO_BUILD_TAGS)' -ldflags '$(GO_BUILD_LDFLAGS)' -gcflags '$(GO_BUILD_GCFLAGS)' -asmflags '$(GO_BUILD_ASMFLAGS)' -o ./testdata/push/bin/push ./testdata/push/push.go
$(CONTAINER_RUNTIME) build -f ./testdata/Dockerfile -t $(E2E_REGISTRY_IMAGE) ./testdata
$(CONTAINER_RUNTIME) save $(E2E_REGISTRY_IMAGE) | $(KIND) load image-archive /dev/stdin --name $(KIND_CLUSTER_NAME)
./testdata/build-test-registry.sh $(E2E_REGISTRY_NAMESPACE) $(E2E_REGISTRY_NAME) $(E2E_REGISTRY_IMAGE)

# When running the e2e suite, you can set the ARTIFACT_PATH variable to the absolute path
# of the directory for the operator-controller e2e tests to store the artifacts, which
Expand All @@ -181,7 +185,7 @@ build-push-e2e-catalog: ## Build the testdata catalog used for e2e tests and pus
test-e2e: KIND_CLUSTER_NAME := operator-controller-e2e
test-e2e: KUSTOMIZE_BUILD_DIR := config/overlays/e2e
test-e2e: GO_BUILD_FLAGS := -cover
test-e2e: run image-registry build-push-e2e-catalog registry-load-bundles e2e e2e-coverage kind-clean #HELP Run e2e test suite on local kind cluster
test-e2e: run image-registry e2e e2e-coverage kind-clean #HELP Run e2e test suite on local kind cluster

.PHONY: extension-developer-e2e
extension-developer-e2e: KUSTOMIZE_BUILD_DIR := config/overlays/cert-manager
Expand All @@ -205,7 +209,7 @@ post-upgrade-checks:
test-upgrade-e2e: KIND_CLUSTER_NAME := operator-controller-upgrade-e2e
test-upgrade-e2e: export TEST_CLUSTER_CATALOG_NAME := test-catalog
test-upgrade-e2e: export TEST_CLUSTER_EXTENSION_NAME := test-package
test-upgrade-e2e: kind-cluster run-latest-release image-registry build-push-e2e-catalog registry-load-bundles pre-upgrade-setup docker-build kind-load kind-deploy post-upgrade-checks kind-clean #HELP Run upgrade e2e tests on a local kind cluster
test-upgrade-e2e: kind-cluster run-latest-release image-registry pre-upgrade-setup docker-build kind-load kind-deploy post-upgrade-checks kind-clean #HELP Run upgrade e2e tests on a local kind cluster

.PHONY: e2e-coverage
e2e-coverage:
Expand All @@ -231,12 +235,6 @@ kind-cluster: $(KIND) #EXHELP Standup a kind cluster.
kind-clean: $(KIND) #EXHELP Delete the kind cluster.
$(KIND) delete cluster --name $(KIND_CLUSTER_NAME)

registry-load-bundles: ## Load selected e2e testdata container images created in kind-load-bundles into registry
testdata/bundles/registry-v1/build-push-e2e-bundle.sh ${E2E_REGISTRY_NAMESPACE} $(LOCAL_REGISTRY_HOST)/bundles/registry-v1/prometheus-operator:v1.0.0 prometheus-operator.v1.0.0 prometheus-operator.v1.0.0
testdata/bundles/registry-v1/build-push-e2e-bundle.sh ${E2E_REGISTRY_NAMESPACE} $(LOCAL_REGISTRY_HOST)/bundles/registry-v1/prometheus-operator:v1.0.1 prometheus-operator.v1.0.1 prometheus-operator.v1.0.0
testdata/bundles/registry-v1/build-push-e2e-bundle.sh ${E2E_REGISTRY_NAMESPACE} $(LOCAL_REGISTRY_HOST)/bundles/registry-v1/prometheus-operator:v1.2.0 prometheus-operator.v1.2.0 prometheus-operator.v1.0.0
testdata/bundles/registry-v1/build-push-e2e-bundle.sh ${E2E_REGISTRY_NAMESPACE} $(LOCAL_REGISTRY_HOST)/bundles/registry-v1/prometheus-operator:v2.0.0 prometheus-operator.v2.0.0 prometheus-operator.v1.0.0

#SECTION Build

ifeq ($(origin VERSION), undefined)
Expand Down
8 changes: 4 additions & 4 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ resources:
domain: operatorframework.io
group: olm
kind: ClusterExtension
path: github.com/operator-framework/operator-controller/api/v1alpha1
version: v1alpha1
path: github.com/operator-framework/operator-controller/api/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: operatorframework.io
group: olm
kind: Extension
path: github.com/operator-framework/operator-controller/api/v1alpha1
version: v1alpha1
path: github.com/operator-framework/operator-controller/api/v1
version: v1
version: "3"
Loading