Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp_custom_attributes
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
simplesamlphp_custom_attributes
Merge requests
!5
Adding tugboat
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Adding tugboat
issue/simplesamlphp_custom_attributes-3509708:3509708-tugboat
into
2.0.x
Overview
0
Commits
6
Pipelines
7
Changes
3
Merged
Daniel Mundra
requested to merge
issue/simplesamlphp_custom_attributes-3509708:3509708-tugboat
into
2.0.x
1 month ago
Overview
0
Commits
6
Pipelines
7
Changes
3
Expand
Closes
#3509708
0
0
Merge request reports
Compare
2.0.x
version 6
dbd120c4
1 month ago
version 5
06a9ca12
1 month ago
version 4
06a9ca12
1 month ago
version 3
641be866
1 month ago
version 2
da49d670
1 month ago
version 1
8c75c790
1 month ago
2.0.x (base)
and
latest version
latest version
1965ee0c
6 commits,
1 month ago
version 6
dbd120c4
5 commits,
1 month ago
version 5
06a9ca12
4 commits,
1 month ago
version 4
06a9ca12
4 commits,
1 month ago
version 3
641be866
3 commits,
1 month ago
version 2
da49d670
2 commits,
1 month ago
version 1
8c75c790
1 commit,
1 month ago
3 files
+
54
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
.tugboat/config.yml
0 → 100644
+
48
−
0
Options
services
:
php
:
# Specify the version of Drupal you wish to use for Tugboat below.
image
:
tugboatqa/drupal:10
default
:
true
http
:
false
depends
:
mysql
commands
:
update
:
|
set -eux
# This is an environment variable we added in the Dockerfile that
# provides the path to Drupal composer root (not the web root).
cd $DRUPAL_COMPOSER_ROOT
# We need to change the minimum stability to dev to use the path
composer config minimum-stability dev
# We configure the Drupal project to use the checkout of the module as a
# Composer package repository.
composer config repositories.tugboat path $TUGBOAT_ROOT
# Now we can require this module
composer config --no-plugins allow-plugins.simplesamlphp/composer-module-installer true
composer config --no-plugins allow-plugins.simplesamlphp/composer-xmlprovider-installer true
composer require drupal/simplesamlphp_custom_attributes
# Install Drupal on the site.
vendor/bin/drush \
--yes \
--db-url=mysql://tugboat:tugboat@mysql:3306/tugboat \
--site-name="Live preview for ${TUGBOAT_PREVIEW_NAME}" \
--account-pass=admin \
site:install standard
# Add tugboat URLs to the Drupal trusted host patterns.
echo "\$settings['trusted_host_patterns'] = ['\.tugboatqa\.com\$'];" >> $DOCROOT/sites/default/settings.php
# Set up the files directory permissions.
mkdir -p $DRUPAL_DOCROOT/sites/default/files
chgrp -R www-data $DRUPAL_DOCROOT/sites/default/files
chmod 2775 $DRUPAL_DOCROOT/sites/default/files
chmod -R g+w $DRUPAL_DOCROOT/sites/default/files
# Enable the module.
vendor/bin/drush --yes pm:enable simplesamlphp_custom_attributes
build
:
|
set -eux
cd $DRUPAL_COMPOSER_ROOT
composer install --optimize-autoloader
# Update this module, including all dependencies.
composer update drupal/simplesamlphp_custom_attributes --with-all-dependencies
vendor/bin/drush --yes updb
vendor/bin/drush cache:rebuild
mysql
:
image
:
tugboatqa/mariadb
\ No newline at end of file
Loading