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

Added task to execute multiple oc commands (#92) #95

Closed
wants to merge 3 commits into from

Conversation

lstocchi
Copy link
Contributor

@lstocchi lstocchi commented Sep 6, 2019

It fixes #92

With this PR users can now add multiple oc commands with a single task without creating multiple single-command tasks into a pipeline.

Example below:

- task: oc-list-cmds@2
  inputs:
    openshiftService: 'My Openshift'
    version: 'v3.11.0'
    cmds: |
          'oc version
          oc get pods          
          oc get dc' 

Currently there is no json helper support. Once #93 will be approved, it will be included into this task as well.

@jeffmaury
Copy link
Member

@lstocchi should we close this one ?

@lstocchi lstocchi closed this Nov 26, 2024
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.

Create a task which accepts a list of oc commands
2 participants