Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Handle google-cloud restructure for auto_prepend_file path #425

Merged
merged 9 commits into from
Mar 27, 2018

Conversation

chingor13
Copy link
Member

@chingor13 chingor13 commented Mar 26, 2018

Fixes #427

echo Bootstrap::prependFileLocation() . PHP_EOL;
} else {
// default to same directory as the Bootstrap.php
echo dirname(Bootstrap::getFileName()) . DIRECTORY_SEPARATOR . 'bootstrap.php' . PHP_EOL;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use realpath to make it an absolute path?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, will do.

@chingor13 chingor13 changed the title WIP: Handle google-cloud restructure for auto_prepend_file path Handle google-cloud restructure for auto_prepend_file path Mar 27, 2018
echo Bootstrap::prependFileLocation() . PHP_EOL;
} else {
// default to same directory as the Bootstrap.php
echo realpath(dirname($reflection->getFileName()) . '/bootstrap.php') . PHP_EOL;
Copy link
Contributor

Choose a reason for hiding this comment

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

'/prepend.php'?

Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops, yes. We really need to test this.

@chingor13
Copy link
Member Author

@tmatsuo Build is fixed. PTAL

@chingor13 chingor13 merged commit bef3e17 into master Mar 27, 2018
@chingor13 chingor13 deleted the google-cloud-restructure branch March 27, 2018 21:23
frost-byte pushed a commit to Wiser-Owl/php-docker that referenced this pull request May 9, 2021
…udPlatform#425)

* Add script to locate the stackdriver prepend file

* Remove unused constant

* Use realpath

* Fix prepend.php filename

* Run integration test of build pipeline with enable_stackdriver_integration: true

* Rename test directory for deployment host name length

* Fix test directory in yaml config

* shorten deploy tag for stackdriver deployment test

* Set the google/cloud version for the build pipeline with stackdriver test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants