Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Scaffold changes/updates #38

@bomoko

Description

@bomoko

This is a list of work items that are needed on the scaffold in order to get it fully functional

Scaffolding steps (for github actions)

  • Potentially remove composer.lock (we should test performance on this)
  • Deidentify project - that is, remove project name from various file
  • templatize files

In docker-compose.yml

  • Currently we assume that when working locally we want to volume mount their ./ into /app
    -- Do we want to ask them whether this is required?
    ---- Q: "For local development we can mount this host directory onto the container ..."
    ---- Action: Write some documentation about dev mode in the drupal example (i.e. how file mapping works) and link it as help in this question.
    ----- We want to tell them both in the documentation and the post-message (if in "dev mode") that they need to run composer install in order to run their app.

  • further with this line "- files:/app/web/sites/default/files", we might want the user to ACTUALLY be able to mount their local files rather than a docker volume
    -- Check with Brandon to see what he thinks.

Scaffolding - post-questions

  • if any composer steps are required either run or display what's required for the user to do.

General app.setting.php work

Split out service configuration into various files (eg redis.settings.php contains all the redis stuff)
use scaffold to include/exclude these files.

.env

  • convert to a template
  • Set the project name the same way we do with the lagoon.yml, etc.

Redis and Solr

  • add redis service to docker-compose
  • add redis to composer (if required)
  • if not required, remove the references to redis in composer.json (eg file mappings)
  • for solr - remove dockerfile

Lagoon.yml

Similar questions as the example.site.yml except we want to target the token ssh service, so not necessarily the same endpoint

Assets/example.site.yml

  • user needs to set the ssh host, port
    --- Question: "If you're not hosting on amazee.io cloud, do you want to set your own ssh api settings for your cluster?"
    --- TODO: add some documentation we can link to in these questions.

Additional services

  • Add opensearch (so we can remove it if they don't need it)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions