Skip to content

[FIX] move fast-forward pull before changes to avoid conflict#376

Merged
nerdalert merged 1 commit intoinstructlab:mainfrom
Gregory-Pereira:fix-pr-images-workflow-v3
Nov 26, 2024
Merged

[FIX] move fast-forward pull before changes to avoid conflict#376
nerdalert merged 1 commit intoinstructlab:mainfrom
Gregory-Pereira:fix-pr-images-workflow-v3

Conversation

@Gregory-Pereira
Copy link
Collaborator

The issue with this was that I was modifying the manifests with the pr tag before pulling to fast forward and pick up any other CI changes. Here is an example log:

From https://github.com/instructlab/ui
   49cad10..9e14ad2  main        -> origin/main
 * [new branch]      dependabot/npm_and_yarn/main/fortawesome/fontawesome-svg-core-6.7.1 -> origin/dependabot/npm_and_yarn/main/fortawesome/fontawesome-svg-core-6.7.1
 * [new branch]      release-1.0 -> origin/release-1.0
 * [new branch]      streamline-release-images-workflow -> origin/streamline-release-images-workflow
 * [new tag]         v1.0.0-beta.0 -> v1.0.0-beta.0
 * [new tag]         v1.0.0-beta.1 -> v1.0.0-beta.1
 * [new tag]         v1.0.0-beta.2 -> v1.0.0-beta.2
 * [new tag]         v1.0.0-beta.3 -> v1.0.0-beta.3
error: Your local changes to the following files would be overwritten by merge:
	deploy/k8s/overlays/openshift/qa/kustomization.yaml
Please commit your changes or stash them before you merge.
Aborting
Updating [49](https://github.com/instructlab/ui/actions/runs/12016449930/job/33496664430#step:16:50)cad10..9e14ad2

From: https://github.com/instructlab/ui/actions/runs/12016449930/job/33496664430#step:16:40.

This PR moves the git pull --ff-only before the code changes so there should be no working changes in the tree to cause conflicts.

cc @nerdalert @vishnoianil

Signed-off-by: greg pereira <grpereir@redhat.com>
@Gregory-Pereira Gregory-Pereira force-pushed the fix-pr-images-workflow-v3 branch from e0d79f6 to 1205b37 Compare November 25, 2024 22:02
@nerdalert nerdalert merged commit 294f78a into instructlab:main Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants