-
Notifications
You must be signed in to change notification settings - Fork 111
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitlab-ci-local sometimes update original sources file when artifacts requested #1034
Comments
This must be a bug. gitlab-ci-local is not supposed to change project specific file permissions. |
I don't know if it matters, my docker is rootless. |
I have a similar problem with the artifact from a docker build. Doing Tried to use |
Because #NoArtifactsToSource decorator is missing the Can you try to simplify your example, so it's easier for me to reproduce? |
OK, thanks , so it's a kind of RTFM bug ;) , I haven't seen https://github.com/firecow/gitlab-ci-local#the-noartifactstosource-decorator On the other side Docker executor copies artifacts to and from .gitlab-ci-local/artifacts . Your exemple it's a docker executor so artefacts shouldn't have been written in .gitlab-ci-locals/artifacts_ ? |
In the very beginning So artifacts to source is a ghost from the past, that will be opt-in in the next 5.x.x release It will be written to both locations. |
opt-in in the next 5.x.x release is perfect, thank you Until then we can use an alias |
I use marmail-cli in my CI.
When using gitlab-ci-local 馃憤
Minimal .gitlab-ci.yml illustrating the issue
Expected behavior
updated artifacts in .gitlab-ci-local not in original sources
Host information
Ubuntu
gitlab-ci-local 4.45.1
Containerd binary
Docker
Additional context
Sample project https://github.com/airone-x1/gcl-mermaidcli
After running gitlab-ci-local
docs/ source directory become mod 777
docs/ contains mermaid-cli output (svg, transformed md).
If i remove artifact statement my sources are not updated.
I expect gitlab-ci-local writing only in its own .gitlab-ci-local directory, not in my project files.
The text was updated successfully, but these errors were encountered: