-
Notifications
You must be signed in to change notification settings - Fork 140
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
Compatibilty with running the Debian Salsa CI locally #1473
Comments
I'll give it a go, one of these days 😄 Maybe there is a bug somewhere. |
What does you |
@ottok Also add a link to a gitlab.com repository, where we can see your work in action. |
The steps above have all info. Open with browser
https://salsa.debian.org/debian/entr to browse pipelines in action.
…On Fri., Jan. 31, 2025, 11:49 Mads Jon Nielsen, ***@***.***> wrote:
@ottok <https://github.com/ottok> Also add a link to a gitlab.com
repository, where we can see your work in action.
It makes it a lot easier to debug
—
Reply to this email directly, view it on GitHub
<#1473 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFDINDAYZBIOWLHSIZPHOT2NNIMPAVCNFSM6AAAAABVRVOBGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRWHEYTCMBSGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The pipeline file is debian/salsa-ci.yml
…On Fri., Jan. 31, 2025, 12:39 Otto Kekäläinen, ***@***.***> wrote:
The steps above have all info. Open with browser
https://salsa.debian.org/debian/entr to browse pipelines in action.
On Fri., Jan. 31, 2025, 11:49 Mads Jon Nielsen, ***@***.***>
wrote:
> @ottok <https://github.com/ottok> Also add a link to a gitlab.com
> repository, where we can see your work in action.
> It makes it a lot easier to debug
>
> —
> Reply to this email directly, view it on GitHub
> <#1473 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAFDINDAYZBIOWLHSIZPHOT2NNIMPAVCNFSM6AAAAABVRVOBGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRWHEYTCMBSGU>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
regarding ^, https://salsa.debian.org/salsa-ci-team/pipeline/-/blob/master/salsa-ci.yml?ref_type=heads#L433 ps: currently |
Thanks for spotting that, I filed now MR to fix it: https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/577 I also tested that the build indeed proceeds past this point now. Next thing it fails on this:
Because of..
..I also tried defining if manually:
I have at least one patch in Docker and I am a fairly experienced open source contributor. I might be able to debug this myself if you give some pointers on what the architecture/process here is, as I am unable to figure it our just by skimming your docs/code. Thanks for maintaining gitlab-ci-local! |
gitlab-ci-local --file debian/salsa-ci.yml --variable RELEASE=unstable --variable CI_BUILDS_DIR=/builds "build source" can you try to use |
hmm, not too sure, about this, but probably trying to build from source should be a good starting point? npm ci # install dependency
npm run dev # should run gitlab-ci-local with hot re-loading enabled
npm run test # for the regression test |
Thanks, indeed, with
|
Another example:
Once https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/577 is merged any typical Once #1489 is merged I assume there will be no more need to pass |
Next thing I am trying to debug is why it only runs the 'provisioning' and 'build' stages, but not the 'test' stage. Compare the above jobs completed to full pipeline at https://salsa.debian.org/debian/trend/-/pipelines/817877 |
yeah, lets revisit it, we've just merged a couple of fixes |
This is halfway between a bug report and a feature request. Since the latest update to https://salsa.debian.org/salsa-ci-team/pipeline#running-the-pipeline-locally this gitlab-ci-local is now advertised as a potential tool for running the Salsa CI pipeline locally. Salsa CI is Debian's custom GitLab CI pipeline for testing Debian packaging git repositories before uploading Debian source packages to Debian archives.
I am however not able to fully run the pipeline locally, as the
RELEASE
variable does not propagate properly.Steps to reproduce on a Debian/Ubuntu host:
The first job
extract-sources
passes correctly, but the second jobbuild
fails on:This error is from Podman/Docker as the image is missing the tag. I can get past this by defining the
RELEASE
manually:However, this command will complain about
/builds
and/gcl-builds
not existing and fail:With the steps above to repeat this, could you please advice if you have any tips to make Salsa CI more compatible with gitlab-ci-local?
Or is there something in gitlab-ci-local that could be improved to be able to run Salsa CI as-is?
Thanks for maintaining this tool!
The text was updated successfully, but these errors were encountered: