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

feat: configurable windows os version #5546

Closed

Conversation

mweibel
Copy link
Contributor

@mweibel mweibel commented Mar 30, 2021

Allows to configure the windows version used for argoexec (see #5376). This allows us to easily build a version of the argoexec docker image without the need to adjust the Dockerfile itself (instead just pass --build-arg IMAGE_OS_VERSION=1909).

This changes additionally the golang version used to the latest 1.13 version, as at least 1.13.8 is needed to fix an issue with windows (https://github.com/golang/go/issues?q=milestone%3AGo1.13.8+label%3ACherryPickApproved, golang/go#36575).

The IMAGE_OS and IMAGE_ARCH build args were unused and hence I removed them.

possibly @lippertmarkus to review? :)

Checklist:

terrytangyuan and others added 30 commits February 19, 2021 11:49
…#5133)

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
…oj#5043)

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>

Co-authored-by: Simon Behar <simbeh7@gmail.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
…roj#5161)

Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Fichtner, Florian Willy <florian.fichtner@dlr.de>
…pods (argoproj#5090)

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alexandre <alexandre@insideboard.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
…5182)

Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
* feat(cli): Add cost optimization nudges for Argo CLI

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>

* feat(cli): Add --no-nudges option to disable nudges output for argo list

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>

* feat(cli): Add security nudges for get command

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>

* feat(cli): Discard returned values for consistency

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>

* feat(cli): Update docs

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>

* feat(cli): goimports

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>

* refactor(cli): Move security nudges printing code to the printer util pkg

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Markus Lippert <lippertmarkus@gmx.de>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Zach Aller <zachaller@hotmail.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
christopheblin and others added 21 commits April 28, 2021 10:45
mention that CRD are used and so cluster admin is needed

Signed-off-by: Christophe BLIN <cblin@monkeyfactory.fr>
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
Co-authored-by: dinever <dingpeixuan911@gmail.com>
Signed-off-by: Iven Hsu <ivenvd@gmail.com>
Signed-off-by: NikeNano <niklas.sven.hansson@gmail.com>
* feat: Emit WorkflowNodeRunning event

 - Issue argoproj#5320

Signed-off-by: Kenny Trytek <kenneth.g.trytek@gmail.com>

* feat: Emit WorkflowNodeRunning event

 - Remove redundant onNodeComplete function.
 - Separate recording event in assess_node_status to its own conditional statement.
 - Rename function for clarity.

Signed-off-by: Kenny Trytek <kenneth.g.trytek@gmail.com>

* feat: Emit WorkflowNodeRunning event

 - Consolidate all WorkflowNode* events to one code path.

Signed-off-by: Kenny Trytek <kenneth.g.trytek@gmail.com>

* feat: Emit WorkflowNodeRunning event

 - Remove extra loop in event-sending logic.
 - Move phase event recording to immediately after woc is updated.

Signed-off-by: Kenny Trytek <kenneth.g.trytek@gmail.com>

* feat: Emit WorkflowNodeRunning event

 - Reassign woc.wf.TypeMeta during persistUpdates, since the Workflow
   representation returned from the server does not add this field.

Signed-off-by: Kenny Trytek <kenneth.g.trytek@gmail.com>

* feat: Emit WorkflowNodeRunning event

 - Use DeepCopy for event reporting to avoid modifying the active node.

Signed-off-by: Kenny Trytek <kenneth.g.trytek@gmail.com>

* feat: Emit WorkflowNodeRunning event

 - Use objects instead of pointers in the method signature to simplify things.

Signed-off-by: Kenny Trytek <kenneth.g.trytek@gmail.com>
Signed-off-by: Ryan Lo <lowc1012@gmail.com>
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
…ixes argoproj#5796 (argoproj#5798)

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
Signed-off-by: Nick Palumbo <npalumbo8@bloomberg.net>

Co-authored-by: Nick Palumbo <npalumbo8@bloomberg.net>
Signed-off-by: softwarebloat <nico.lino1991@gmail.com>
Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
)

Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
allows to specify windows OS version using `--build-arg
IMAGE_OS_VERSION=1909` so users can build their own argoexec using the
appropriate underlying windows version (see argoproj#5367).

Signed-off-by: Michael Weibel <michael@helio.exchange>
@mweibel mweibel force-pushed the configurable-dockerfile-windows branch from 267b585 to 5440faa Compare May 4, 2021 19:03
@mweibel mweibel closed this May 4, 2021
@mweibel
Copy link
Contributor Author

mweibel commented May 4, 2021

d'oh - forgot you can't change the target branch in GitHub. Created #5816 with the new target branch.

@agilgur5 agilgur5 added solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate) area/windows Windows Container support area/executor area/build Build or GithubAction/CI issues labels Jun 6, 2024
@argoproj argoproj locked as resolved and limited conversation to collaborators Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/build Build or GithubAction/CI issues area/executor area/windows Windows Container support solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate)
Projects
None yet
Development

Successfully merging this pull request may close these issues.