public function digipolisUpdateDrupal8($opts = ['config-import' => false])
    {
        $this->readProperties();
        $collection = $this->collectionBuilder();

        $collection
            ->taskExecStack()
            ->exec('cd -P $(ls -vdr ' . $this->getConfig()->get('digipolis.root.project') .
                '/../* | head -n2 | tail -n1) && vendor/bin/drush sset system.maintenance_mode 1');

        $collection
            ->taskDrushStack('vendor/bin/drush')
            ->drupalRootDirectory($this->getConfig()->get('digipolis.root.web'))
            ->drush('cr')
            ->drush('cc drush')
            ->updateDb();

        if ($opts['config-import']) {
            $uuid = $this->getSiteUuid();
            if ($uuid) {
                $collection->drush('cset system.site uuid ' . $uuid);
            }
            $collection
                ->drush('cr')
                ->drush('cc drush')
                ->drush('cim');

            $collection->taskExecStack()
                ->exec('ENABLED_MODULES=$(vendor/bin/drush -r ' . $this->getConfig()->get('digipolis.root.web') . ' pml --fields=name --status=enabled --type=module --format=list)')
                ->exec($this->varnishCheckCommand());

            $collection->taskDrushStack('vendor/bin/drush')
                ->drupalRootDirectory($this->getConfig()->get('digipolis.root.web'));
        }

        $collection
            ->drush('cr')
            ->drush('cc drush');

        $locale = $this->taskExecStack()
            ->dir($this->getConfig()->get('digipolis.root.project'))
            ->exec($this->checkModuleCommand('locale'))
            ->run()
            ->wasSuccessful();

        $collection->taskDrushStack('vendor/bin/drush')
          ->drupalRootDirectory($this->getConfig()->get('digipolis.root.web'));

        if ($locale) {
            $collection
                ->drush('locale-check')
                ->drush('locale-update');
        }

        $collection
            ->drush('cr')
            ->drush('cc drush')
            ->drush('sset system.maintenance_mode 0');

        return $collection;
    }