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

Dep update Github Action fails on Update jsonnet dependencies #417

Closed
kylos101 opened this issue Dec 30, 2022 · 4 comments · Fixed by #418
Closed

Dep update Github Action fails on Update jsonnet dependencies #417

kylos101 opened this issue Dec 30, 2022 · 4 comments · Fixed by #418
Labels
bug Something isn't working

Comments

@kylos101
Copy link
Contributor

Bug description

Here is a sample job run that is failing

Steps to reproduce

Run the job (I ran it three times and they all failed)

Interestingly, the same steps pass from within a Gitpod workspace.

Expected behavior

It would ideally pass

Example repository

No response

Anything else?

It runs successfully from a Gitpod workspace. 🤔 Perhaps it is related to Github Action runner changes? Ref

@ArthurSens
Copy link
Contributor

Hey @kylos101, the CI fails because it ends with exit code 1 if there is nothing to update. I'm running the script manually inside a workspace and I can see that nothing is being updated, besides the jsonnetfile.lock.json file.

Updating the lock file with nothing else doesn't seem to bring any benefits, hence the intentional failure. Are you sure that the PRs making changes to dashboards were merged before you triggered the CI here?

Is anything that we could do to make the expectations clearer?

@kylos101
Copy link
Contributor Author

kylos101 commented Jan 3, 2023

the CI fails because it ends with exit code 1 if there is nothing to update. I'm running the script manually inside a workspace and I can see that nothing is being updated, besides the jsonnetfile.lock.json file.

Can you echo a message on failure, so folks know why the job failed? This way they get feedback from the job, without having to troubleshoot it in a workspace.

Are you sure that the PRs making changes to dashboards were merged before you triggered the CI here?

I recall trying to run this to update SLOs in Pyrra. Perhaps this is the wrong workflow? I was not trying to update a dashboard...doh! What workflow updates Pyrra? Sorry...

@ArthurSens
Copy link
Contributor

ArthurSens commented Jan 3, 2023

the CI fails because it ends with exit code 1 if there is nothing to update. I'm running the script manually inside a workspace and I can see that nothing is being updated, besides the jsonnetfile.lock.json file.

Can you echo a message on failure, so folks know why the job failed? This way they get feedback from the job, without having to troubleshoot it in a workspace.

That's a very good idea! Let me open a PR

Are you sure that the PRs making changes to dashboards were merged before you triggered the CI here?

I recall trying to run this to update SLOs in Pyrra. Perhaps this is the wrong workflow? I was not trying to update a dashboard...doh! What workflow updates Pyrra? Sorry...

SLOs are managed by ArgoCD, e.g. the workspace-slos app. We tried to document that in the architecture page 🙂

Since it is managed by ArgoCD, all you need to update an SLO is commit the change to main. ArgoCD will take care of the rest(it might take a 1~5mins until everything is reconciled)

@kylos101
Copy link
Contributor Author

kylos101 commented Jan 4, 2023

Thank you for clarifying how SLOs ship!

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
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants