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 render with empty artifact #14227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tczhao
Copy link
Member

@tczhao tczhao commented Feb 26, 2025

Fixes #14226

Tested, UI displays fine in both scenario and is able to display artifact correctly

workflow with empty artifact
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: input-artifact-s3-
spec:
  entrypoint: input-artifact-s3-example
  templates:
  - name: input-artifact-s3-example
    inputs:
      parameters:
        - name: path
          value: ""
      artifacts:
      - name: my-art
        path: /my-artifact
        s3:
          key: "{{inputs.parameters.path}}"
        optional: true
    container:
      image: debian:latest
      command: [sh, -c]
      args: ["echo hello world"]

workflow with actual artifact
https://github.com/argoproj/argo-workflows/blob/14121-actor-label-email-fix/examples/artifact-passing.yaml

Motivation

Modifications

Verification

Documentation

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.

UI Cannot read properties of undefined (reading 'replace')
1 participant