What are the Slack Archives?
Itโs a history of our time together in the Slack Community! Thereโs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonโt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Has anyone used `act` successfully to run the github actions flow locally? I get the following error
Has anyone used act
successfully to run the github actions flow locally? I get the following error
$ act -j php-74-postgres-functional-debian ..... [CI/PHP 7.4 / PostgreSQL / Functional / Debian] ๐ณ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/3] user= workdir= | Cloning into './docker'... | remote: Enumerating objects: 9963, done. | Checking requirements... 0s [OK] | Checking docker version... 0s [OK] | Checking docker-compose version... 0s [OK] | | โโโโโโฎ โโโ โญโโโโโฌโโโโโฎโโฌโโ | โ โฎ โโโโโฌโโโโค โโโฌโโโโฌโโฌโโ โ โโโโค โฎ โ โโโ | โ โฏ โ โผ โ โโโคโโโโค โผโโค โโโฏ โโโโ โ โฏ โ โโโ | โโโโโโดโโโโดโโโโดโโดโโดโโโโดโโ โโโโโโดโโโโโดโโดโโ | | | Checking requirements... 0s [OK] | Checking docker version... 0s [OK] | Checking docker-compose version... 0s [OK] | | Using deploy.ci.functional.yml | Building generator... 3s [DONE] | Copiyng assets... 0s [DONE] | | Running generator | PHP Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: File "/data/deployment/project.yml" does not exist. in /data/vendor/symfony/yaml/Parser.php:54 | Stack trace: | #0 /data/deploy-file-generator/src/Processor/Executor/PreExecutors/PrepareDeployFileTransferExecutor.php(45): Symfony\Component\Yaml\Parser->parseFile('/data/deploymen...') | #1 /data/deploy-file-generator/src/Processor/DeployFileProcessor.php(90): DeployFileGenerator\Processor\Executor\PreExecutors\PrepareDeployFileTransferExecutor->execute(Object(DeployFileGenerator\Transfer\DeployFileTransfer)) | #2 /data/deploy-file-generator/src/Processor/DeployFileProcessor.php(38): DeployFileGenerator\Processor\DeployFileProcessor->execute(Array, Object(DeployFileGenerator\Transfer\DeployFileTransfer)) | #3 /data/index.php(1342): DeployFileGenerator\Processor\DeployFileProcessor->process(Object(DeployFileGenerator\Transfer\DeployFileTransfer)) | #4 /data/index.php(17): buildProjectYaml('/data/deploymen...') | #5 {main} | thrown in /data/vendor/symfony/yaml/Parser.php on line 54
Comments
-
No not yet, but I'm working on it too.
0 -
tried to debug it for a sec, something in the base image is different is my guess
0 -
Answering myself to run it locally do not have the docker sdk pre-pulled in your repo and e.g.
act --bind --directory .
0 -
Hi @U03T08LE3CP We also face a similar issue right now. We just follow the description on https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installation-guides/installing-in-demo-mode-on-windows.html#inst[โฆ]ndows to get the demo mode working on Windows. But when executing docker/sdk bootstrap we only see this:
$ docker/sdk bootstrap โโโโโโฎ โโโ โญโโโโโฌโโโโโฎโโฌโโ โ โฎ โโโโโฌโโโโค โโโฌโโโโฌโโฌโโ โ โโโโค โฎ โ โโโ โ โฏ โ โผ โ โโโคโโโโค โผโโค โโโฏ โโโโ โ โฏ โ โโโ โโโโโโดโโโโดโโโโดโโดโโดโโโโดโโ โโโโโโดโโโโโดโโดโโ Using ./deploy.yml Running generator PHP Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: File "/data/deployment/project.yml" does not exist. in /data/vendor/symfony/yaml/Parser.php:54 Stack trace: #0 /data/deploy-file-generator/src/Processor/Executor/PreExecutors/PrepareDeployFileTransferExecutor.php(45): Symfony\Component\Yaml\Parser->parseFile('/data/deploymen...') #1 /data/deploy-file-generator/src/Processor/DeployFileProcessor.php(90): DeployFileGenerator\Processor\Executor\PreExecutors\PrepareDeployFileTransferExecutor->execute(Object(DeployFileGenerator\Transfer\DeployFileTransfer)) #2 /data/deploy-file-generator/src/Processor/DeployFileProcessor.php(38): DeployFileGenerator\Processor\DeployFileProcessor->execute(Array, Object(DeployFileGenerator\Transfer\DeployFileTransfer)) #3 /data/index.php(1342): DeployFileGenerator\Processor\DeployFileProcessor->process(Object(DeployFileGenerator\Transfer\DeployFileTransfer)) #4 /data/index.php(17): buildProjectYaml('/data/deploymen...') #5 {main} thrown in /data/vendor/symfony/yaml/Parser.php on line 54
Your issue looks similar, have you solved it?
0 -
Yeah with that directory parameter, see above
0 -
Act has some issue that volume mounts dont work same way
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K ๐ Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random