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

[DEVOPS-640] Add wait for mutation action #97

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

yusufhm
Copy link
Contributor

@yusufhm yusufhm commented Oct 12, 2024

This allows us to do things like this directly in a playbook:

- name: Invoke PaaS audit Lagoon task
  lagoon.api.mutation:
    mutation: invokeRegisteredTask
    arguments:
      advancedTaskDefinition: 951
      environment: 322422
      argumentValues:
        - advancedTaskDefinitionArgumentName: SHIPSHAPE_AUDIT_NAME
          value: PAAS
    wait: true
  vars:
    lagoon_api_token: "{{ token.token }}"

Copy link
Contributor

@steveworley steveworley left a comment

Choose a reason for hiding this comment

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

Can we fix the tests before merging this one?

@yusufhm yusufhm force-pushed the feature/DEVOPS-640-mutation-add-wait branch from 13eb9a2 to b3a037c Compare October 13, 2024 06:59
@yusufhm yusufhm merged commit 01b6c91 into master Oct 14, 2024
8 checks passed
@yusufhm yusufhm deleted the feature/DEVOPS-640-mutation-add-wait branch October 14, 2024 02:04
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.

2 participants