Skip to content

Conversation

@leshikus
Copy link
Contributor

@leshikus leshikus commented Mar 6, 2025

Changes

The apt manpage recommends against using it in scripts and issues a warning. This patch fixes the warning.

It also adds an option to debug ci worlflow via workflow_dispatch, and removes yamllint exception by properly formatting the on clause.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Mar 6, 2025
@leshikus leshikus marked this pull request as draft March 6, 2025 17:38
@tekton-robot tekton-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 6, 2025
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 6, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@tekton-robot tekton-robot requested review from afrittoli and dibyom March 6, 2025 17:38
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 6, 2025
@leshikus leshikus closed this Mar 6, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Tekton Community Roadmap Mar 6, 2025
@leshikus leshikus reopened this Mar 6, 2025
@github-project-automation github-project-automation bot moved this from Done to In Progress in Tekton Community Roadmap Mar 6, 2025
@leshikus leshikus changed the title Fix a warning during yamllint [FIX] Remove the apt warning Mar 6, 2025
@leshikus
Copy link
Contributor Author

leshikus commented Mar 6, 2025

/kind cleanup

@tekton-robot tekton-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Mar 6, 2025
@leshikus leshikus marked this pull request as ready for review March 6, 2025 18:18
@tekton-robot tekton-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 6, 2025
@tekton-robot tekton-robot requested a review from pritidesai March 6, 2025 18:18
@leshikus
Copy link
Contributor Author

@pritidesai how can I make progress with this PR?

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!
The change to apt-get looks good to me, but I'm not sure about adding the workflow_dispatch option here.

on: [pull_request] # yamllint disable-line rule:truthy
on:
- pull_request
- workflow_dispatch
Copy link
Member

Choose a reason for hiding this comment

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

For testing the yamllint job, I would prefer if we added a yamllint target to the Makefile and use make yamllint in the workflow here, although the apt-get part would be trick in the Makefile as it would work only on debian based systems. @vdemeester wdyt?

Copy link
Member

Choose a reason for hiding this comment

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

I agree, I went for the quickest but indeed I agree with you. We may want to split this into an « install yamllint » action and a make yamllint 😇

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your comments, will make yamlint available for local testing.

As for workflow_dispatch, it is needed to run tests in my fork before I submit a PR. There is another request for this feature #8621

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me know if you want me remove workflow_dispatch - due to some security or other reason

Copy link
Member

Choose a reason for hiding this comment

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

@leshikus let's remove the workflow_dispatch for now then 🙃

@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 18, 2025
@leshikus
Copy link
Contributor Author

leshikus commented Mar 29, 2025

@vdemeester @afrittoli , can we progress with this patch? I was thinking about spending some time working on this project and resolving more serious issues in future.

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 11, 2025
@leshikus
Copy link
Contributor Author

I wonder how can this PR get this LGTM label

@vdemeester
Copy link
Member

@leshikus can you take care of my last comment, and I'll LGTM 👼🏼 😉

@waveywaves
Copy link
Member

@leshikus I have updated the PR with the required change on your behalf hope that is ok, this is so that we can fast-forward this PR :)

cc @vdemeester

@leshikus
Copy link
Contributor Author

leshikus commented Aug 14, 2025

@waveywaves thanks! sorry for missing the previous request

@waveywaves
Copy link
Member

/lgtm ing based on Vincent's last comment 🚀

@waveywaves waveywaves added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2025
@tekton-robot tekton-robot merged commit 490861a into tektoncd:main Aug 14, 2025
29 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Tekton Community Roadmap Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants