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

opera target view #246

Closed
wants to merge 29 commits into from
Closed

opera target view #246

wants to merge 29 commits into from

Conversation

Haishi2016
Copy link
Contributor

This should be safe to merge as it affects only the opera portal.

@Haishi2016 Haishi2016 requested a review from msftcoderdjw as a code owner May 2, 2024 20:53
@msftcoderdjw
Copy link
Contributor

Hi @Haishi2016 , eclipsefdn/eca checke failed in this PR. Can you please take a look?

README.md Outdated
@@ -5,6 +5,10 @@

_(last edit: 02/02/2024)_

### ⚠️⚠️⚠️ This branch hosts experimental features. The Symphony community does not guarantee long-term support for these features. Their incorporation into the main branch is not assured, and they may be deprecated or removed at any time without notice. For more details, please see [Experimental Feature Table](./experimental-features.md)⚠️⚠️⚠️
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not include this in main.

@@ -232,6 +239,7 @@ func (s *StageManager) ResumeStage(status model.ActivationStatus, cam model.Camp
TriggeringStage: stage,
Schedule: cam.Stages[nextStage].Schedule,
Namespace: namespace,
Proxy: cam.Stages[nextStage].Proxy,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the proxy processor changes, please remove them.

@Haishi2016
Copy link
Contributor Author

Hi @Haishi2016 , eclipsefdn/eca checke failed in this PR. Can you please take a look?

This is because there's a commit from action@github.com ....

@@ -50,6 +50,13 @@ func (t *TaskResult) GetError() error {
switch sv := v.(type) {
case v1alpha2.State:
break
case float64:
Copy link
Contributor

@msftcoderdjw msftcoderdjw May 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious in which case, when will we get float64 status?

annotations: Record<string, string>;
}

export interface TargetState {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw in this file, there's still some object like SolutionState which doesn't align new object model. Do we need to fix them?

msftcoderdjw and others added 20 commits May 15, 2024 11:52
* Merge ADO changes to OSS

* refine k8s magefile

* fix gatekeeper tests

* export symphony logs in integration test

* fix requeue when deployment is in-progress

* Remove unnecessary isDeploymentFinished, use summaryResult.State to check

* Remove unnecessary isDeploymentFinished, use summaryResult.State to check

* Merge ADO changes to OSS

* Remove unnecessary isDeploymentFinished, use summaryResult.State to check

* pass context in apiclient call

* addressing comments

* adjust log level

* fix typo and use time.Now().UTC() in metrics
* remove Docker check; remove 'v' prefix of version parameter

* remove v prefix for powershell
* Merge ADO K8S changes to OSS

* honor OSS changes

* expose delete sync delay for futuer override from helm charts

* generate helm charts

* fix typo in InstanceStatus

* add debug logs for k8s target provider

* refactor webhook and add metrics

* refactor reconciliation policy to meet API spec

* watch operationId change instead of annnotation change

* webhook fixes

* fix typo

* refine reconciliation policy

* refactor doc

* remove version property in target/intance since we will have new version implementation

* fix typo
* Support device in non-default namespace

* fix missing argument in test

* handle missing namespace field

* Fix provisiongingStatus missing error in target update
* remove catalog.spec.name

* remove instance.spec.name

* remove spec.name in catalog/instance k8s object

* fix catalog webhook

* remove spec.name in catalog in docs and tests

* remove spec.name in activation

* remove spec.name in campaign

* fix samples in symphony object in catalog for materializing

---------

Co-authored-by: Jiawei Du <jiadu@microsoft.com>
Co-authored-by: Haishi2016 <hbai@microsoft.com>
* coa first round (#3)

* coa first round

* enable manual trigger

* fix otel dependency issue

* fix api and k8s tests

* add header

---------

Co-authored-by: Jiawei Du <jiaweidu_js@163.com>

* API done

* tidy api/go.mod

* fixes

* enable more cases

* refine ensureNamespace

* refine tests

* tidy k8s/go.mod

* refine cases

* verify

* fix mage remove

* refine go.mod in api & k8s

* refine go.work and go.mod in tests

* fix naming

* temp

* enable ginkogo test

* fix deploymenthash and tested ginkgo tests

* fix github.com/stretchr/objx

* fix startup

* testing

* fix requeue due to update change

* resolve a rebase issue

* [Temp] Enable tests

* Refine mage commands for tests

* fix tests and github action

* remove adomerge_staging branch

* increase go test timeout to 1min

* increase go test timeout to 5min

* fix constant value

* fix unnecessary changes

* refine gatekeeper tests

* Merge ADO changes to OSS

* refine k8s magefile

* fix gatekeeper tests

* export symphony logs in integration test

* fix requeue when deployment is in-progress

* Remove unnecessary isDeploymentFinished, use summaryResult.State to check

* Remove unnecessary isDeploymentFinished, use summaryResult.State to check

* fix merge issues

* first draft

* checkpoint SAT

* second version

* Merge ADO K8S changes to OSS

* honor OSS changes

* expose delete sync delay for futuer override from helm charts

* generate helm charts

* fix typo in InstanceStatus

* add debug logs for k8s target provider

* refactor webhook and add metrics

* refactor reconciliation policy to meet API spec

* watch operationId change instead of annnotation change

* webhook fixes

* fix typo

* refine reconciliation policy

* refactor doc

* remove version property in target/intance since we will have new version implementation

* fix typo

* fix dependency issues

* clean up work

* add ado suite test pipeline

* resolve comments

* resolve comments

* resolve comments

* resolve comments

* fix helmTemplate

* change timeout to 90 in local env mage file

* upate cert manager chart version

---------

Co-authored-by: Jiawei Du <jiaweidu_js@163.com>
Co-authored-by: Jiawei Du <jiadu@microsoft.com>
…in release pipeline (#247)

* Fix checkout/commit/push users

* address comments
Signed-off-by: Thomas Neidhart <thomas.neidhart@eclipse-foundation.org>
* enable proxy stage processor

* initial stage isolation docs

* udpate k8s types

* workflow docs and samples continued

* fix update target result (#227)

* fix http test

---------

Co-authored-by: Jiawei Du <59427055+msftcoderdjw@users.noreply.github.com>
@Haishi2016 Haishi2016 closed this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants