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

generates work avoidance does not seem to work #1945

Closed
alexec opened this issue Dec 11, 2024 · 1 comment
Closed

generates work avoidance does not seem to work #1945

alexec opened this issue Dec 11, 2024 · 1 comment

Comments

@alexec
Copy link

alexec commented Dec 11, 2024

  • Task version: v3.40.1
  • Operating system: Linux
  • Experiments enabled: None
version: '3'

tasks:
  install-kind:
    cmds:
      - curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
      - chmod +x ./kind
    generates:
      - kind

This always runs. It should only run once.

@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Dec 11, 2024
@alexec
Copy link
Author

alexec commented Dec 11, 2024

tasks:
  install-kind:
    cmds:
      - curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
      - chmod +x ./kind
      - sudo mv ./kind /usr/local/bin/kind
    status:
      - test -f /usr/local/bin/kind

@alexec alexec closed this as completed Dec 11, 2024
@task-bot task-bot removed the state: needs triage Waiting to be triaged by a maintainer. label Dec 11, 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

No branches or pull requests

2 participants