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

fix(ui): Provide a link to archived logs. Fixes #2300 #2301

Merged
merged 13 commits into from
Feb 25, 2020

Conversation

alexec
Copy link
Contributor

@alexec alexec commented Feb 24, 2020

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I have written unit and/or e2e tests for my change. PRs without these are unlike to be merged.
  • Optional. I've added My organization is added to the README.
  • I've signed the CLA and required builds are green.

Screen Shot 2020-02-24 at 10 05 58 AM

Fixes #2300.
Not quite a fix - but I think it will be good enough.
Needs back-porting to v2.5.

@alexec alexec added this to In progress in Argo Workflows OSS Kanban Board via automation Feb 24, 2020
@alexec alexec changed the title fix: Provide a link to archived logs. Fixes #2300 fix(ui): Provide a link to archived logs. Fixes #2300 Feb 24, 2020
@alexec alexec moved this from In progress to Waiting for review or in review in Argo Workflows OSS Kanban Board Feb 24, 2020
public getArtifactDownloadUrl(workflow: Workflow, nodeId: string, artifactName: string, archived: boolean) {
return archived
? `artifacts-by-uid/${workflow.metadata.uid}/${nodeId}/${encodeURIComponent(artifactName)}?Authorization=${localStorage.getItem('token')}`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is dead code and should have been deleted a while ago

@alexec alexec requested a review from simster7 February 24, 2020 18:10
@codecov
Copy link

codecov bot commented Feb 24, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@65db8c9). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2301   +/-   ##
=========================================
  Coverage          ?   11.42%           
=========================================
  Files             ?       71           
  Lines             ?    27899           
  Branches          ?        0           
=========================================
  Hits              ?     3187           
  Misses            ?    24307           
  Partials          ?      405

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65db8c9...9321ab6. Read the comment docs.

@alexec alexec marked this pull request as ready for review February 24, 2020 18:57
@alexec alexec added this to the v2.5 milestone Feb 24, 2020
Argo Workflows OSS Kanban Board automation moved this from Waiting for review or in review to Reviewer approved Feb 25, 2020
@alexec alexec merged commit baf03f6 into argoproj:master Feb 25, 2020
Argo Workflows OSS Kanban Board automation moved this from Reviewer approved to Done Feb 25, 2020
@alexec alexec deleted the fix-2300 branch February 25, 2020 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Logs does not automatically fail over to artifact in v2.5.1
3 participants