Skip to content

Commit

Permalink
TASK: Adjust to importer change site:importall
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Nov 19, 2024
1 parent 42b0cf3 commit e6f4a70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions Tests/IntegrationTests/e2e-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,10 @@ dc exec -T php bash <<-'BASH'
./flow user:create --username=editor --password=editor --first-name=Editor --last-name=McEditworth --roles=Editor || true
./flow cr:setup --content-repository onedimension
./flow cr:import --content-repository onedimension --path ./DistributionPackages/Neos.Test.OneDimension/Resources/Private/Content
# TODO: Fix when part of importer: Connect to a Neos site, todo the nodeTypeName parameter is obsolete but necessary
./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.HomePage
./flow domain:add neos-test-onedimension onedimension.localhost --port 8081
./flow site:importall --content-repository onedimension --path ./DistributionPackages/Neos.Test.OneDimension/Resources/Private/Content
./flow cr:setup --content-repository twodimensions
./flow cr:import --content-repository twodimensions --path ./DistributionPackages/Neos.Test.TwoDimensions/Resources/Private/Content
# TODO: Fix when part of importer: Connect to a Neos site, todo the nodeTypeName parameter is obsolete but necessary
./flow site:create neos-test-twodimensions Neos.Test.TwoDimensions Neos.TestNodeTypes:Document.HomePage
./flow domain:add neos-test-twodimensions twodimensions.localhost --port 8081
./flow site:importall --content-repository twodimensions --path ./DistributionPackages/Neos.Test.TwoDimensions/Resources/Private/Content
./flow resource:publish
BASH
Expand Down
10 changes: 2 additions & 8 deletions Tests/IntegrationTests/start-neos-dev-instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,15 @@ dc exec -T php bash <<-BASH
rm -rf ./TestDistribution/DistributionPackages/Neos.TestSite
ln -s "../../Fixtures/1Dimension/SitePackage" ./TestDistribution/DistributionPackages/Neos.TestSite
# TODO: optimize this
cd TestDistribution
composer reinstall neos/test-site
./flow flow:cache:flush --force
./flow flow:cache:warmup
./flow configuration:show --path Neos.ContentRepository.contentDimensions
if ./flow site:list | grep -q 'Node name'; then
./flow site:prune '*'
fi
./flow cr:setup
./flow cr:setup --content-repository onedimension
./flow cr:setup --content-repository twodimensions
./flow cr:import --content-repository onedimension Packages/Sites/Neos.Test.OneDimension/Resources/Private/Content
./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.HomePage
./flow site:pruneAll --content-repository onedimension --force --verbose
./flow site:importAll --content-repository onedimension --package-key Neos.Test.OneDimension --verbose
./flow resource:publish
BASH

Expand Down

0 comments on commit e6f4a70

Please sign in to comment.