This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./scripts/deploy.sh | |
| SUDO password: | |
| PLAY [all] ********************************************************************* | |
| TASK [setup] ******************************************************************* | |
| ok: [162.243.207.46] | |
| TASK [Define config_dir.] ****************************************************** | |
| skipping: [162.243.207.46] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| testbot@drupalci:~$ cd testrunner/ | |
| testbot@drupalci:~/testrunner$ ./drupalci run build.jenkins-drupal_contrib-12490.yml | |
| Executing build with build ID: local_c0829e9556640dd1e30512e593d2288f | |
| Directory created at /var/lib/drupalci/workspace/local_c0829e9556640dd1e30512e593d2288f | |
| Directory created at /var/lib/drupalci/workspace/local_c0829e9556640dd1e30512e593d2288f/artifacts | |
| Directory created at /var/lib/drupalci/workspace/local_c0829e9556640dd1e30512e593d2288f/database | |
| Directory created at /var/lib/drupalci/workspace/local_c0829e9556640dd1e30512e593d2288f/artifacts/xml | |
| Directory created at /var/lib/drupalci/workspace/local_c0829e9556640dd1e30512e593d2288f/ancillary | |
| Using build definition template: build.jenkins-drupal_contrib-12490.yml</options> | |
| ---------------- Starting codebase ---------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build: | |
| codebase: | |
| assemble_codebase: | |
| replicate: | |
| exclude: { } | |
| local_dir: '' | |
| git_branch: '' | |
| git_commit_hash: '' | |
| checkout_core: | |
| repositories: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Drupal\forkdin_core\Plugin\ActionLink; | |
| use Drupal\Core\Cache\CacheableMetadata; | |
| use Drupal\Core\Entity\EntityInterface; | |
| use Drupal\Core\Url; | |
| use Drupal\flag\FlagInterface; | |
| use Drupal\flag\Plugin\ActionLink\AJAXactionLink; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Content-Transfer-Encoding: quoted-printable | |
| Content-Type: text/html; charset=UTF-8; format=flowed; delsp=yes | |
| Date: Tue, 22 Nov 2016 04:18:45 +0000 | |
| From: [email protected] | |
| MIME-Version: 1.0 | |
| Message-ID: <[email protected]> | |
| Received: from [127.0.0.1] by mailhog.example (MailHog) | |
| id [email protected]; Tue, 22 Nov 2016 04:18:45 +0000 | |
| Return-Path: <[email protected]>,<[email protected]> | |
| Sender: [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public function postSave(EntityStorageInterface $storage, $update = TRUE) { | |
| $rating = $this->get('rating')->first()->value; | |
| /** @var \Drupal\forkdin_restaurant\Entity\RestaurantMenuItem $menu_item */ | |
| $menu_item = $this->get('menu_item_id')->entity; | |
| $vote = Vote::create([ | |
| 'type' => 'rating', | |
| 'entity_type' => 'checkin', | |
| 'entity_id' => $menu_item->id(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function address_test_bullshit() { | |
| // Save a list of processed fields so that we can do clean up once the | |
| // original data is migrated. | |
| $processed_fields = []; | |
| $columns_to_add = ['family_name', 'additional_name', 'given_name']; | |
| $field_type_manager = \Drupal::getContainer()->get('plugin.manager.field.field_type'); | |
| $address_definition = $field_type_manager->getDefinition('address'); | |
| /** @var \Drupal\address\Plugin\Field\FieldType\AddressItem $class */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __has_parent_dir () { | |
| # Utility function so we can test for things like .git/.hg without firing | |
| # up a separate process | |
| test -d "$1" && return 0; | |
| current="." | |
| while [ ! "$current" -ef "$current/.." ]; do | |
| if [ -d "$current/$1" ]; then | |
| return 0; | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <component name="ProjectRunConfigurationManager"> | |
| <configuration default="false" name="Drupal Simpletest" type="PhpLocalRunConfigurationType" factoryName="PHP Console" singleton="true" path="$PROJECT_DIR$/www/core/scripts/run-tests.sh" scriptParameters="--url http://localhost:8080 --color --verbose --php /usr/bin/php --sqlite /tmp/.ht.sqlite commerce"> | |
| <CommandLine workingDirectory="$PROJECT_DIR$/www" /> | |
| <option name="workingDirectory" value="$PROJECT_DIR$/www" /> | |
| <method /> | |
| </configuration> | |
| </component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <component name="ProjectRunConfigurationManager"> | |
| <configuration default="false" name="Built-in" type="PhpBuiltInWebServerConfigurationType" factoryName="PHP Built-in Web Server" singleton="true" document_root="$PROJECT_DIR$/www" port="8080"> | |
| <method /> | |
| </configuration> | |
| </component> |