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

Ide-helper command is not shown in --list. Problem with exists in rules #1462

Open
NicaCego opened this issue Jan 3, 2025 · 1 comment
Open
Labels
elaborate Further elaboration is needed

Comments

@NicaCego
Copy link

NicaCego commented Jan 3, 2025

Minimal .gitlab-ci.yml illustrating the issue

---
  rules:
    - exists: [$PHP_ROOT/artisan]
      if: $IDE_HELPER_SKIP != 'true'
      when: on_success
      allow_failure: false

Expected behavior
Should display ide-helper command in gitlab-ci-local --list

Host information
Ubuntu 24.04.1 LTS
gitlab-ci-local 4.56.0

Additional context
- { if: $IDE_HELPER_SKIP != 'true', when: on_success, allow_failure: false} seems to work

@ANGkeith
Copy link
Collaborator

not sure if i understood you correctly, but in the eg. you provide there's an additional exist key

---
  rules:
    - exists: [$PHP_ROOT/artisan]  # remove this
      if: $IDE_HELPER_SKIP != 'true'
      when: on_success
      allow_failure: false

@ANGkeith ANGkeith added the elaborate Further elaboration is needed label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elaborate Further elaboration is needed
Projects
None yet
Development

No branches or pull requests

2 participants