docs icon indicating copy to clipboard operation
docs copied to clipboard

Add note about `squash` commits for DAG deploy templates in CI/CD pipelines

Open lzdanski opened this issue 1 year ago • 0 comments

Issue Type

Inaccurate, misleading, or out-of-date information

Links to Affected Docs

https://docs.astronomer.io/astro/ci-cd-templates/jenkins#dag-deploy-templates and all similar

The Issue or Context

  1. User makes a change to the DAG and commits to a local branch, but doesn't push the change to the remote.
  2. User makes another change and commits to a local branch, and pushes both changes to the remote
  3. the Deploy Action isn't picking up the changes from the first of the two commits, and is only updating the deployment with code from the second diff.
  4. This is resolved when users push individual commits to remote OR squash commits to the branch with CI/CD

Fix or Proposed Change

Add a note to all pages with a DAG Deploy template section instructing users to squash multiple commits or to push single commits.

  • https://astronomer.slack.com/archives/CL44PA4DB/p1707342295325239

Additional Notes

No response

Required Reviewers

No response

lzdanski avatar Apr 05 '24 20:04 lzdanski