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

Implement DevShop YamlTasks & GitHub API CLI for Deployments #1304

Closed
wants to merge 104 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
de2c317
Removing provision-ops/yaml-tests
jonpugh Mar 23, 2020
b5114ca
Renaming tests.yml to tasks.yml
jonpugh Mar 23, 2020
3ca58c2
Remove provision tools from composer lock manually
jonpugh Mar 23, 2020
e5ec14b
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
jonpugh Mar 23, 2020
7c07e91
require devshop/yaml-tests
jonpugh Mar 23, 2020
cfe6bab
Merge branch 'VAGOV-1229-devshop-yaml-tasks' of github.com:department…
jonpugh Mar 23, 2020
a7edb9a
Adding --status-url option to .hooks.yml
jonpugh Mar 12, 2020
77636d0
adding dotenv to root project.
jonpugh Mar 23, 2020
4235d6c
Switch to yaml-tasks command.
jonpugh Mar 24, 2020
1855f41
Wrong option
jonpugh Mar 24, 2020
e039a70
Fixing wrong tasks file option
jonpugh Mar 24, 2020
ce8b439
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
jonpugh Mar 24, 2020
39eca4d
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
jonpugh Mar 24, 2020
c9f730a
Use mustRun in demo.php, and catch the final command's error and prin…
jonpugh Mar 24, 2020
d55cfd7
Merge remote-tracking branch 'origin/VAGOV-1229-devshop-yaml-tasks' i…
jonpugh Mar 24, 2020
a4803f5
Use dev release of power-process so we can be sure this passes before…
jonpugh Mar 24, 2020
fc8a568
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
jonpugh Mar 24, 2020
72f317c
Update lockfile to latest power-process commit.
jonpugh Mar 24, 2020
80959a7
Merge remote-tracking branch 'origin/VAGOV-1229-devshop-yaml-tasks' i…
jonpugh Mar 24, 2020
4942844
Update power-process to latest commit.
jonpugh Mar 25, 2020
502ace1
Fix typo from manually updating editing lockfile!
jonpugh Mar 25, 2020
9d6ee55
Update lockfile using composer 1.9
jonpugh Mar 25, 2020
29a1471
Using the branch version of yaml-tasks for testing
jonpugh Mar 25, 2020
abb29e0
Use the dev branch for both yaml-tasks and power-process until it works
jonpugh Mar 25, 2020
6bbc7f2
Add --github-token=$GITHUB_TOKEN so the full command is visible in l…
jonpugh Mar 25, 2020
9461878
Print env in test.
jonpugh Mar 25, 2020
11d9eb6
Go back to 1.x versions of power process and yaml tasks.
jonpugh Mar 25, 2020
68cd4b6
Add `--ignore-ssl` to the composer yaml-tasks command to avoid github…
jonpugh Mar 25, 2020
fe6d553
Multiline yaml commands don't work, apparently.
jonpugh Mar 25, 2020
cfacc3c
Move env debugging to yaml-tasks tasks.yml file.
jonpugh Mar 25, 2020
c2c4511
Run bin/yaml-tasks instead of composer so the project EnvironmentHand…
jonpugh Mar 25, 2020
92704d4
Bumping yaml-tasks version
jonpugh Mar 25, 2020
82dbd46
Bumping yaml-tasks version
jonpugh Mar 25, 2020
c179798
Remove CLI option, it might work now.
jonpugh Mar 25, 2020
b9ad841
updating to latest dev of devshop components
jonpugh Mar 25, 2020
4a4bba8
Add debugging to hooks.yml
jonpugh Mar 25, 2020
4535fc3
Remove DEVSHOP_TASK_URL from hooks command.
jonpugh Mar 25, 2020
37a6103
updating to latest yaml tasks
jonpugh Mar 25, 2020
7b6c9fe
Fix composer va:proxy:sshuttle command.
jonpugh Mar 26, 2020
c50a0fa
Set full path to get this working for now. Once YamlTasks can determi…
jonpugh Mar 26, 2020
8ce4aa9
update yaml-tasks
jonpugh Mar 26, 2020
84d4fe4
Merge branch 'master' of github.com:department-of-veterans-affairs/va…
jonpugh Mar 26, 2020
907c4c5
update lockfile hash
jonpugh Mar 26, 2020
14a9b80
latest yaml-tasks
jonpugh Mar 26, 2020
9d1f6b7
latest yaml-tasks
jonpugh Mar 26, 2020
30ba0e3
Remove environment debugging.
jonpugh Mar 26, 2020
b5546c6
Revert "Set full path to get this working for now. Once YamlTasks can…
jonpugh Mar 26, 2020
1a33a44
latest yaml-tasks
jonpugh Mar 26, 2020
e378773
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
va-cms-bot Mar 26, 2020
19b911b
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
va-cms-bot Mar 26, 2020
8adb4c8
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Mar 27, 2020
a491b6a
Merge branch 'master' of github.com:department-of-veterans-affairs/va…
jonpugh Apr 1, 2020
d97f70c
Remove unused yaml-tasks/tests files.
Apr 1, 2020
7e3c9a3
Update .lando.yml file to use yaml-tests.
Apr 1, 2020
c3dab92
Rename yaml-tests to yaml-tasks, more files.
Apr 1, 2020
8f6e011
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
va-cms-bot Apr 1, 2020
d567c19
Lock file rebuilt via composer install.
jonpugh Apr 1, 2020
b8ca521
Merge branch 'VAGOV-1229-devshop-yaml-tasks' of github.com:department…
jonpugh Apr 1, 2020
2403038
Finish refactoring to yaml-tasks `--tests-file` option. Resolves http…
jonpugh Apr 1, 2020
c5ee8f9
Revert "Fix composer va:proxy:sshuttle command."
jonpugh Apr 1, 2020
590692a
Requiring exact versions for packages that have patches.
jonpugh Apr 1, 2020
f1b6c13
Reverting to master branch composer.lock
jonpugh Apr 2, 2020
d4da961
Fixed composer.lock by:
jonpugh Apr 2, 2020
4039ddd
Update testing.md
jonpugh Apr 2, 2020
b558748
Don't remove va-gov/web every time we run tests.
jonpugh Apr 2, 2020
2a820f0
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
va-cms-bot Apr 2, 2020
16b58d4
Updating yaml-tasks to the version that does not post github comments…
jonpugh Apr 2, 2020
e1cee2b
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Apr 7, 2020
fdc7e8e
Adding github-api-cli to enable github deployments API integration.
jonpugh Apr 7, 2020
1ddb820
Add github deployment API call to va/web/build task.
jonpugh Apr 7, 2020
634832c
Use correct syntax for subshell
jonpugh Apr 7, 2020
0b1dd96
Update lockfile to latest power-process commit.
jonpugh Mar 24, 2020
2cc1524
Rebase
jonpugh Apr 8, 2020
43a530a
Auto-merged master into VAGOV-1229-devshop-yaml-tasks on deployment.
va-cms-bot Apr 8, 2020
f5153b7
typo
jonpugh Apr 8, 2020
649c4ba
Update composer.lock
jonpugh Apr 8, 2020
db9c3e1
Add `github deployment` calls to tasks.yml.
jonpugh Apr 8, 2020
caffff4
Updating to branch version of devshop/github-api-cli
jonpugh Apr 9, 2020
531c5ad
add DEVSHOP_GITHUB_API_IGNORE_SSL environment variable.
jonpugh Apr 9, 2020
a5c5d5a
Fix --environment_url option.
jonpugh Apr 9, 2020
edd1591
Exit 1 after notifying github.
jonpugh Apr 9, 2020
6ae8236
Update github-api-cli to 1.x.
jonpugh Apr 9, 2020
857b2d9
Use --environment-url when errors happen.
jonpugh Apr 9, 2020
e63bb26
Fix exit1 typo.
jonpugh Apr 9, 2020
2b10f2a
Don't use https for environment-links, it's not necessary.
jonpugh Apr 9, 2020
6dbc91b
Merge branch 'master' of github.com:department-of-veterans-affairs/va…
jonpugh Apr 9, 2020
2b82963
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Apr 9, 2020
087e613
Update composer.json
Apr 9, 2020
3868ba6
Use https:// in environment_url=
jonpugh Apr 9, 2020
c28a659
Simplify the web deployment commands: put the failure notification ri…
jonpugh Apr 9, 2020
f3de4e8
Move the web build test to happen immediately after the CMS is ready.
jonpugh Apr 9, 2020
ddf0146
Merge remote-tracking branch 'origin/VAGOV-1229-devshop-yaml-tasks' i…
jonpugh Apr 9, 2020
a65bb82
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Apr 10, 2020
4f95ff4
Merge branch 'master' of github.com:department-of-veterans-affairs/va…
jonpugh Apr 10, 2020
ffcb29d
Merge branch 'VAGOV-1229-devshop-yaml-tasks' of github.com:department…
jonpugh Apr 10, 2020
6fe74ee
- Move deployment:start to the first step in yaml-tasks.
jonpugh Apr 10, 2020
3fd2642
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Apr 10, 2020
f8b5dcf
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Apr 10, 2020
40c23fe
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Apr 22, 2020
0a3bbcc
Set devshop packages to 1.6 alpha.
jonpugh Apr 22, 2020
add76b1
Manually remove devshop stuff from composer lock file.
jonpugh Apr 22, 2020
527bacf
Update to latest versions.
jonpugh Apr 22, 2020
8e369a0
Add "which" to each node command so we know which one is running.
jonpugh Apr 22, 2020
45f4272
Merge branch 'master' into VAGOV-1229-devshop-yaml-tasks
jonpugh Apr 22, 2020
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
2 changes: 1 addition & 1 deletion .env.lando
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Used by WEB build process.
DRUPAL_ADDRESS=http://va-gov-cms.lndo.site

# Tells composer yaml-tests command not to format process in blocks, but print directly.
# Tells composer yaml-tasks command not to format process in blocks, but print directly.
PROVISION_PROCESS_OUTPUT=direct

# Used by behat tests.
Expand Down
9 changes: 4 additions & 5 deletions .hooks.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# This file is needed for us to customize what devshop does.
#
# It can be removed once devshop supports yaml-tests natively.
# It can be removed once devshop supports yaml-tasks natively.

deploy: |
# @TODO: Change this to a yaml-tests call with a filter for "va/deploy", once global yaml tests
# composer yaml-tests --tests-file=deploy.yml --ansi
# @TODO: Change this to a yaml-tasks call with a filter for "va/deploy", once global yaml tasks
# composer yaml-tasks --tasks-file=deploy.yml --ansi

test: |
echo "Running `composer yaml-tests` on tests.yml..."
composer yaml-tests --tests-file=tests.yml --ansi
bin/yaml-tasks --ansi --ignore-ssl --tasks-file=tasks.yml
jonpugh marked this conversation as resolved.
Show resolved Hide resolved
12 changes: 6 additions & 6 deletions .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ config:

events:
post-db-import:
# @TODO: Change to `composer yaml-tests va/deploy` once the "filter argument" feature is in place.
# @TODO: Change to `composer yaml-tasks va/deploy` once the "filter argument" feature is in place.
- appserver: cd $LANDO_WEBROOT && /app/bin/drush cache-rebuild -y
- appserver: cd $LANDO_WEBROOT && /app/bin/drush updatedb -y
- appserver: cd $LANDO_WEBROOT && /app/bin/drush cache-rebuild -y
Expand All @@ -20,7 +20,7 @@ events:
# After code changes
post-update:
- appserver: cd $LANDO_MOUNT && composer install
- appserver: cd $LANDO_WEBROOT && drush updb -y && drush cr -y
- appserver: cd $LANDO_WEBROOT && drush updateb -y && drush cache:rebuild -y
jonpugh marked this conversation as resolved.
Show resolved Hide resolved

services:
appserver:
Expand Down Expand Up @@ -76,9 +76,9 @@ tooling:
cmd: cp -r /app/docroot/modules/custom/va_gov_migrate/config/install/. /app/config/sync/ && drush config-import --partial --source=/app/docroot/modules/custom/va_gov_migrate/config/install/

test:
description: Run all VA.gov tests, as defined in tests.yml. Add arguments to run subsets of tests. For example. "lando test deploy" will run all of the "va/deploy/*" tests.
description: Run all VA.gov tests, as defined in tasks.yml. Add arguments to run subsets of tasks. For example. "lando test deploy" will run all of the "va/deploy/*" tasks.
service: appserver
cmd: composer yaml-tests
cmd: composer yaml-tasks

# "drush" being here overrides the default "lando drush" command.
# Using /app/bin/drush means we are using the site-local drush directly.
Expand Down Expand Up @@ -107,7 +107,7 @@ tooling:
phpunit:
service: appserver
description: "Run PHP Unit tests: lando phpunit. Syntax: lando phpunit {PATH-TO-TEST}"
cmd: "composer yaml-tests va/tests/phpunit"
cmd: "composer yaml-tasks va/tests/phpunit"

behat:
service: appserver
Expand All @@ -117,7 +117,7 @@ tooling:
test_filter_test:
service: appserver
description: "Run this command to see the strange problem where `lando test behat` does not work."
cmd: "composer yaml-tests va/tests/behat"
cmd: "composer yaml-tasks va/tests/behat"

