You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
BLT provides a very useful tool to automate the process of building and deploying an artifact to Acquia. We currently use blt artifact-deploy with this purpose in our CI pipelines.
The problem is that artifact:deploy uses /tmp/blt-deploy/ to create the artifact, which can lead to problems running the CI pipeline for multiple projects using BLT.
To Reproduce
Steps to reproduce the behavior, ideally starting from a fresh install of BLT:
Run blt artifact-deploy
Check that the repo of the project is checked out to /tmp/blt-deploy/
Run blt artifact-deploy in parallel for a second project
Check that the 2nd run started to delete the files for the 1st project in /tmp/blt-deploy/
Expected behavior
I expect that BLT will be able to use a temporary name as returned by PHP's tempnam() function.
System information
Operating system type: Linux CentOS
Operating system version: 7.9.2009
BLT version: 13.0.1.0
Additional context
We currently use GitLab CI to run the CI pipelines.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Parallel execution of BLT artifact:deploy conflicts due to use of fixed /tmp-blt-deploy/ dir name
DX-5120: Parallel execution of BLT artifact:deploy conflicts due to use of fixed /tmp-blt-deploy/ dir name
May 24, 2022
Describe the bug
BLT provides a very useful tool to automate the process of building and deploying an artifact to Acquia. We currently use
blt artifact-deploy
with this purpose in our CI pipelines.The problem is that artifact:deploy uses /tmp/blt-deploy/ to create the artifact, which can lead to problems running the CI pipeline for multiple projects using BLT.
To Reproduce
Steps to reproduce the behavior, ideally starting from a fresh install of BLT:
blt artifact-deploy
blt artifact-deploy
in parallel for a second projectExpected behavior
I expect that BLT will be able to use a temporary name as returned by PHP's tempnam() function.
System information
Additional context
We currently use GitLab CI to run the CI pipelines.
The text was updated successfully, but these errors were encountered: