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

Update the-build to use headless chrome #212

Merged
merged 3 commits into from
Feb 1, 2023
Merged

Conversation

byrond
Copy link
Contributor

@byrond byrond commented Jan 25, 2023

Copy link
Contributor

@agentrickard agentrickard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we updated install.xml here.

@@ -142,11 +142,15 @@
<!-- The one that's available is the location we're moving from. -->
<available file="${build.dir}/web/core" type="dir" property="drupal.root.old" value="web" />
<available file="${build.dir}/docroot/core" type="dir" property="drupal.root.old" value="docroot" />
<available file="${build.dir}/${drupal.root.old}/sites/default/settings.ddev.php" type="file" property="ddev_settings_exists" value="true" />
<available file="${build.dir}/${drupal.root}/sites/default/settings.ddev.php" type="file" property="ddev_settings_exists" value="true" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@byrond What's up with these unrelated changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@byrond What's up with these unrelated changes?

@agentrickard see description:

Fixes an issue where The Build will not install properly when DDEV is not in use (on CircleCI, for example). The existence of settings.ddev.php is now checked before attempting to copy it. (See targets/install.xml)

This was causing a build failure on palantirnet/drupal-skeleton#141:
https://app.circleci.com/pipelines/github/palantirnet/drupal-skeleton/183/workflows/531485e2-2665-466c-b422-8a9cd5219680/jobs/604

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In hindsight, I could have created a separate PR for that change, but it was blocking this one, so I opted to fix it here.

@byrond byrond requested a review from agentrickard January 31, 2023 22:08
@agentrickard agentrickard merged commit 60c2045 into develop Feb 1, 2023
@agentrickard agentrickard deleted the headless-chrome branch February 1, 2023 15:16
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

Successfully merging this pull request may close these issues.

2 participants