# NPM and NODE are now installed via composer install: this ensures version consistency.
npm:
Expand Down
4 changes: 2 additions & 2 deletions READMES/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Any existing environment variables will be overwritten if the same variable exis
Using a `.env` file instead on relying on the server environment has many benefits:

- When the Composer autoloader is forced to use the `.env`, all of tools that use it will have the exact
same environment. This includes Drupal itself, and everything in the [.bin folder](../bin): `drush`, `phpunit`, `behat`, `yaml-tests`, `etc`.
same environment. This includes Drupal itself, and everything in the [.bin folder](../bin): `drush`, `phpunit`, `behat`, `yaml-tasks`, `etc`.
- No need to write variables to server configuration.
- No need to pass variables through docker, docker-compose, Dockerfiles, etc.
- No need to worry about the execution environment:
- Every system (local, CI, BRD, etc) has it's way of loading the "execution environment" for running processes.
- In other words, commands like `drush cache-rebuild` or `composer yaml-tests` are run by the `apache` user in BRD,
- In other words, commands like `drush cache-rebuild` or `composer yaml-tasks` are run by the `apache` user in BRD,
the `aegir` user in CMS-CI, and the `www-data` user in Lando.
- By using a single `.env` file for all environments, we no longer have to maintain scripts to set system-specific
environment variables.
Expand Down
71 changes: 49 additions & 22 deletions READMES/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,40 @@
The code for cms.VA.gov undergoes numerous tests before merging, and tests
are run before deployment and release.

