Skip to content

Commit

Permalink
TASK: Symlink composer.json in docker e2e setup (rather than cp)
Browse files Browse the repository at this point in the history
  • Loading branch information
grebaldi committed Jul 28, 2023
1 parent 0a858bb commit 3f2f886
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Tests/IntegrationTests/e2e-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ dc exec -T php bash <<-'BASH'
# WHY: change owner for composer cache for docker execution
sudo chown -R docker:docker /home/circleci/
BASH
docker cp $(pwd)/Tests/IntegrationTests/TestDistribution/composer.json $(dc ps -q php):/usr/src/app/composer.json
#echo docker cp $(pwd)/Tests/IntegrationTests/TestDistribution/composer.json $(dc ps -q php):/usr/src/app/composer.json
#docker cp $(pwd)/Tests/IntegrationTests/TestDistribution/composer.json $(dc ps -q php):/usr/src/app/composer.json

sleep 2

echo ""
Expand All @@ -33,6 +35,7 @@ dc exec -T php bash <<-'BASH'
mkdir -p Configuration
sudo chown -R docker:docker .
ln -sf /usr/src/neos-ui/Tests/IntegrationTests/TestDistribution/composer.json /usr/src/app/Configuration/composer.json
ln -sf /usr/src/neos-ui/Tests/IntegrationTests/TestDistribution/Configuration/Settings.yaml /usr/src/app/Configuration/Settings.yaml
ln -sfn /usr/src/neos-ui/Tests/IntegrationTests/TestDistribution/DistributionPackages /usr/src/app/DistributionPackages
Expand Down

0 comments on commit 3f2f886

Please sign in to comment.