-
Notifications
You must be signed in to change notification settings - Fork 2
/
.probo.yaml
19 lines (19 loc) · 1.04 KB
/
.probo.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: proboci/ubuntu:20.04-php8.1
steps:
- name: Build Arizona Quickstart
plugin: Script
script:
- composer self-update
- if [ $(git ls-remote --heads https://github.com/az-digital/az_quickstart.git $BRANCH_NAME | wc -l) = 1 ]; then PROFILE_BRANCH="$BRANCH_NAME"; else PROFILE_BRANCH=main; fi
- if [ $(git ls-remote --heads https://github.com/az-digital/az-quickstart-dev.git $BRANCH_NAME | wc -l) = 1 ]; then DEV_BRANCH="$BRANCH_NAME"; else DEV_BRANCH=main; fi
- composer require --dev --no-update az-digital/az-quickstart-dev:dev-${DEV_BRANCH}
- composer require --no-update drupal/core-recommended:* az-digital/az_quickstart:dev-${PROFILE_BRANCH}
- composer install -o
- name: Install Arizona Quickstart
plugin: Drupal
drupalVersion: 10
subDirectory: web
runInstall: true
profileName: az_quickstart
installArgs: "--site-name='Quickstart Review' --account-name=azadmin --account-pass=azadmin2024 --verbose --yes -n"
cliDefines: {DRUSH_LAUNCHER_FALLBACK: '$SRC_DIR/vendor/bin/drush'}