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: allow non path output params #2680

Merged
merged 4 commits into from
Apr 21, 2020
Merged

fix: allow non path output params #2680

merged 4 commits into from
Apr 21, 2020

Conversation

dtaniwaki
Copy link
Member

@dtaniwaki dtaniwaki commented Apr 14, 2020

Checklist:

  • (b) this is a bug fix
  • The title of the PR is (a) conventional
  • I've signed the CLA.
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

I found k8s-jobs.yaml in the examples doesn't work with the k8sapi executor because the validation mistakenly validates output parameters even without interacting with file systems. I changed it to allow using output parameters other than path type without emptyDir.

parameters:
- name: param
valueFrom:
parameter: p
Copy link
Member

Choose a reason for hiding this comment

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

Can we fill this in with a real parameter? Having complete workflows in our test cases makes them readily available when needed

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed it. Can you review it again?

@sonarcloud
Copy link

sonarcloud bot commented Apr 21, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

75.0% 75.0% Coverage
0.0% 0.0% Duplication

@simster7 simster7 merged commit 7cb2fd1 into argoproj:master Apr 21, 2020
simster7 pushed a commit that referenced this pull request Apr 27, 2020
@simster7
Copy link
Member

Back-ported to 2.7

@dtaniwaki dtaniwaki deleted the allow-non-path-output-params branch August 19, 2020 08:38
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.

None yet

3 participants