Repository navigation
ci: SDK Publish Support - #3720
Conversation
There was a problem hiding this comment.
Do I send a PR based on this one or do you prefer to include Python right away here?
There was a problem hiding this comment.
By the way, I have a working mage sdk:python:publish.
There was a problem hiding this comment.
|
Starting to look at this now. |
a09b3fa to
3a4dc9f
Compare
|
This looks good to me. Once we have the Python SDK tests fixed - @helderco is creating a PR now - this is ready to be merged from my POV. To check that the changes introduce in this PR work as expected, can we publish a new Go SDK release @aluzzardi @sipsma @shykes? |
Signed-off-by: Andrea Luzzardi <[email protected]>
Filtering the sdk/go tree may not result in any changes if only this workflow changes in between runs. We only want to allow a new Go SDK publish if the commit tagged introduces some changes in the sdk/go path. Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
We do not want this to break without us knowing, or diverge from what we run locally. Signed-off-by: Gerhard Lazu <[email protected]>
Also fix targetRepo. Don't make assumptions about how environment variables are set. Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
| tags: | ||
| - sdk/go/** | ||
| paths: | ||
| - "sdk/go/**" |
There was a problem hiding this comment.
Just wanted to share context [not important, not urgent, debatable]:
I've been trying to part away from paths based filters, because:
- Ideally, with dagger, they're not needed (see self-hosted PR where irrelevant jobs run in ~2-3 seconds)
- local/ci divergence: not the same behavior if you run locally
- Can't enable GH enforcement since they conditionally come up
There was a problem hiding this comment.
Yes, my thinking is along the same lines. We did the same for the Python SDK: https://github.com/dagger/dagger/pull/3743/files
Will catch this in the next refactoring. Thanks!
publishto SDK interfacemage sdk:python:publish sdk/python/v0.1.0sdk:go:publishand updated CI/cc @gerhard @helderco @dolanor @sipsma