19 Commits

Author SHA1 Message Date
Wei Liu
8fd640694e enable grpc e2e (#1354)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2026-01-27 10:26:32 +00:00
Jian Zhu
c93f90f59a 🐛 Fix helm command syntax in e2e test deployment (#1168)
* Fix helm command syntax in e2e test deployment

Remove unnecessary commas from --set flags in helm commands.
Multiple --set flags don't require commas between them.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: zhujian <jiazhu@redhat.com>

* Add comprehensive image tag validation to e2e tests

- Add configurable expected-image-tag parameter to e2e test suite
- Create image_tag_validation_test.go with comprehensive validation:
  * Validates all container images in cluster-manager and klusterlet deployments use expected tag
  * Validates test image variables (registrationImage, workImage, singletonImage) end with expected tag
  * Validates ClusterManager spec imagePullSpec fields use expected tag
- Pass IMAGE_TAG to e2e tests via expected-image-tag parameter
- Use BeforeEach to avoid duplicate validation checks

This ensures IMAGE_TAG=e2e properly propagates to all OCM components.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: zhujian <jiazhu@redhat.com>

* Move image validation from separate test to BeforeSuite

- Move all image validation logic from image_tag_validation_test.go to BeforeSuite in e2e_suite_test.go
- Validates test image variables, ClusterManager spec, and deployment containers in setup phase
- Provides early failure detection if image configuration is incorrect
- Removes duplicate test file and function declarations

This ensures image validation runs once during test setup rather than as separate test cases.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-05 02:01:37 +00:00
Jian Qiu
a9424bcca2 Fix flaky issue in e2e tests (#1138)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 41s
Post / coverage (push) Failing after 38s
Post / images (amd64, addon-manager) (push) Failing after 40s
Post / images (amd64, placement) (push) Failing after 28s
Post / images (amd64, registration) (push) Failing after 40s
Post / images (amd64, registration-operator) (push) Failing after 43s
Post / images (amd64, work) (push) Failing after 41s
Post / images (arm64, addon-manager) (push) Failing after 34s
Post / images (arm64, placement) (push) Failing after 39s
Post / images (arm64, registration) (push) Failing after 37s
Post / images (arm64, registration-operator) (push) Failing after 40s
Post / images (arm64, work) (push) Failing after 43s
Post / image manifest (addon-manager) (push) Has been skipped
Post / image manifest (placement) (push) Has been skipped
Post / image manifest (registration) (push) Has been skipped
Post / image manifest (registration-operator) (push) Has been skipped
Post / image manifest (work) (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 1m8s
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2025-08-26 13:40:08 +00:00
Zhiwei Yin
e5e013cad0 use images overrides in operator deploy (#795)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 39s
Post / images (amd64) (push) Failing after 5m56s
Post / images (arm64) (push) Failing after 5m40s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 26m9s
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2025-01-09 09:03:36 +00:00
Jian Zhu
1ef590444c Use e2e images instead of latest (#756)
Signed-off-by: zhujian <jiazhu@redhat.com>
2024-12-10 02:59:40 +00:00
Zhiwei Yin
7946f87945 support set imagepullsecret credential in helm chart and run e2e using helm chart (#605)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-08-29 12:32:43 +00:00
xuezhao
4b77db89c5 Explicitly name and use UNIVERSAL klusterlet/managedcluster. (#556)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2024-07-09 09:54:21 +00:00
xuezhao
21f339999c Refactor e2e commands. (#534)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2024-06-20 01:55:27 +00:00
Zhiwei Yin
ca89a00a0e release 0.13.1 csv bundle (#416)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-04-11 01:39:23 +00:00
Dale Haiducek
863d958295 Fix mode replacement (#372)
ref: https://issues.redhat.com/browse/ACM-10392

Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
2024-03-12 06:32:10 +00:00
Dale Haiducek
3fc013f921 Match registration image exactly (#273)
Since the registration image string is a substring of the
registration-operator image, it wasn't being updated correctly.

Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
2023-09-11 03:17:12 +02:00
Jian Qiu
404680d302 support singleton in hosted mode (#258)
* delete old agent when switch to singleton mode

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* run singleton hosted mode

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Sync sa on spoke as external-agent-kubeconfig

Signed-off-by: Jian Qiu <jqiu@redhat.com>

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-07 03:33:17 +02:00
Jian Zhu
a9dae607f6 Support override addon images by the cluster's annotation (#231)
*  Support override addon images by the cluster's annotation

Signed-off-by: zhujian <jiazhu@redhat.com>

* Add tests for addon image override

Signed-off-by: zhujian <jiazhu@redhat.com>

* upgrade ocm api

Signed-off-by: zhujian <jiazhu@redhat.com>

* refactor integration tests

Signed-off-by: zhujian <jiazhu@redhat.com>

* Upgrade addon framework to watch cluster when deploy addon agent

Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-08-03 08:57:05 +02:00
Jian Qiu
f7cd1402e9 run work and registration as a single binary (#201)
* run registratin/work together

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Fix integration test and lint issue

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Update operator to deploy singleton mode

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Update deps

Signed-off-by: Jian Qiu <jqiu@redhat.com>

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-07-14 04:56:48 +02:00
Jian Qiu
9cae24c7fe Separated hosted klusterlet e2e to separated action (#206)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-07-03 01:51:46 -04:00
xuezhaojun
c364d34e47 Fix: hard-coded image names in e2e-test. (#183)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-06-13 20:15:40 -04:00
Jian Qiu
62efbf935b Build common options for agent (#163)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-08 02:55:43 -04:00
Jian Qiu
3db47b7997 Move work e2e out of staging (#157)
* Move work e2e out of staging

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* some refactor on tester

remove unnecessary field and build a enable feature func

Signed-off-by: Jian Qiu <jqiu@redhat.com>

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-01 06:18:21 -04:00
Jian Qiu
95aa3b1a06 Move operator e2e (#156)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 07:09:42 -04:00