Skip to content
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

Custom drupal directory but silta in root #146

Open
badrange opened this issue Nov 30, 2021 · 2 comments
Open

Custom drupal directory but silta in root #146

badrange opened this issue Nov 30, 2021 · 2 comments

Comments

@badrange
Copy link

badrange commented Nov 30, 2021

In our project we have a lot of services in addition to drupal, so it would be great to place all drupal related files in it's own subdirectory to keep each service isolated.

I tried to move all drupal related files to /drupal, while keeping silta in the root of the project.

This setup is not supported by drupal-validate nor drupal-deploy, they will be looking for silta files in drupal/silta. Is this something you would be interested in changing?

This would also allow brave users to have two drupal instances inside one project (could be interesting for migration projects for example).

@Jancis
Copy link
Member

Jancis commented Jan 6, 2022

A quick workaround could be changing working directory with a custom codebase-build step? I'm just guessing, this might not work -
https://github.com/wunderio/silta-circleci/blob/master/orb/jobs/%40drupal.yml#L146

codebase-build:
  - run:
      command: cd ./subdirectory

@badrange
Copy link
Author

badrange commented Mar 4, 2022

Thanks for this suggestion. I never got around to trying it and now we've removed drupal from that project. I'll leave this issue open in case someone comes by and want to try your workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants