Skip to content

Commit

Permalink
Merge pull request #10 from TheDMSGroup/dev-custom
Browse files Browse the repository at this point in the history
Locking down composer.lock for the sake of upstream dependency changes.
  • Loading branch information
heathdutton authored Apr 12, 2018
2 parents 6815bd3 + c99f78e commit b00fd7a
Show file tree
Hide file tree
Showing 8 changed files with 854 additions and 758 deletions.
13 changes: 7 additions & 6 deletions .ebextensions/00_compliance.config
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Configuration suggestions for HIPAA/PCI compliance.

Resources:
AWSEBAutoScalingLaunchConfiguration:
Type: AWS::AutoScaling::LaunchConfiguration
Properties:
# For HIPAA compliance.
PlacementTenancy: "dedicated"
# Uncomment if you need to enforce dedicated tennancy for all environments.
# Resources:
# AWSEBAutoScalingLaunchConfiguration:
# Type: AWS::AutoScaling::LaunchConfiguration
# Properties:
# # For HIPAA compliance.
# PlacementTenancy: "dedicated"

option_settings:
aws:elasticbeanstalk:cloudwatch:logs:
Expand Down
7 changes: 5 additions & 2 deletions .ebextensions/70_mautic.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ container_commands:
72_mautic_migrations:
command: console doctrine:migrations:migrate --no-interaction -vvv
leader_only: true
73_mautic_schema:
command: console doctrine:schema:update --force -vvv
leader_only: true
# Download IP Lookup databases, which are stored in each instance and not on the EFS mount.
73_mautic_iplookup:
74_mautic_iplookup:
command: console mautic:iplookup:download -vvv
# Promote new changes to core CSS and JS. This assumes LESS compilation has taken place at build-time.
74_generate_assets:
75_generate_assets:
command: console mautic:assets:generate -vvv
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist: precise
dist: trusty

language: php

Expand All @@ -25,7 +25,7 @@ before_install:
- if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.6" ]]; then composer global require phpstan/phpstan-shim:0.8.5; fi

# Install custom dependencies if on the custom branches.
- if [ "$TRAVIS_BRANCH" = *"custom"* ]; then rm -rf composer.lock; cp composer.custom.dist composer.custom; fi
- if [[ "$TRAVIS_BRANCH" = *"custom"* ]]; then cp composer.lock.dist composer.lock; cp composer.custom.dist composer.custom; fi

# Include optional custom composer dependencies.
- bash ./scripts/composer-custom.sh
Expand Down
7 changes: 7 additions & 0 deletions composer.custom.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
"thedmsgroup/mautic-eb-custom": "dev-master",
"thedmsgroup/mautic-extended-field-bundle": "dev-master",
"thedmsgroup/mautic-contact-client-bundle": "dev-master",
"thedmsgroup/mautic-contact-ledger-bundle": "dev-master",
"thedmsgroup/mautic-contact-source-bundle": "dev-master",
"thedmsgroup/mautic-enhancer-bundle": "dev-master"
},
"config": {
"preferred-install": {
"*": "dist",
"thedmsgroup/*": "source"
}
},
"repositories": [
{
"type": "package",
Expand Down
Loading

0 comments on commit b00fd7a

Please sign in to comment.