Skip to content

Commit

Permalink
Merge pull request #19 from sitewards/ADHOC-modernize-a-bit
Browse files Browse the repository at this point in the history
Adhoc modernize a bit
  • Loading branch information
aboritskiy authored Aug 20, 2021
2 parents a1586d3 + 18cd790 commit d0951eb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 30 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ It installs a version of Magento two from an S3 bucket in a minimal

## Limitations

- It does not currently clean up old releases. This makes each release slower, due to a recursive chown
- It is not hugely portable. It was open sourced as part of an effort to make it so
- It requires infrastructure tailored in a particular format, which is currently undocumented.

Expand Down
47 changes: 18 additions & 29 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ magento_session_save: "files"
## (Required)
magento_x_frame_options: "SAMEORIGIN"

# magento_cache_frontend_page_cache_backend: "Cm_Cache_Backend_Redis"
# magento_cache_frontend_page_cache_backend: "\\Magento\\Framework\\Cache\\Backend\\Redis"

## (Required if magento_cache_frontend_page_cache_backend is used)
# magento_cache_frontend_page_cache_backend_options:
Expand Down Expand Up @@ -260,34 +260,23 @@ magento_x_frame_options: "SAMEORIGIN"
## See http://devdocs.magento.com/guides/v2.1/config-guide/config/config-php.html
## (Optional)
magento_cache_types:
- name: "config"
enabled: 1
- name: "layout"
enabled: 1
- name: "block_html"
enabled: 1
- name: "collections"
enabled: 1
- name: "reflection"
enabled: 1
- name: "db_ddl"
enabled: 1
- name: "eav"
enabled: 1
- name: "full_page"
enabled: 1
- name: "config_integration"
enabled: 1
- name: "config_integration_api"
enabled: 1
- name: "target_rule"
enabled: 1
- name: "translate"
enabled: 1
- name: "config_webservice"
enabled: 1

## During the upgrade of Magneto, there are certain commands that must be run to ensure the database is up to date
- {name: "config", enabled: 1}
- {name: "layout", enabled: 1}
- {name: "block_html", enabled: 1}
- {name: "collections", enabled: 1}
- {name: "reflection", enabled: 1}
- {name: "db_ddl", enabled: 1}
- {name: "compiled_config", enabled: 1}
- {name: "eav", enabled: 1}
- {name: "customer_notification", enabled: 1}
- {name: "full_page", enabled: 1}
- {name: "config_integration", enabled: 1}
- {name: "config_integration_api", enabled: 1}
- {name: "target_rule", enabled: 1}
- {name: "translate", enabled: 1}
- {name: "config_webservice", enabled: 1}

## During the upgrade of Magento, there are certain commands that must be run to ensure the database is up to date
## and that content is successfully migrated. These commands are run every release, and are expected to be idempotent.
magento_upgrade_commands:
- "setup:upgrade --keep-generated"
Expand Down

0 comments on commit d0951eb

Please sign in to comment.