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

Fix: yaml source workdir relying on scm #839

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

olblak
Copy link
Member

@olblak olblak commented Sep 1, 2022

Signed-off-by: Olblak me@olblak.com

Spot while testing #838
This appears to be a regression where the source yaml didn't use the correct scmID

Test

To test this pull request, you can run the following commands:

go build -o bin/updatecli .
./bin/updatecli diff --config e2e/updatecli.d/success.d/githubPullrequest.yaml

Additional Information

Tradeoff

/

Potential improvement

This part should deserve better UT, but I don't really have the time atm

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added the bug Something isn't working label Sep 1, 2022
@lemeurherve
Copy link
Member

Oh! I'm wondering if it's not the same type of bug I've got in my pending PR...

@olblak
Copy link
Member Author

olblak commented Sep 1, 2022

Oh! I'm wondering if it's not the same type of bug I've got in my pending PR...

Which one? I am curious about this bug because I am pretty sure we use this workflow but can't remember where

@lemeurherve
Copy link
Member

#650

I'm struggling to debug e2e tests, but I think the errors I'm encountering could be related to this workdir.

@olblak
Copy link
Member Author

olblak commented Sep 1, 2022

well try.gitea.io seems to be dead.
I'll switch to codeberg when I have some time but for now I am gonna merge this PR and trigger a release

@olblak olblak merged commit 8cb271e into updatecli:main Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants