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

Fixing build errors in BLT CI. #1021

Merged
merged 1 commit into from
Jan 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ script:
# Update blt symlink prior to deploy.
- composer config repositories.blt.url '"../../blt"'
- rm composer.lock
# Define BLT's deployment endpoints.
- yaml-cli update:value blt/project.yml git.remotes.0 [email protected]:bolt8.git
- yaml-cli update:value blt/project.yml git.remotes.1 https://github.com/acquia-pso/blted8.git
# Deploy build artifact.
- blt deploy:build
# Switch back to 'blt' directory.
Expand Down
4 changes: 0 additions & 4 deletions phing/tasks/blt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
<exec dir="${repo.root}" command="result=${PWD##*/}; printf '%s\n' &quot;${PWD##*/}&quot;" logoutput="false" checkreturn="true" level="${blt.exec_level}" passthru="false" outputProperty="dirname"/>
<exec dir="${repo.root}" command="${composer.bin}/yaml-cli update:value ${blt.config-files.project} project.machine_name '${dirname}'" logoutput="true" checkreturn="false" level="${blt.exec_level}" passthru="true"/>

<!-- Remove default git remote -->
<exec dir="${repo.root}" command="${composer.bin}/yaml-cli update:value ${blt.config-files.project} git.remotes.0 ''" logoutput="true" checkreturn="false" level="${blt.exec_level}" passthru="true"/>
<exec dir="${repo.root}" command="${composer.bin}/yaml-cli unset:key ${blt.config-files.project} git.remotes.1" logoutput="true" checkreturn="false" level="${blt.exec_level}" passthru="true"/>

<echo>Installing new Composer dependencies provided by BLT. This make take a while...</echo>
<exec dir="${repo.root}" command="composer update --no-interaction" logoutput="true" checkreturn="true" level="${blt.exec_level}" passthru="true"/>
<copy file="${repo.root}/docroot/profiles/contrib/lightning/lightning.extend.yml" tofile="${repo.root}/docroot/sites/default/lightning.extend.yml"/>
Expand Down
5 changes: 1 addition & 4 deletions template/blt/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ project:
# Configuration settings for new git repository.
git:
default_branch: master
remotes:
# Defining git remotes allows builds deployed via CI.
- [email protected]:bolt8.git
- https://github.com/acquia-pso/blted8.git
remotes: []

drush:
# You can set custom project aliases in drush/site-aliases/aliases.drushrc.php.
Expand Down