This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 394
/
Copy pathproject.yml
62 lines (58 loc) · 2.18 KB
/
project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
project:
# This will be used as the vendor name in the new project's composer.json file.
vendor_name: 'acquia'
# Everyone: This will determine the the directory name of the new repository.
# Dev Desktop users: this should match your local site name.
machine_name: 'blted8'
# Used for enforcing correct git commit msg syntax.
prefix: 'BLT'
human_name: 'BLTed 8'
profile:
name: 'lightning'
# Please ensure contrib profiles are also in your composer.json file.
contrib: true
# This is used to build front end artifacts. E.g., SASS compilation.
themes:
- thunder
# These are random strings used to configure the hash salt.
hash_salt: ${project.hash_salt}
# This will be used as the local uri for all developers.
local:
protocol: http
hostname: ${project.machine_name}.localhost
# Configuration settings for new git repository.
git:
default_branch: master
remotes:
# Defining git remotes allows builds deployed via CI.
- [email protected]:bolt8.git
drush:
# You can set custom project aliases in drush/site-aliases/aliases.drushrc.php.
aliases:
# The remote environment from which the database will be pulled.
remote: ${project.machine_name}.test
# The local environment against which all local drush commands are run.
local: self
# The drush alias against which all ci commands are run.
ci: self
# The default drush alias to be used when no environment is specified.
default_alias: ${drush.aliases.local}
# Custom tasks that are triggered at pre-defined times in the build process.
# Available keys are setup, frontend.
tasks:
# Executed after setup:build:all is run.
setup:
dir: ${docroot}/profiles/contrib/lighting
command: npm install && bower install
# Executed when front end assets should be generated.
frontend:
dir: ${docroot}/sites/all/themes/contrib/thunder
command: npm run build
# Executed after deployment artifact is created.
deploy:
dir: ${deploy.dir}
command: cd docroot/profiles/contrib/lightning && npm install && bower install
# Hosting environment flags.
# Examples: acsf (Acquia Cloud Site Factory), ac (Acquia Cloud)
# hosting: "acsf"
# hosting: "ac"