Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Make sure to set the db password #54

Closed

Conversation

rfay
Copy link
Contributor

@rfay rfay commented Aug 25, 2023

Description

Current deploy setup doesn't set the db password. This causes failure in a (non-platformsh, DDEV) environment where there actually is a password.

Related Issue

Motivation and Context

DDEV wants to be able to install using this template.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

Go over all the following list, and put an x in all the boxes that apply. If you're unsure about what any of these mean, don't hesitate to ask. We're here to help!

  • I have read the contribution guide
  • I have created an issue following the issue guide
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@gilzow gilzow assigned gilzow and unassigned gilzow Aug 25, 2023
@gilzow
Copy link
Contributor

gilzow commented Aug 25, 2023

cc @tylers-username See PR

@rfay
Copy link
Contributor Author

rfay commented Aug 25, 2023

Pushed this to https://console.platform.sh/rfay/za2egyolyw3m6 and it works fine.

@tylers-username
Copy link
Contributor

@rfay I believe this is good to go. Older versions of Magento required --db-password, when provided, to have a value—it could not be an empty string.

As long as the $database['password'] is defined and is a string, empty string, or null, I believe this code will be fine.

@rfay
Copy link
Contributor Author

rfay commented Aug 28, 2023

Thanks!

@rfay rfay force-pushed the 20230825_set_db_password branch from 4540cfd to 83ea4f4 Compare August 28, 2023 13:46
@gilzow gilzow marked this pull request as draft August 29, 2023 12:11
@gilzow
Copy link
Contributor

gilzow commented Aug 29, 2023

Moving this to draft for now as it will require additional changes to get it to work properly.

@rfay
Copy link
Contributor Author

rfay commented Aug 29, 2023

To capture slack conversation,

Paul and I discovered that the template hadn't actually been updated from March-August as far as what's delivered to a console template build.

@rfay rfay force-pushed the 20230825_set_db_password branch from 15a25a7 to 4e26fda Compare September 1, 2023 20:48
@rfay rfay marked this pull request as ready for review September 1, 2023 20:48
@rfay
Copy link
Contributor Author

rfay commented Sep 1, 2023

Moved back to ready for review, hope you can take a look @gilzow - thanks!

@gilzow
Copy link
Contributor

gilzow commented Feb 12, 2025

closing as this template is now archived

@gilzow gilzow closed this Feb 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants