-
Notifications
You must be signed in to change notification settings - Fork 101
GitLab NPM Scope adds second @ in orchestrator:release #1200
Comments
@dschibster - To fix the error, I have done the following in the in the default section:
I'll be updated the dxatscale-templates soon to reflect this and corresponding documentation.
|
@vuha-acn Thanks for the heads-up but that doesn't do it for me. None of the --scope variables had an "@" to begin with. I did change the line you changed in the before_script, but at the end of it I still found it tried to pack @@salesforce-app/.... |
@vuha-acn Can you make something of that? |
For the time being I was able to fix this by hard-coding the scope in both the before_script (with @ prepended) and in the --scope variables. For our current use case the single scope should be enough but I would appreciate a long-term fix that addresses this. |
Yes, i've only hardcoded the '@' item below and removed any '@' on my NPM_SCOPE in my GitLab pipeline for CI/CD. That is basically the workaround now until we have time to investigate further.
Glad you were able to get a short term work around in place. |
After Realizing that my NPM_SCOPE variable did actually have an @ I didn't ask for, your workaround now also does the trick. So the script adjustment with prepending the @ to the before_script is the only adjustment I needed to make in the end. |
Glad that was the case. The workaround works for me as I've been using GitLab for my pipelines for few projects and that is the current fix until we get a more long term fix in place. I'm working on updating the dxatscale-template just strapped for time recently. |
users may pass in '@' or without '@' as the scope. sfpowerscripts need to handle it in bothways across. A recent update broke this functionality fix #1200
Fixed in Jan 23 |
Describe the bug
After checking at multiple junctures what the issue may be, I have come to the conclusion that the failure in our pipelines could only stem from the duplicate @ that is prepended to the npm_scope, because I could verify that the artifact exists, and at all other places I was not able to find any traces. #1168 already had such a failure, but only publish.ts was fixed as a hotfix. It seems more than publish is affected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Artifacts should be found and released to target Instance
Screenshots
Platform Details (please complete the following information):
Additional context
Probably a follow up issue to #1168 as more than one script uses npm scope in a similar way to
publish
. For me, it happens when running therelease
command.The text was updated successfully, but these errors were encountered: