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

WIP TESTING #1540

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
344 commits
Select commit Hold shift + click to select a range
225275d
bump controller-gen to v0.12.0 (#105)
joelanford Jun 27, 2023
52e8822
Updates GH Actions to avoid using deprecated node (#103)
m1kola Jun 28, 2023
b996f69
Adds codecov integration (#104)
m1kola Jun 28, 2023
c691c3e
e2e: support env var for catalog image (#108)
ncdc Jul 5, 2023
1a8bdac
add PSA labels to namespace for baseline enforcement (#109)
joelanford Jul 5, 2023
680aefa
detect in-cluster namespace by default, --system-namespace takes prec…
joelanford Jul 6, 2023
3b1780e
Remove Resource Limits (#111)
dtfranz Jul 7, 2023
7a98e45
(bugfix): add label selector to sync list queries (#112)
everettraven Jul 18, 2023
61810e2
(docs) Fix link and misspelling (#122)
JustinKuli Jul 19, 2023
caad7f1
Add initial Tilt support
ncdc Jul 25, 2023
bb7e825
Makes codecov-action optional
Jul 28, 2023
ae01ba3
Enable dependabot (#125)
ncdc Jul 31, 2023
823972c
Enable merge queue (#131)
ncdc Aug 1, 2023
442b6a9
Switch to using tilt-support repo
ncdc Aug 1, 2023
8a5e079
Add DCO information
ncdc Aug 2, 2023
64a9fe5
Add CI for tilt (#134)
ncdc Aug 3, 2023
f1067da
Enable CatalogMetadataAPI via explicit flag, fix syncing issues (#138)
joelanford Aug 14, 2023
1a81219
Setup CODEOWNERS (#140)
ncdc Aug 15, 2023
a8f7196
Deprecate the `CatalogMetadataAPI` feature gate (#141)
rashmigottipati Aug 15, 2023
8aab690
Remove Package and BundleMetadata APIs (#149)
joelanford Aug 29, 2023
cd2c38d
add go-apidiff action (#151)
joelanford Aug 30, 2023
04d3828
Store FBC in local directory (#144)
anik120 Aug 30, 2023
d30f161
update demo based on API changes (#154)
grokspawn Aug 30, 2023
966a4d6
Serve locally stored fbc content via an http server (#148)
anik120 Sep 8, 2023
a1663ec
Add metrics to the catalog server (#156)
everettraven Sep 8, 2023
f9c6bcf
(docs): Add docs on fetching contents via HTTP server (#166)
everettraven Sep 13, 2023
21ba18e
(refactor): Remove deprecated CatalogMetadata and associated code (#169)
everettraven Sep 15, 2023
20d83c1
(server) Expose content URL on CR status (#168)
anik120 Sep 18, 2023
7272fd4
deps: bump kubernetes and operator-registry (#173)
joelanford Sep 20, 2023
06f0f9f
Add RELEASING.md (#176)
oceanc80 Sep 21, 2023
28737da
Add contribution guide (#165)
rashmigottipati Sep 21, 2023
51e5807
Update README with simplified make target ref (#178)
kevinrizza Sep 21, 2023
7f903c6
add default printer columns (#174)
kevinrizza Sep 22, 2023
8a90d8d
(cleanup) Kustomization (#183)
anik120 Oct 2, 2023
9f3ba06
(feature): add direct image registry client `Unpacker` implementation…
everettraven Oct 10, 2023
9f91fc5
(techdebt): refactor catalog controller unit tests (#196)
everettraven Oct 11, 2023
bd8cfbd
Bump golang.org/x/net from 0.10.0 to 0.17.0 (#197)
dependabot[bot] Oct 12, 2023
59aaeee
Bump github.com/docker/docker from 23.0.1+incompatible to 23.0.3+inco…
dependabot[bot] Oct 18, 2023
0b86f72
(feature) Implement polling image source in intervals (#185)
anik120 Oct 19, 2023
e078853
Add GoDoc for Phase (#199)
anik120 Oct 20, 2023
7dcfe53
(feature): add skip-tls-verify option for image sources (#201)
everettraven Oct 26, 2023
d045658
🌱 Add PR template with icons & verify job (#205)
ncdc Nov 1, 2023
d8e4df2
🌱 Bump github.com/docker/docker from 23.0.3+incompatible to 24.0.7+in…
dependabot[bot] Nov 1, 2023
a0e2dee
:bug: attempt to remove cache entry if unpack fails (#207)
everettraven Nov 3, 2023
0a0b9c2
🌱 Prefix dependabot GH actions PRs (#208)
ncdc Nov 8, 2023
ca0bc34
:seedling: replace e2e Job with client-go ProxyGet() call (#210)
everettraven Nov 8, 2023
3dc8131
✨ Add Ingress overlay to access `Catalog` contents outside of the clu…
rashmigottipati Nov 10, 2023
a7cd270
🌱 bump to k8s 1.27.7 (#211)
everettraven Nov 10, 2023
404dc58
:seedling: Remove cert-manager from release note install process (#215)
everettraven Nov 22, 2023
093cae4
:bug: Add enum validation for source type (#214)
everettraven Nov 22, 2023
10a0803
🌱 updates to enable autogenerated demo, hosted out-of-tree (#212)
grokspawn Nov 29, 2023
1b0517f
:seedling: demo install from published tag (#217)
grokspawn Nov 29, 2023
f54d9b6
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#218)
dependabot[bot] Jan 2, 2024
3554c03
Bump github.com/go-git/go-git/v5 from 5.4.2 to 5.11.0 (#220)
dependabot[bot] Jan 2, 2024
493c1de
Bump github.com/containerd/containerd from 1.6.22 to 1.6.26 (#219)
dependabot[bot] Jan 2, 2024
5c95b4a
(bugfix): bump the catalogserver write timeout to 5 minutes (#223)
everettraven Jan 10, 2024
4d2ea6a
(bugfix): add validation for pollInterval duration units (#225)
everettraven Jan 11, 2024
0e0ebc3
(chore): bump supported k8s version to 1.28 (#227)
everettraven Jan 11, 2024
cd2943b
Bump github.com/containerd/containerd from 1.7.6 to 1.7.11 (#228)
dependabot[bot] Jan 11, 2024
f549f54
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#230)
dependabot[bot] Jan 24, 2024
0d305bd
(bugfix): make garbage collection a runnable (#231)
everettraven Feb 19, 2024
db3a655
bumping codecov-action to v4 (#232)
grokspawn Feb 26, 2024
108e9ed
GH Actions: add workflow to add epic issues to OLMv1 project (#233)
joelanford Mar 7, 2024
1c4889a
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#234)
dependabot[bot] Mar 14, 2024
241520c
Bump Go to 1.21 (#237)
m1kola Mar 26, 2024
9bded2f
bump docker deps to 25.0.5 (#236)
grokspawn Mar 26, 2024
0d07c30
bump kind to 0.22.0 (#238)
joelanford Mar 28, 2024
cc1abf4
remove terminating space in dependabot config file (#245)
grokspawn Apr 23, 2024
7b28113
make golangci-lint config consistent across repos (#255)
joelanford Apr 25, 2024
7deeace
Bump golang.org/x/net from 0.19.0 to 0.23.0 (#244)
dependabot[bot] Apr 26, 2024
0ea8bcb
:seedling: Bump docker/login-action from 2 to 3 (#246)
dependabot[bot] Apr 26, 2024
8d93e95
:seedling: Bump actions/checkout from 3 to 4 (#247)
dependabot[bot] Apr 26, 2024
6ad9774
:seedling: Bump github.com/go-logr/logr from 1.3.0 to 1.4.1 (#253)
dependabot[bot] Apr 26, 2024
1bcc986
:seedling: Bump actions/add-to-project from 0.5.0 to 1.0.1 (#249)
dependabot[bot] Apr 26, 2024
94b0412
:seedling: Bump actions/setup-go from 4 to 5 (#250)
dependabot[bot] Apr 26, 2024
6fe4d9f
:seedling: Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 (#254)
dependabot[bot] Apr 26, 2024
2a9da85
:seedling: Bump kubernetes-sigs/kubebuilder-release-tools (#248)
dependabot[bot] Apr 26, 2024
29870e8
OCPBUGS-28230: enforce termination message policy on all platform pod…
joelanford May 1, 2024
250e348
bump controller-gen to v0.14.0 (#262)
trgeiger May 6, 2024
cf384e4
⚠️ Serve catalog over HTTPS (#263)
trgeiger May 14, 2024
b68cda4
Makefile: fix issues with repeated evaluations (#267)
joelanford May 14, 2024
4f1219c
rename Catalog to ClusterCatalog (#268)
everettraven May 15, 2024
fa4a29b
✨ Bump k8s deps to 0.30.0 and go 1.22 (#269)
everettraven May 16, 2024
c9ef9c9
:seedling: Bump k8s.io/client-go from 0.30.0 to 0.30.1 (#276)
dependabot[bot] May 23, 2024
ed7c6c0
:seedling: Bump k8s.io/component-base from 0.28.5 to 0.30.1 (#275)
dependabot[bot] May 23, 2024
364f0a4
:seedling: Bump k8s.io/apiserver from 0.28.5 to 0.30.1 (#274)
dependabot[bot] May 23, 2024
fae2442
Fix XDG_DATA_HOME build issue (#264)
trgeiger May 23, 2024
cd15788
Change default namespace to olmv1-system (#283)
trgeiger Jun 11, 2024
481a891
:seedling: Bump k8s.io/apiextensions-apiserver from 0.30.0 to 0.30.2 …
dependabot[bot] Jun 18, 2024
a979ad3
:seedling: Bump github.com/containerd/containerd from 1.7.16 to 1.7.1…
dependabot[bot] Jun 18, 2024
6055e54
Fix codecov-action params (#287)
m1kola Jun 21, 2024
7558b05
Use url.Scheme to determine port number (#289)
tmshort Jun 24, 2024
c0ed3fa
Fixing the labels for better identify metrics (#292)
LalatenduMohanty Jun 26, 2024
d1f1462
adding gzip content support (#293)
grokspawn Jun 28, 2024
55de5fe
:seedling: Bump actions/add-to-project from 1.0.1 to 1.0.2 (#291)
dependabot[bot] Jul 1, 2024
06b8628
:seedling: Bump github.com/prometheus/client_golang (#286)
dependabot[bot] Jul 1, 2024
3f3bfdc
:seedling: Bump github.com/google/go-containerregistry (#285)
dependabot[bot] Jul 1, 2024
7615cf4
:seedling: Bump github.com/go-logr/logr from 1.4.1 to 1.4.2 (#279)
dependabot[bot] Jul 1, 2024
d328834
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0 (#277)
dependabot[bot] Jul 1, 2024
14768d6
:seedling: Bump github.com/operator-framework/operator-registry (#281)
dependabot[bot] Jul 1, 2024
91e899f
check the underlying storage for existing cluster catalog content (#290)
itroyano Jul 1, 2024
c77b952
:seedling: Bump github.com/operator-framework/operator-registry (#294)
dependabot[bot] Jul 1, 2024
a5c79db
Share common CA with OLMv1 in overlays/cert-manager (#296)
tmshort Jul 3, 2024
e6da153
:seedling: Bump github.com/containerd/containerd from 1.7.18 to 1.7.1…
dependabot[bot] Jul 3, 2024
7c0bcb4
reduce cpu requests (#298)
grokspawn Jul 9, 2024
f2dfb2a
Remove second installation of cert-manager (#300)
m1kola Jul 9, 2024
8394a97
Bump ginkgo CLI (#301)
m1kola Jul 9, 2024
87fa20c
:seedling: Bump github.com/google/go-containerregistry (#302)
dependabot[bot] Jul 9, 2024
13002de
:seedling: Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#303)
dependabot[bot] Jul 10, 2024
aa44507
shift gzip lib to active fork (#311)
grokspawn Jul 15, 2024
6a43996
Move all packages from /pkg to /internal (#310)
kevinrizza Jul 15, 2024
5bdbcbd
:seedling: Bump github.com/klauspost/compress from 1.17.8 to 1.17.9 (…
dependabot[bot] Jul 15, 2024
7eeef24
:seedling: Bump github.com/google/go-containerregistry (#315)
dependabot[bot] Jul 17, 2024
f67fba0
:seedling: Bump github.com/operator-framework/operator-registry (#319)
dependabot[bot] Jul 18, 2024
aa9f947
:seedling: Bump k8s.io/apiextensions-apiserver from 0.30.2 to 0.30.3 …
dependabot[bot] Jul 18, 2024
bba4784
Include OperatorHub.io ClusterCatalog in releases (#321)
trgeiger Jul 18, 2024
f225d35
✨ json-lines interface: set content-type, enforce format, document in…
grokspawn Jul 18, 2024
871f834
:seedling: Bump github.com/containerd/containerd from 1.7.19 to 1.7.2…
dependabot[bot] Jul 19, 2024
45fee20
Add dependabot K8s dependencies group (#322)
m1kola Jul 19, 2024
0cdf2dc
add catalogd upgrade test (#314)
ankitathomas Jul 22, 2024
bad488e
Add installation script (#325)
trgeiger Jul 23, 2024
74de15a
Update run-latest-release Makefile target (#326)
trgeiger Jul 23, 2024
3e4f3da
🌱 Revert 2 previous PRs (#327)
trgeiger Jul 23, 2024
683cf37
Add installation script to releases (#328)
trgeiger Jul 23, 2024
629f7e9
Edit Makefile targets to use install.sh (#329)
trgeiger Jul 24, 2024
ae96fcf
capturing gzip catalog demo as asciicast (#323)
grokspawn Jul 24, 2024
9fcf32b
:seedling: Bump github.com/onsi/gomega from 1.33.1 to 1.34.0 (#332)
dependabot[bot] Jul 29, 2024
17b758c
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 (#331)
dependabot[bot] Jul 29, 2024
07696c4
:seedling: Bump github.com/onsi/gomega from 1.34.0 to 1.34.1 (#333)
dependabot[bot] Jul 31, 2024
379f426
default-catalogs.yaml: add 10m poll (#335)
joelanford Aug 5, 2024
2046b23
✨ initial api audit type alignment (#330)
grokspawn Aug 6, 2024
a67499c
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 (#338)
dependabot[bot] Aug 8, 2024
7c28143
:seedling: Bump github.com/google/go-containerregistry (#337)
dependabot[bot] Aug 8, 2024
10ea0c1
:seedling: Bump github.com/prometheus/client_golang (#344)
dependabot[bot] Aug 15, 2024
325528d
:seedling: Bump the k8s-dependencies group with 6 updates (#343)
dependabot[bot] Aug 16, 2024
733f8ee
:seedling: change GVK to use olm.operatorframework.io (#342)
grokspawn Aug 16, 2024
ef34820
Removing the catalogd from app.kubernetes.io/name (#347)
LalatenduMohanty Aug 17, 2024
1213f56
:seedling: Bump github.com/operator-framework/operator-registry from …
dependabot[bot] Aug 22, 2024
3b4c5f6
✨ Capture catalog content timestamp in ClusterCatalogStatus (#334)
rashmigottipati Aug 22, 2024
7a7d366
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 (#350)
dependabot[bot] Aug 26, 2024
8619372
:seedling: Bump github.com/prometheus/client_golang (#351)
dependabot[bot] Aug 26, 2024
5df1176
:seedling: Bump github.com/containerd/containerd from 1.7.20 to 1.7.2…
dependabot[bot] Aug 27, 2024
3823d05
Catalog Priority (#353)
dtfranz Aug 27, 2024
4a707c2
add v1.0 and v1.x issues to OLMv1 project automatically (#354)
joelanford Aug 27, 2024
2fc8018
:seedling: Bump bingo + tools (#358)
perdasilva Aug 29, 2024
2a5c859
bugfix: fix printcolumn for lastUnpacked based on json tag and not fi…
rashmigottipati Aug 30, 2024
51b00ea
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.20.2 (#360)
dependabot[bot] Aug 30, 2024
4a6f316
:seedling: Bump github.com/onsi/gomega from 1.34.1 to 1.34.2 (#359)
dependabot[bot] Aug 30, 2024
23e2f4f
Update cert-manager to v1.15.3 (#367)
tmshort Sep 3, 2024
db28a52
Remove status.phase field from the code and doc references (#368)
tmshort Sep 4, 2024
074ec55
🌱 Add webhook to add a name label to ClusterCatalogs (#356)
bentito Sep 4, 2024
542a8c5
Move cert-manager.io patch into tls component (#372)
tmshort Sep 5, 2024
aa4c239
:seedling: Bump github.com/prometheus/client_golang (#375)
dependabot[bot] Sep 5, 2024
7603eaa
Add label creation checking in the e2e (#374)
tmshort Sep 5, 2024
6584e7e
Add matchCondition to webhook config (#376)
bentito Sep 5, 2024
40cb322
Fix matchConditions to be compatible with GenerateName (#382)
tmshort Sep 6, 2024
52246e1
Force a rename of the catalogd certificate (#386)
tmshort Sep 9, 2024
b40d81a
:seedling: Bump github.com/operator-framework/operator-registry (#387)
dependabot[bot] Sep 10, 2024
4323184
📖 [Docs] Document tilt-support install (#388)
bentito Sep 10, 2024
aff9901
:seedling: Bump github.com/containerd/containerd from 1.7.21 to 1.7.2…
dependabot[bot] Sep 10, 2024
f1b46a3
✨ Ensure docker registry CA is trusted in e2e tests (#377)
thetechnick Sep 12, 2024
dfe121e
Fix FS cache for image refs with tags (#394)
m1kola Sep 12, 2024
8fe2826
Fixes name of httputil test file (#395)
perdasilva Sep 12, 2024
2e6d207
Add .idea to .gitignore (#393)
perdasilva Sep 12, 2024
1e962d2
Remove TLSVerify/PullSecret fields (#369)
thetechnick Sep 12, 2024
8e71e93
Avoid a network call for digest based images (#396)
m1kola Sep 12, 2024
d82e466
:seedling: Bump the k8s-dependencies group with 6 updates (#398)
dependabot[bot] Sep 12, 2024
dbdce9b
Fix unnecessary lastUnpacked status updates (#397)
m1kola Sep 13, 2024
ffdb9c3
✨ unpacker: switch from google/go-containerregistry to containers/ima…
joelanford Sep 16, 2024
542fc80
:seedling: Align ClusterCatalog API godoc with OpenShift API conventi…
perdasilva Sep 16, 2024
2b49a6c
Add CI to check if golang version updated (#401)
tmshort Sep 16, 2024
cdf6c0b
Combine the catalogd services (#402)
tmshort Sep 17, 2024
4637466
Update documentation and default to new service name. (#406)
tmshort Sep 18, 2024
f0ef22a
fix: make post-upgrade-e2e checks wait for ClusterCatalog to be recon…
joelanford Sep 18, 2024
8c6625f
fix: unpack cache cleanup should ignore missing files (#404)
joelanford Sep 18, 2024
d12e611
use controller-runtime Terminal error instead of custom Unrecoverable…
joelanford Sep 18, 2024
3809048
Refer to the correct location for go-verdiff (#408)
tmshort Sep 19, 2024
df49d53
:seedling: Bump github.com/prometheus/client_golang (#403)
dependabot[bot] Sep 19, 2024
e1d3605
🐛 Handle finalizers (creation and deletion) better (#411)
anik120 Sep 19, 2024
2dc04d9
⚠ Status condition clean up (#379)
anik120 Sep 20, 2024
ae6d3ef
Fix wait in pre-upgrade-setup test (#415)
perdasilva Sep 25, 2024
9261b16
:seedling: Bump github.com/klauspost/compress from 1.17.9 to 1.17.10 …
dependabot[bot] Sep 25, 2024
e57db1f
⚠ Update the Progressing Status condition `Terminal` reason to `Block…
anik120 Sep 25, 2024
a34f172
✨ Use default creds if present for pulling catalog images (#416)
anik120 Sep 26, 2024
a0037dd
main.go: improve logging for configuration of global auth (#417)
joelanford Sep 26, 2024
433a127
main.go: clarify auth file access error message (#418)
joelanford Sep 27, 2024
db8617f
main.go: switch to klog-based logger (#419)
joelanford Sep 27, 2024
29d21c7
⚠️ types tightening (#384)
grokspawn Oct 2, 2024
8137da0
:sparkles: update GoDoc comments to be accurate with latest api chang…
everettraven Oct 3, 2024
dee3337
clustercatalog_controller: hacky, but more correct status updating in…
joelanford Oct 4, 2024
b1b145a
✨ Add PullSecret controller to save pull secret data locally (#425)
anik120 Oct 8, 2024
68d58ee
Align catalog service name in documentation (#428)
itroyano Oct 11, 2024
e81651e
:seedling: Bump github.com/klauspost/compress from 1.17.10 to 1.17.11…
dependabot[bot] Oct 11, 2024
437a464
Fix pulling signed images (#431)
m1kola Oct 14, 2024
4a4c362
:seedling: Bump github.com/prometheus/client_golang (#433)
dependabot[bot] Oct 15, 2024
87d1c39
:seedling: Bump github.com/containerd/containerd from 1.7.22 to 1.7.2…
dependabot[bot] Oct 15, 2024
1df66b0
Address goreleaser deprecated flags (#435)
perdasilva Oct 17, 2024
d320249
:sparkles: Adding Availability enum to catalog spec (#421)
LalatenduMohanty Oct 17, 2024
d70f01f
⚠️ change catalog-specific URL from full path to API endpoint ref (#429)
grokspawn Oct 18, 2024
67d3a34
use spec's ref instead of canonical ref when copying catalog image (#…
joelanford Oct 18, 2024
341672a
fix a missed e2e testdata path update (#440)
grokspawn Oct 21, 2024
d8dc9e7
adding additional waits to prevent e2e cert-manager failures (#441)
grokspawn Oct 21, 2024
480cfeb
use Go version from go.mod (#442)
joelanford Oct 22, 2024
37f8129
demo was not updated to work with the cert-manager changes made earli…
grokspawn Oct 22, 2024
0292d8d
:seedling: Bump the k8s-dependencies group with 6 updates (#445)
dependabot[bot] Oct 25, 2024
3423804
:seedling: Bump github.com/operator-framework/operator-registry (#446)
dependabot[bot] Oct 28, 2024
a049e01
add a demo-update generation workflow step to let us know when we hav…
grokspawn Oct 29, 2024
f98c98e
:seedling: Bump github.com/onsi/gomega from 1.34.2 to 1.35.1 (#450)
dependabot[bot] Nov 2, 2024
9cf2e70
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.21.0 (#449)
dependabot[bot] Nov 4, 2024
20acf03
API updates based on external review (#443)
everettraven Nov 7, 2024
2f96c57
:warning: Bump ClusterCatalog API to v1 (#380)
perdasilva Nov 8, 2024
4d6327f
this fixes two issues made manifest in testing the upgrade-e2e case s…
grokspawn Nov 12, 2024
b30eb4a
🐛 Check cluster is running for non-standalone Make targets (#437)
bentito Nov 13, 2024
f279c4c
Update go version checker (#458)
tmshort Nov 15, 2024
ca44dd9
bump ginkgo bingo dependency to 2.21.0 (#456)
grokspawn Nov 15, 2024
dd64145
:seedling: Bump codecov/codecov-action from 4 to 5 (#459)
dependabot[bot] Nov 17, 2024
e3c877c
doc: add steps to build and deploy locally to contributing guide (#463)
camilamacedo86 Nov 18, 2024
55689e8
fix: update kind-load target to ensure that works aligned with contro…
camilamacedo86 Nov 18, 2024
4dd7d59
feat: add support for Podman as a container runtime (#464)
camilamacedo86 Nov 18, 2024
662e227
Fix check-cluster logic (#466)
bentito Nov 18, 2024
f7eee6e
enable go-apidiff in merge queue (#470)
joelanford Nov 26, 2024
adf64a0
Remove check-cluster dependency from test-e2e (#473)
tmshort Nov 26, 2024
4ed1c74
:seedling: Bump the k8s-dependencies group with 6 updates (#467)
dependabot[bot] Nov 27, 2024
13c0ce0
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 (#468)
dependabot[bot] Nov 27, 2024
9008d7b
:seedling: Bump github.com/containerd/containerd from 1.7.23 to 1.7.2…
dependabot[bot] Nov 27, 2024
23fa7f9
:seedling: Bump github.com/onsi/gomega from 1.35.1 to 1.36.0 (#472)
dependabot[bot] Nov 27, 2024
2bfc219
:seedling: Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#475)
dependabot[bot] Nov 28, 2024
e711559
:seedling: add verify-crd-compatibility make target and GHA (#471)
everettraven Dec 2, 2024
051a8a3
:seedling: Bump github.com/onsi/gomega from 1.36.0 to 1.36.1 (#477)
dependabot[bot] Dec 10, 2024
087886f
:seedling: Bump the k8s-dependencies group with 6 updates (#479)
dependabot[bot] Dec 11, 2024
eb824e8
:seedling: Bump golang.org/x/crypto from 0.28.0 to 0.31.0 (#480)
dependabot[bot] Dec 12, 2024
e2d3b56
gha: release: only push images for main branch (#481)
joelanford Dec 12, 2024
f91558f
e2e: add tests to verify metrics endpoint (#483)
camilamacedo86 Dec 13, 2024
0dbef9b
Add check for client in e2e (#485)
tmshort Dec 17, 2024
4590ca5
Update bingo's ginkgo to v2.22.0 (#486)
tmshort Dec 17, 2024
cab110e
Disable HTTP/2 by Default for Webhooks to Mitigate CVE Risks (#484)
camilamacedo86 Dec 17, 2024
afd5ffb
:nit: remove log saying that http is disabled (#492)
camilamacedo86 Dec 19, 2024
7ae59a4
Add check in test-e2e testing to ensure there's a cluster (#474)
tmshort Dec 19, 2024
aa178c3
Replace kube-rbac-proxy with controller-runtime metrics authenticatio…
camilamacedo86 Dec 20, 2024
1dbab8e
Updating the ClusterCatalog example (#496)
LalatenduMohanty Dec 20, 2024
982cc75
Add 'catalogd/' from commit '1dbab8e7e831d2670ea63e6ab8d49a9f157d5442'
camilamacedo86 Jan 2, 2025
8b5a13d
Edit controller-gen call to only generate manifests for operrator-con…
camilamacedo86 Jan 2, 2025
f565242
Move github actions from catalogd/.github/workflows/ to root path and…
camilamacedo86 Jan 2, 2025
e809986
Fix catalogd-tilt CI workflow
camilamacedo86 Jan 2, 2025
40baf83
Fix catalogd-crd-diff CI check
camilamacedo86 Jan 2, 2025
909a141
Chabge imports for catalogd and unified go.mod
camilamacedo86 Jan 2, 2025
9d1fde9
Fix make verify by changing crd-ref-docs target
camilamacedo86 Jan 2, 2025
c8e795b
wip:fix install script
camilamacedo86 Jan 2, 2025
807dc4f
Fix port conflict for operator-controller metrics
camilamacedo86 Jan 3, 2025
6ce0882
Ignore catalogd from lint of operator-controller
camilamacedo86 Jan 3, 2025
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
19 changes: 19 additions & 0 deletions .github/workflows/catalogd-crd-diff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: catalogd-crd-diff
on:
pull_request:
jobs:
crd-diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Run make verify-crd-compatibility
working-directory: catalogd
run: make verify-crd-compatibility CRD_DIFF_ORIGINAL_REF=${{ github.event.pull_request.base.sha }} CRD_DIFF_UPDATED_SOURCE="git://${{ github.event.pull_request.head.sha }}?path=config/base/crd/bases/olm.operatorframework.io_clustercatalogs.yaml"

25 changes: 25 additions & 0 deletions .github/workflows/catalogd-demo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: catalogd-demo

on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- main

jobs:
demo:
runs-on: ubuntu-latest
env:
TERM: linux
steps:
- run: sudo apt update && sudo apt install -y asciinema curl
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run Demo Update
working-directory: catalogd
run: make demo-update

31 changes: 31 additions & 0 deletions .github/workflows/catalogd-e2e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: catalogd-e2e

on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- main

jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run E2e
working-directory: catalogd
run: make e2e
upgrade-e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run the upgrade e2e test
working-directory: catalogd
run: make test-upgrade-e2e
22 changes: 22 additions & 0 deletions .github/workflows/catalogd-go-apidiff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: catalogd-go-apidiff

on:
merge_group:
pull_request:

jobs:
go-apidiff:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
id: go
- name: Run go-apidiff
working-directory: catalogd
uses: joelanford/go-apidiff@main
65 changes: 65 additions & 0 deletions .github/workflows/catalogd-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: catalogd-release

on:
workflow_dispatch:
merge_group:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
branches:
- main

jobs:
goreleaser:
name: goreleaser
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"

- name: Docker Login
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Set the release related variables
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
# Release tags.
echo IMAGE_TAG="${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
echo GORELEASER_ARGS="--clean" >> $GITHUB_ENV
echo ENABLE_RELEASE_PIPELINE=true >> $GITHUB_ENV
elif [[ $GITHUB_REF == refs/heads/main ]]; then
# 'main' branch build.
echo IMAGE_TAG="$(echo "${GITHUB_REF#refs/heads/}" | sed -r 's|/+|-|g')" >> $GITHUB_ENV
echo GORELEASER_ARGS="--clean --skip=validate" >> $GITHUB_ENV
elif [[ $GITHUB_REF == refs/pull/* ]]; then
# PR build.
echo IMAGE_TAG="pr-$(echo "${GITHUB_REF}" | sed -E 's|refs/pull/([^/]+)/?.*|\1|')" >> $GITHUB_ENV
else
echo IMAGE_TAG="$(git describe --tags --always)" >> $GITHUB_ENV
fi
- name: Create release manifests
working-directory: catalogd
run: |
echo VERSION="${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
make quickstart

- name: Run goreleaser
working-directory: catalogd
run: make release
env:
GITHUB_TOKEN: ${{ github.token }}
30 changes: 30 additions & 0 deletions .github/workflows/catalogd-sanity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: catalogd-sanity

on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- main

jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run verification checks
run: make verify
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run lint checks
working-directory: catalogd
run: make lint GOLANGCI_LINT_ARGS="--out-format github-actions"
45 changes: 45 additions & 0 deletions .github/workflows/catalogd-tilt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: catalogd-tilt

on:
pull_request:
paths:
- 'catalogd/.bingo/**'
- 'catalogd/.github/workflows/catalogd-tilt.yaml'
- 'catalogd/api/**'
- 'catalogd/cmd/**'
- 'catalogd/config/**'
- 'catalogd/internal/**'
- 'catalogd/pkg/**'
- 'catalogd/Tiltfile'
merge_group:

jobs:
tilt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Clone tilt-support
run: |
git clone https://github.com/operator-framework/tilt-support catalogd/../tilt-support
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install Tilt
run: |
TILT_VERSION="0.33.3"
curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \
tar -xzv -C /usr/local/bin tilt
- name: Install ctlptl
run: |
CTLPTL_VERSION="0.8.20"
curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \
tar -xzv -C /usr/local/bin ctlptl
- name: Set up kind
run: ctlptl create cluster kind --registry=ctlptl-registry
- name: Test Tilt
run: |
cd catalogd
tilt ci
29 changes: 29 additions & 0 deletions .github/workflows/catalogd-unit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: catalogd-unit

on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- main

jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"

- name: Unit Test
working-directory: catalogd
run: make test-unit

- uses: codecov/codecov-action@v5
working-directory: catalogd
with:
disable_search: true
files: cover.out
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/tilt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: get-catalogd-version
run: |
cd operator-controller
echo "CATALOGD_VERSION=$(go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/catalogd)" >> "$GITHUB_OUTPUT"
echo "CATALOGD_VERSION=$(go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/operator-controller/catalogd)" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v4
with:
repository: operator-framework/catalogd
Expand Down
5 changes: 5 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ run:
# Default timeout is 1m, up to give more room
timeout: 4m

issues:
exclude-use-default: false
exclude-dirs:
- '^catalogd/'

linters:
enable:
- asciicheck
Expand Down
40 changes: 25 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ IMG := $(IMAGE_REPO):$(IMAGE_TAG)

# Define dependency versions (use go.mod if we also use Go code from dependency)
export CERT_MGR_VERSION := v1.15.3
export CATALOGD_VERSION := $(shell go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/catalogd)
export WAIT_TIMEOUT := 60s

# Install default ClusterCatalogs
Expand Down Expand Up @@ -100,8 +99,12 @@ tidy: #HELP Update dependencies.
$(Q)go mod tidy -go=$(GOLANG_VERSION)

.PHONY: manifests
manifests: $(CONTROLLER_GEN) #EXHELP Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/base/crd/bases output:rbac:artifacts:config=config/base/rbac
# To exclude catalogd. Otherwise, the CRD, Webhook and other configurations will be generated and added to the config/
PATHS = ./api/... ./cmd/... ./internal/... ./test/...
manifests: $(CONTROLLER_GEN) #EXHELP Generate WebhookConfiguration, ClusterRole, and CustomResourceDefinition objects.
@for path in $(PATHS); do \
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="$$path" output:crd:artifacts:config=config/base/crd/bases output:rbac:artifacts:config=config/base/rbac; \
done

.PHONY: generate
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
Expand Down Expand Up @@ -231,12 +234,18 @@ e2e-coverage:
.PHONY: kind-load
kind-load: $(KIND) #EXHELP Loads the currently constructed image onto the cluster.
$(CONTAINER_RUNTIME) save $(IMG) | $(KIND) load image-archive /dev/stdin --name $(KIND_CLUSTER_NAME)
#TODO: Change it when we unify the Makefile commands
$(CONTAINER_RUNTIME) save quay.io/operator-framework/catalogd:devel | $(KIND) load image-archive /dev/stdin --name $(KIND_CLUSTER_NAME)

.PHONY: kind-deploy
kind-deploy: export MANIFEST="./operator-controller.yaml"
kind-deploy: manifests $(KUSTOMIZE) #EXHELP Install controller and dependencies onto the kind cluster.
kind-deploy: export MANIFEST := ./operator-controller.yaml
kind-deploy: manifests $(KUSTOMIZE) #EXHELP Install controller and dependencies, including catalogd, onto the kind cluster.
$(KUSTOMIZE) build $(KUSTOMIZE_BUILD_DIR) > operator-controller.yaml
envsubst '$$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$INSTALL_DEFAULT_CATALOGS,$$MANIFEST' < scripts/install.tpl.sh | bash -s
cd catalogd && $(KUSTOMIZE) build config/overlays/cert-manager > catalogd.yaml
envsubst '$$CERT_MGR_VERSION,$$INSTALL_DEFAULT_CATALOGS,$$MANIFEST' < scripts/install.tpl.sh > install.sh
bash install.sh \
--catalogd-manifest=./catalogd/catalogd.yaml \
--default-catalogs-manifest=./catalogd/config/base/default/clustercatalogs/default-catalogs.yaml

.PHONY: kind-cluster
kind-cluster: $(KIND) #EXHELP Standup a kind cluster.
Expand Down Expand Up @@ -295,6 +304,7 @@ run: docker-build kind-cluster kind-load kind-deploy #HELP Build the operator-co
.PHONY: docker-build
docker-build: build-linux #EXHELP Build docker image for operator-controller with GOOS=linux and local GOARCH.
$(CONTAINER_RUNTIME) build -t $(IMG) -f Dockerfile ./bin/linux
cd catalogd && $(MAKE) build-container

#SECTION Release
ifeq ($(origin ENABLE_RELEASE_PIPELINE), undefined)
Expand All @@ -312,31 +322,31 @@ release: $(GORELEASER) #EXHELP Runs goreleaser for the operator-controller. By d
$(GORELEASER) $(GORELEASER_ARGS)

.PHONY: quickstart
quickstart: export MANIFEST := https://github.com/operator-framework/operator-controller/releases/download/$(VERSION)/operator-controller.yaml
quickstart: export MANIFEST := ./operator-controller.yaml
quickstart: $(KUSTOMIZE) manifests #EXHELP Generate the installation release manifests and scripts.
$(KUSTOMIZE) build $(KUSTOMIZE_BUILD_DIR) | sed "s/:devel/:$(VERSION)/g" > operator-controller.yaml
envsubst '$$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$INSTALL_DEFAULT_CATALOGS,$$MANIFEST' < scripts/install.tpl.sh > install.sh
cd catalogd && $(KUSTOMIZE) build config/overlays/cert-manager > catalogd.yaml
envsubst '$$CERT_MGR_VERSION,$$INSTALL_DEFAULT_CATALOGS,$$MANIFEST' < scripts/install.tpl.sh > install.sh


##@ Docs

.PHONY: crd-ref-docs
OPERATOR_CONTROLLER_API_REFERENCE_FILENAME := operator-controller-api-reference.md
CATALOGD_API_REFERENCE_FILENAME := catalogd-api-reference.md
CATALOGD_TMP_DIR := $(ROOT_DIR)/.catalogd-tmp/
API_REFERENCE_DIR := $(ROOT_DIR)/docs/api-reference

crd-ref-docs: $(CRD_REF_DOCS) #EXHELP Generate the API Reference Documents.
rm -f $(API_REFERENCE_DIR)/$(OPERATOR_CONTROLLER_API_REFERENCE_FILENAME)
$(CRD_REF_DOCS) --source-path=$(ROOT_DIR)/api \
--config=$(API_REFERENCE_DIR)/crd-ref-docs-gen-config.yaml \
--renderer=markdown --output-path=$(API_REFERENCE_DIR)/$(OPERATOR_CONTROLLER_API_REFERENCE_FILENAME);
rm -rf $(CATALOGD_TMP_DIR)
git clone --depth 1 --branch $(CATALOGD_VERSION) https://github.com/operator-framework/catalogd $(CATALOGD_TMP_DIR)

rm -f $(API_REFERENCE_DIR)/$(CATALOGD_API_REFERENCE_FILENAME)
$(CRD_REF_DOCS) --source-path=$(CATALOGD_TMP_DIR)/api \
$(CRD_REF_DOCS) --source-path=$(ROOT_DIR)/catalogd/api \
--config=$(API_REFERENCE_DIR)/crd-ref-docs-gen-config.yaml \
--renderer=markdown --output-path=$(API_REFERENCE_DIR)/$(CATALOGD_API_REFERENCE_FILENAME)
rm -rf $(CATALOGD_TMP_DIR)/

--renderer=markdown --output-path=$(API_REFERENCE_DIR)/$(CATALOGD_API_REFERENCE_FILENAME);

VENVDIR := $(abspath docs/.venv)

.PHONY: build-docs
Expand Down
Loading
Loading