The automated test suite for cms.VA.gov is defined in the [tests.yml](../tests.yml)
file and is run using the [Yaml-Tests](https://github.com/provision-ops/yaml-tests) tool, allowing the same command to be used local development, in CMS
The automated test suite for cms.VA.gov is defined in the [tasks.yml](../tasks.yml)
file and is run using the [Yaml Tasks](https://github.com/devshop-packages/yaml-tasks) tool, allowing the same command to be used local development, in CMS
-CI and for production releases.

The *Yaml Tests* Composer plugin is required by the main va.gov-cms
The *Yaml Tasks* Composer plugin is required by the main va.gov-cms
`composer.json` file.

## Deployment vs Testing Tasks

The tasks.yml file contains everything that needs to be run to *test* a copy of the CMS.

In order to be sure code will work in production, this includes what are considered *deployment* tasks: Cache rebuild, config import, update database (listed below).

The YamlTasks plugin was designed to be both a testing and deployment tool. To support this, you can use an argument after the `yaml-tasks` command to only run a subset of the tasks listed.

By keeping a single file for all tasks, developers and operators can be sure that the exact same steps ran during CI and during the production deployment.

For example, `tasks.yml` includes all steps to deploy *and* test the site:

va/tests/phpcs: bin/phpcs
va/deploy/0-composer: composer install
va/deploy/1-cache: drush cache-rebuild
va/deploy/2-update: drush update-db
va/deploy/3-config: drush config-import
va/tests/behat: bin/behat

Then, the *testing* script can be `composer yaml-tasks` to run all tasks, and the "production deployment" script can be
`composer yaml-tests va/deploy` to only run the test that begin with `va/deploy`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`composer yaml-tests va/deploy` to only run the test that begin with `va/deploy`.
`composer yaml-tasks va/deploy` to only run the test that begin with `va/deploy`.


By keeping a single tasks.yml file you don't have to maintain copies of the list of commands to run in different places: such as in ansible scripts, the va.gov-cms repo's lando.yml, etc.

This reduces chances of instability since the "site rebuild" command is the same, every time, even if the command set changes in the future.


## Goals

To adopt a strong test driven culture, the testing tools must:
Expand Down Expand Up @@ -131,24 +158,24 @@ There are 4 main types of tests:

## Running Tests

The main way to run Yaml-tests is the `composer yaml-tests` command.
The main way to run Yaml-tasks is the `composer yaml-tasks` command.

Run `composer yaml-tests --help` for more information.
Run `composer yaml-tasks --help` for more information.

### Composer Command: `composer yaml-tests`
### Composer Command: `composer yaml-tasks`

All composer commands can be shortened to any unique string, so `composer y
` is an alias for `composer yaml-tests`.
` is an alias for `composer yaml-tasks`.

Run `composer y --help` to see more options.

### Bin dir executable: `./bin/yaml-tests`
### Bin dir executable: `./bin/yaml-tasks`

There is a `bin/yaml-tests` file provided with this package. You can run it
There is a `bin/yaml-tasks` file provided with this package. You can run it
from the project root.

*NOTE: The `bin` directory is automatically included in the $PATH for all
Composer commands, including yaml-tests itself.*
Composer commands, including yaml-tasks itself.*

See [Composer Paths](#composer-configbinpath-and-path) for more information
on Composer and $PATH.
Expand All @@ -163,10 +190,10 @@ Lando commands are listed in [`.lando.yml`](../.lando.yml). There are some

| Lando Command | Composer Command
|-------------- |----------------
|lando test | composer yaml-tests
|lando test va/deploy | composer yaml-tests va/deploy
|lando test | composer yaml-tasks
|lando test va/deploy | composer yaml-tasks va/deploy
|lando web-build | composer va:web:build
|lando phpunit | composer yaml-tests va/tests/phpunit
|lando phpunit | composer yaml-tasks va/tests/phpunit
|lando web-build | composer va:web:build
|lando behat | cd /app/tests/behat && /app/bin/behat

Expand All @@ -176,27 +203,27 @@ Lando commands are listed in [`.lando.yml`](../.lando.yml). There are some
- Any Composer command can be run inside a Lando container after you call
`lando ssh`.

@TODO: Standardize this mapping on Yaml-tests. It will continue to improve
@TODO: Standardize this mapping on Yaml-tasks. It will continue to improve
with features like timing, profiling, output logging, etc.

### Limit tests to run
You can add an argument to filter the tests to run:

```sh
# Run the entire test suite.
composer yaml-tests
composer yaml-tasks

# Run `va/tests/phpunit` only
composer yaml-tests phpunit
composer yaml-tasks phpunit

# Run all `va/deploy/*` tests.
composer yaml-tests va/deploy
composer yaml-tasks va/deploy
```


## GitHub Integration

The Yaml-Tests tool also integrates with GitHub, providing pass/fail commit
The Yaml-tasks tool also integrates with GitHub, providing pass/fail commit
status for each test listed in `tests.yml`, and posting errors as comments
on the commit's page on GitHub.com.

Expand All @@ -219,7 +246,7 @@ The API used by Yaml Tests and GitHub for testing code is called the

It stores test results attached to the commit, based on SHA.

Yaml-tests reads the SHA of git repository, runs the test, and sends the state
Yaml-tasks reads the SHA of git repository, runs the test, and sends the state
to GitHub Status API, which sends it along to the users.

What you end up seeing is something like this:
Expand All @@ -243,15 +270,15 @@ if you open a second PR with the same commits, the commit status AND the
`composer.json` or in `tests.yml`.

For example, if you wanted to create a `composer special-tests` command as
an alias for `yaml-tests` but with a different file and with a filter, add
an alias for `yaml-tasks` but with a different file and with a filter, add
this to `composer.json`:

```json
{
"scripts": {
"special-tests": [
"which yaml-tests",
"yaml-tests myuniquetests --file=custom.yml"
"which yaml-tasks",
"yaml-tasks myuniquetests --file=custom.yml"
]
}
}
Expand Down
17 changes: 10 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"bower-asset/dropzone": "^5.5",
"cweagans/composer-patches": "^1.6.4",
"devshop/behat-drupal-extension": "dev-rewrite-last-page-output-links",
"devshop/github-api-cli": "^1.6@alpha",
"devshop/power-process": "^1.6@alpha",
"devshop/yaml-tasks": "^1.6@alpha",
"drupal-composer/drupal-scaffold": "^2.0.0",
"drupal/address": "^1.4",
"drupal/admin_toolbar": "^1.24",
Expand Down Expand Up @@ -96,7 +99,7 @@
"drupal/restui": "^1.16",
"drupal/role_delegation": "^1.0@alpha",
"drupal/seckit": "^1.1",
"drupal/simplesamlphp_auth": "^3.0",
"drupal/simplesamlphp_auth": "3.1.0",
"drupal/site_alert": "1.x-dev#7e8a229292ec6cf85cb5e22d8a58afac098c3bd1",
"drupal/slack": "^1.2",
"drupal/social_media_links": "^2.6",
Expand All @@ -107,7 +110,7 @@
"drupal/toolbar_menu_clean": "^1.0",
"drupal/tour_ui": "^1.0@beta",
"drupal/ui_patterns": "^1.0",
"drupal/user_history": "^1.0@alpha",
"drupal/user_history": "1.0.0-alpha3",
"drupal/uswds": "^1.0@beta",
"drupal/video_embed_media": "^2.2",
"drupal/views_bulk_edit": "^2.3",
Expand All @@ -126,15 +129,15 @@
"mouf/nodejs-installer": "^1.0",
"npm-asset/yarn": "1.12.3",
"phpunit/phpunit": "^6",
"provision-ops/yaml-tests": "~1.9",
"querypath/querypath": "^3.0",
"simplesamlphp/simplesamlphp": "^1.17",
"simplesamlphp/simplesamlphp": "v1.17.8",
"squizlabs/php_codesniffer": "^3.5",
"symfony/config": "^3.4",
"symfony/finder": "^3",
"symfony/phpunit-bridge": "^4.3",
"twig/twig": "^1.38.2",
"va-gov/web": "dev-master",
"vlucas/phpdotenv": "~2",
"webflo/drupal-finder": "^1.0.0",
"webmozart/path-util": "^2.3",
"weitzman/drupal-test-traits": "dev-master",
Expand Down Expand Up @@ -370,9 +373,9 @@
"va:web:install": [
"# Preparing Front-end...",
"cd bin && ln -sf ../docroot/libraries/yarn/bin/yarn yarn",
"node -v",
"npm -v",
"yarn -v",
"which node && node -v",
"which npm && npm -v",
"which yarn && yarn -v",
"cd web && yarn run install-repos",
"export NODE_EXTRA_CA_CERTS=/etc/pki/tls/certs/ca-bundle.crt PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=TRUE; cd web && yarn install"
],
Expand Down
Loading