Skip to content

Conversation

@PaulNeumann
Copy link
Contributor

For the 9 single-instance database projects, switch from optionally using the vagrant-env plugin for configuration to optionally using YAML. The vagrant-env plugin is no longer maintained, and doesn't work correctly with Vagrant 2.4.3+ without modifying the dotenv gem. See #551.

The changes are the same for each project.

.env/config.yaml:

  • rename .env to config.yaml and convert to YAML
  • remove comment referring to the vagrant-env plugin
  • update comment referring to .env/.env.local to refer to config.yaml/config.local.yaml

.gitignore:

  • remove .env.local* and add config.local*.yaml

README.md:

  • remove references to the vagrant-env plugin
  • replace references to .env/.env.local with references to config.yaml/config.local.yaml

Vagrantfile:

  • remove references to the vagrant-env plugin
  • add require 'yaml'
  • replace the code that loads environment variables from .env files with code that loads environment variables from .yaml files

Tested with both VirtualBox and libvirt providers.

Signed-off-by: Paul Neumann 38871902+PaulNeumann@users.noreply.github.com

For the 9 single-instance database projects, switch from optionally
using the vagrant-env plugin for configuration to optionally using YAML.
The vagrant-env plugin is no longer maintained, and doesn't work
correctly with Vagrant 2.4.3+ without modifying the dotenv gem.
See oracle#551.

The changes are the same for each project.

.env/config.yaml:

- rename .env to config.yaml and convert to YAML
- remove comment referring to the vagrant-env plugin
- update comment referring to .env/.env.local to refer to
  config.yaml/config.local.yaml

.gitignore:

- remove .env.local* and add config.local*.yaml

README.md:

- remove references to the vagrant-env plugin
- replace references to .env/.env.local with references to
  config.yaml/config.local.yaml

Vagrantfile:

- remove references to the vagrant-env plugin
- add "require 'yaml'"
- replace the code that loads environment variables from .env files
  with code that loads environment variables from .yaml files

Tested with both VirtualBox and libvirt providers.

Signed-off-by: Paul Neumann <38871902+PaulNeumann@users.noreply.github.com>
@PaulNeumann PaulNeumann requested a review from gvenzl as a code owner September 4, 2025 00:03
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 4, 2025
@gvenzl
Copy link
Member

gvenzl commented Sep 4, 2025

Thanks a lot for your contributions, @PaulNeumann! :)

@gvenzl gvenzl merged commit 5dea568 into oracle:main Sep 4, 2025
2 checks passed
@PaulNeumann PaulNeumann deleted the 551-db_projects_yaml_config branch September 4, 2025 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants