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

chore(runJobStage): Fix logs annotation processing on manifest artifact #4778

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

christosarvanitis
Copy link
Contributor

@christosarvanitis christosarvanitis commented Aug 28, 2024

In the RunJob Stage when the annotation:

job.spinnaker.io/logs: "someExternalUrl"

is present the expectation is that the context will be amended with:

"execution": {
"logs": "someExternalUrl"
}

which is rendered by Deck to an external URL for the console logs.

This is working as expected when the source is text (inline manifest) but when the manifest is coming from an artifact store the process needs to happen afterStages because only then the manifest content is present in the context

This PR addresses this missing use case.

@dbyron-sf
Copy link
Contributor

What's involved in adding a test for this?

@christosarvanitis
Copy link
Contributor Author

@dbyron-sf pushed some tests for the stage

@jasonmcintosh jasonmcintosh added the ready to merge Approved and ready for merge label Sep 10, 2024
@mergify mergify bot added the auto merged Merged automatically by a bot label Sep 10, 2024
@mergify mergify bot merged commit ff987dc into spinnaker:master Sep 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.36
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants