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

ci: try to reduce the number of inputs entries in CI workflows #1564

Open
ldevulder opened this issue Sep 16, 2024 · 0 comments
Open

ci: try to reduce the number of inputs entries in CI workflows #1564

ldevulder opened this issue Sep 16, 2024 · 0 comments

Comments

@ldevulder
Copy link
Contributor

ldevulder commented Sep 16, 2024

Instead of using input entries like this:

jobs:
  cli:
    with:
      k8s_downstream_version: ${{ matrix.k8s_downstream_version }}
      k8s_upstream_version: ${{ matrix.k8s_upstream_version }}
      qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }}
      rancher_version: ${{ matrix.rancher_version }}
      reset: ${{ matrix.reset }}
      sequential: ${{ matrix.sequential }}
      test_type: cli
      zone: us-central1-c

We could try to use something like this:

jobs:
  cli:
    with:
      k8s_downstream_version: ${{ matrix.k8s_downstream_version }}
      k8s_upstream_version: ${{ matrix.k8s_upstream_version }}
      qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }}
      rancher_version: ${{ matrix.rancher_version }}
      test_to_run: "reset sequential cli"
      zone: us-central1-c

To reduce the number of inputs.

This issue is here to do a PoC based on this idea and see what is the better/easier solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗳️ To Do
Development

No branches or pull requests

1 participant