-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UHF-8284: Platform V3 updates #319
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… modules so they can be uninstalled.
…ion, start adding decision styles back in.
juho-lehmonen
force-pushed
the
UHF-8284-platform-v3-updates
branch
from
October 24, 2023 11:52
d0e06d8
to
45a5eef
Compare
hyrsky
requested changes
Oct 30, 2023
2 tasks
hyrsky
requested changes
Nov 1, 2023
hyrsky
requested changes
Nov 1, 2023
hyrsky
requested changes
Nov 1, 2023
hyrsky
reviewed
Nov 1, 2023
hyrsky
approved these changes
Nov 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UHF-8284
What was done
Updates all shared modules, project base and project tools to use Platform V3.
How to install
develop
(make sure it's up-to-date) and install content to test with:git checkout develop
make new
drush en paatokset_test_content -y;drush pmu paatokset_test_content -y
drush migrate-import ahjo_decisionmakers:all;drush migrate-import ahjo_decisionmakers:all_sv
drush migrate-import ahjo_trustees:all;drush migrate-import ahjo_trustees:all_sv
drush migrate-import ahjo_meetings:latest;drush migrate-import ahjo_decisions:latest
drush migrate-import paatokset_meeting_videos --update
drush migrate-import tpr_unit --limit=100;drush migrate-import tpr_service --limit=100
drush ap:gm -v;drush ap:ud -v
drush queue:run ahjo_api_retry_queue -v
drush ap:ud --logic=case -v;drush ap:ud --logic=meeting -v;
drush sapi-i;drush sapi-rt
make drush-create-dump
Install Platform V3 upgrades:
git checkout UHF-8284-platform-v3-updates
unable to unlink old ...
errors on theme assets or setting.php files, you might need to run some variation of:chmod ug+w public/sites/default
orchown
,chgrp
commands on them.composer install
and thenmake shell
drush cr
,drush helfi:platform-config:update-database
and re-import configurationdrush cim -y
field_hero_design
orfield_dm_org_above
, run:drush config-delete field.storage.paragraph.field_hero_design;drush config-delete field.storage.node.field_dm_org_above;drush cr;drush cim -y;drush config-delete field.storage.paragraph.field_banner_design -y
drush cr
anddrush cim -y
drush cex
(answer no to actually modifying the files), you'll see some configs are still left unimported. Go to https://helsinki-paatokset.docker.so/fi/admin/config/development/configuration/ignore and only leave these two lines:drush cim -y
again. Now https://helsinki-paatokset.docker.so/fi/admin/config/development/configuration/ignore should show the previous state it was in anddrush cex
should no longer show unexported configurations.How to test
drush updb -y
. The updates should go through properly. Rundrush cim -y
and thendrush cex -y
. There shouldn't be any unexported configs.drush migrate:import datapumppu_statements -v --no-progress