Open getvictor opened 9 months ago
Hey @getvictor heads up, we didn't get to this in the last design sprint.
Bringing it back to feature fest.
Noah: Let's understand whether the changes we make for GitOps activity affect fleetctl apply and/or Puppet module activities.
Related discussion in Slack here (internal): https://fleetdm.slack.com/archives/C03C41L5YEL/p1711464429022319
Hey @getvictor, heads up, we brought this into the upcoming design sprint (4.49).
@rachaelshaw we need additional messages because there are a couple of use cases here.
fleetctl gitops -f teams/my-team.yml
there are a couple of use cases here.
- gitops runs via workflow based on our gitops best practices repo. A gitops user would typically run this.
- A single user runs something like fleetctl gitops -f teams/my-team.yml
- gitops flow runs, applies some changes, but fails. This can happen if --dry-run was not run first, or due to some corner cases.
@getvictor understood that any of these use cases (scenarios) are possible.
However, fleetctl gitops
is only intended for use w/ best practice GitHub action (first scenario above). The plan is to document this as such. (docs PR here)
I think this means that we don't want to have additional messages for the second scenario: running fleetctl gitops
outside of the GitHub action.
For the third scenario, the GitHub action always runs --dry-run
first, right? If yes, I think we don't need an additional message for the third workflow.
cc @rachaelshaw @marko-lisica
@getvictor we decided to keep this message as-is (per @noahtalerman's comment above)
Estimations: FE: 1 BE: 5
Goal
Context
Current activities generated when a PR is merged in GitOps repo (
fleetctl gitops
runs):Changes
Product
fleetctl gitops
runs, generate a single activity instead of activities for every individual change.Engineering
QA
Risk assessment
Manual testing steps
Testing notes
Confirmation