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

feat(cdk): improve honeyvent data for components #1016

Merged
merged 4 commits into from
Nov 11, 2022
Merged

Conversation

afiune
Copy link
Contributor

@afiune afiune commented Nov 10, 2022

Summary

Improves how we send a Honeyvent for components, this change also moves the logic of
parsing flags and initializing CLI state to the PersistentPreRunE() func.

How did you test this change?

I will add a number of integrations tests but first I want to check if this logic looks good or not?

Issue

N/A

@afiune afiune requested review from slshen and hazedav and removed request for slshen November 10, 2022 20:57
@@ -297,6 +297,9 @@ open_pull_request() {
curl -XPOST -H "Authorization: token $GITHUB_TOKEN" --data "@$_body" \
https://api.github.com/repos/${org_name}/${project_name}/pulls > $_pr

# @afiune just to debug the issue where the field `html_url` comes as `null`
echo "$_pr" | jq .
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are having issues with our release pipeline, look at https://g.codefresh.io/build/636d470f5cb99a96099d1eaf?step=TriggerRelease&tab=output&logs=terminal

Output:

--> go-sdk: opening GH pull request                                                                                                                                                                               
--> go-sdk:                                                                                                                                         
--> go-sdk: It is time to review the release!                                                                                                       
--> go-sdk:     null                                                                                                                                

Copy link
Collaborator

@hazedav hazedav left a comment

Choose a reason for hiding this comment

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

cli/cmd/root.go Show resolved Hide resolved
@afiune afiune merged commit 8204f09 into main Nov 11, 2022
@afiune afiune deleted the afiune/cdk/honeycomb branch November 11, 2022 00:10
@lacework-releng lacework-releng mentioned this pull request Nov 11, 2022
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.

2 participants