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

BLT-5194: Scaffold file assets/scaffold/files/drupal.INSTALL.txt not found in package drupal/core. #4641

Open
sharique opened this issue Dec 19, 2022 · 2 comments
Labels
Support A support request

Comments

@sharique
Copy link

sharique commented Dec 19, 2022

I want to... use blt artifacts as upstream on pantheon.

** Steps **

  • Create a drupal project as per pantheon recommended upstream.
  • Add and configure blt.
  • Configure a git repo that will host the blt deploy artifacts.
  • Use this repo as upstream in pantheon and create a site.
  • In site creation process, it throws error during composer install step Scaffold file assets/scaffold/files/drupal.INSTALL.txt not found in package drupal/core.

It's not working because...
during site creation getting following error
Scaffold file assets/scaffold/files/drupal.INSTALL.txt not found in package drupal/core.

BLT doctor output
Post the full output of blt doctor in the failing environment here.

System information

  • Operating system type: Linux/Pantheon
  • BLT version: 13.7

blt.yml

project:
  machine_name: base-framework
  prefix: XZY
  human_name: 'Base framework '
  profile:
    name: my_base
docroot: ${repo. Root}/web
validate:
  acsf: false
  deprecation:
    modules: true
    theme: true
git:
  default_branch: master
  remotes:
    bitbucket: <mybibucket build repo>
cm:
  strategy: none
deploy:
  docroot: ${deploy.dir}/web
  exclude_file: ${repo.root}/blt/deploy-exclude.txt

deploy-exclude.txt file is copy from vendor directory, only change is web in place of docroot

@sharique sharique added the Support A support request label Dec 19, 2022
@github-actions github-actions bot changed the title Scaffold file assets/scaffold/files/drupal.INSTALL.txt not found in package drupal/core. BLT-5194: Scaffold file assets/scaffold/files/drupal.INSTALL.txt not found in package drupal/core. Dec 19, 2022
@sharique
Copy link
Author

I'm tried with adding following in scaffold section of composer.json, but no impact.

  "file-mapping": {
    "[project-root]/.editorconfig": false,
    "[project-root]/pantheon.upstream.yml": false,
    "[project-root]/.gitattributes": false,
    "[web-root]/INSTALL.txt": false
  }

@fabrer
Copy link

fabrer commented Apr 24, 2024

If it could help someone. In your pantheon.yml file, add the following line:

build_step: false

Regards,

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

No branches or pull requests

2 participants