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

📝 Refactor the structure of the global hub agent #1156

Merged
merged 13 commits into from
Oct 15, 2024

Conversation

yanmxa
Copy link
Member

@yanmxa yanmxa commented Oct 9, 2024

Summary

Related issue(s)

Fixes # https://issues.redhat.com/browse/ACM-14760

Tests

  • Unit/function tests have been added and incorporated into make unit-tests.
  • Integration tests have been added and incorporated into make integration-test.
  • E2E tests have been added and incorporated into make e2e-test-all.
  • List other manual tests you have done.

@openshift-ci openshift-ci bot added the approved label Oct 9, 2024
@yanmxa yanmxa force-pushed the br_agent_refactor branch from c393ef7 to 3047426 Compare October 9, 2024 02:02
@yanmxa yanmxa force-pushed the br_agent_refactor branch 2 times, most recently from 2063132 to f23249f Compare October 10, 2024 08:43
@yanmxa yanmxa changed the title [WIP] 📝 Refactor the structure of the global hub agent 📝 Refactor the structure of the global hub agent Oct 10, 2024
@yanmxa
Copy link
Member Author

yanmxa commented Oct 11, 2024

/retest

@yanmxa
Copy link
Member Author

yanmxa commented Oct 11, 2024

/cc @clyang82 @ldpliu

@openshift-ci openshift-ci bot requested review from clyang82 and ldpliu October 11, 2024 10:15
@yanmxa yanmxa force-pushed the br_agent_refactor branch from 5fb6ccc to 6b14986 Compare October 12, 2024 03:25
@yanmxa
Copy link
Member Author

yanmxa commented Oct 12, 2024

Prow issue, retest it

INFO[2024-10-12T10:10:10Z] Ran for 0s                                   
ERRO[2024-10-[12](https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/stolostron_multicluster-global-hub/1156/pull-ci-stolostron-multicluster-global-hub-main-test-integration/1845044250014650368#1:build-log.txt%3A12)T10:10:10Z] Some steps failed:                           
ERRO[2024-10-12T10:10:10Z] 
  * could not initialize namespace: could not update namespace to add labels, TTLs and active annotations: Operation cannot be fulfilled on namespaces "ci-op-t6xf1z2c": the object has been modified; please apply your changes to the latest version and try again 
INFO[2024-10-12T10:10:10Z] Reporting job state 'failed' with reason 'initializing_namespace'

/test test-integration

@yanmxa
Copy link
Member Author

yanmxa commented Oct 12, 2024

/test test-integration

Signed-off-by: myan <[email protected]>

add

Signed-off-by: myan <[email protected]>

format agent

Signed-off-by: myan <[email protected]>

add the document

Signed-off-by: myan <[email protected]>

document

Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
@yanmxa yanmxa force-pushed the br_agent_refactor branch from 6ca007a to 64b98e1 Compare October 14, 2024 06:15
Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
Signed-off-by: myan <[email protected]>
Copy link

Copy link
Contributor

@clyang82 clyang82 left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -9,7 +9,7 @@ COPY go.mod go.sum ./
COPY ./agent/ ./agent/
COPY ./pkg/ ./pkg/

RUN go build -o bin/agent ./agent/cmd/agent/main.go
RUN go build -o bin/agent ./agent/cmd/main.go
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to update the downstream for this change

Copy link

openshift-ci bot commented Oct 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clyang82, yanmxa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 4c56a9d into stolostron:main Oct 15, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants