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

Upgrade Argo Workflow to 3.5.5 #994

Merged
merged 4 commits into from
Apr 22, 2024

Conversation

Sharathmk99
Copy link
Contributor

Pull Request Checklist

Description of PR
Currently, we are on 3.4.4 Argo Workflow version and need to Upgrade Argo Workflow models to >= 3.5 version to use features like pod_gc deleteDelayDuration.

This is my first PR on this repo, please let me know if I need to update any other files or add more tests, will do.
Thank you!!

Signed-off-by: Sharath MK <Sharathmk99@gmail.com>
@elliotgunton elliotgunton added type:dependency-upgrade A dependency upgrade semver:minor A change requiring a minor version bump labels Mar 6, 2024
@elliotgunton
Copy link
Collaborator

Hi @Sharathmk99, thanks for the PR! Looking through the changes, the model updates look backward compatible, so should be good there. Our on-cluster test however has failed when using 3.5.5 due to

message='Error (exit code 1): pods "hello-world-79zj8-echo-1727487450" is forbidden: User "system:serviceaccount:argo:default" cannot patch resource "pods" in API group "" in the namespace "argo"',

This probably just requires a fix for the role in the cluster setup in

hera/Makefile

Lines 156 to 157 in eed2294

kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v$(ARGO_WORKFLOWS_VERSION)/install.yaml
kubectl patch deployment argo-server --namespace argo --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": ["server", "--auth-mode=server"]}]'

Or it may be related to submitting as user argoproj/argo-workflows#12391

I will look into this if/when I have time unless you get to it first. Thanks!

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.8%. Comparing base (d553546) to head (4c76961).
Report is 41 commits behind head on main.

❗ Current head 4c76961 differs from pull request most recent head 070292c. Consider uploading reports for the commit 070292c to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #994   +/-   ##
=====================================
  Coverage   81.7%   81.8%           
=====================================
  Files         54      56    +2     
  Lines       4208    4235   +27     
  Branches     889     893    +4     
=====================================
+ Hits        3439    3465   +26     
+ Misses       574     572    -2     
- Partials     195     198    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sharathmk99
Copy link
Contributor Author

Hi @Sharathmk99, thanks for the PR! Looking through the changes, the model updates look backward compatible, so should be good there. Our on-cluster test however has failed when using 3.5.5 due to

message='Error (exit code 1): pods "hello-world-79zj8-echo-1727487450" is forbidden: User "system:serviceaccount:argo:default" cannot patch resource "pods" in API group "" in the namespace "argo"',

This probably just requires a fix for the role in the cluster setup in

hera/Makefile

Lines 156 to 157 in eed2294

kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v$(ARGO_WORKFLOWS_VERSION)/install.yaml
kubectl patch deployment argo-server --namespace argo --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": ["server", "--auth-mode=server"]}]'

Or it may be related to submitting as user argoproj/argo-workflows#12391

I will look into this if/when I have time unless you get to it first. Thanks!

@elliotgunton thank you for the input. I'll have look at it today. Will update.

@samj1912 samj1912 merged commit 190c49e into argoproj-labs:main Apr 22, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor A change requiring a minor version bump type:dependency-upgrade A dependency upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Argo >= 3.5
3 participants