This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
92 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM govcms/govcms8 | ||
FROM govcms8lagoon/govcms8 | ||
|
||
COPY themes/ /app/web/themes/custom | ||
COPY themes/ /app/web/profiles/contrib/govcms/themes/custom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
ARG CLI_IMAGE | ||
FROM ${CLI_IMAGE} as cli | ||
|
||
FROM govcmslagoon/nginx-drupal | ||
FROM govcms8lagoon/nginx-drupal | ||
|
||
COPY --from=cli /app /app | ||
|
||
# Define where the Drupal Root is located | ||
ENV WEBROOT=web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ARG CLI_IMAGE | ||
FROM ${CLI_IMAGE} as cli | ||
|
||
FROM govcmslagoon/php | ||
FROM govcms8lagoon/php | ||
|
||
COPY --from=cli /app /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
FROM govcms/test | ||
FROM govcms8lagoon/test | ||
|
||
COPY themes/ /app/web/themes/custom | ||
COPY themes/ /app/web/profiles/contrib/govcms/themes/custom | ||
|
||
RUN rm -Rf /app/tests/behat/features/* | ||
COPY tests/behat/features/ /app/tests/behat/features | ||
|
||
RUN rm -Rf /app/tests/phpunit/tests/* | ||
COPY tests/phpunit/tests/ /app/tests/phpunit/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
image: integratedexperts/circleci2-builder | ||
services: | ||
- docker:dind | ||
stages: | ||
- deploy | ||
deploy: | ||
stage: deploy | ||
script: | ||
- echo "curl -X POST -d projectName=$CI_PROJECT_NAME -d branchName=$CI_COMMIT_REF_NAME http://rest2tasks-lagoon.govcms.amazee.io/deploy" | ||
- curl -X POST -d projectName=$CI_PROJECT_NAME -d branchName=$CI_COMMIT_REF_NAME http://rest2tasks-lagoon.govcms.amazee.io/deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
docker-compose-yaml: docker-compose.yml | ||
|
||
tasks: | ||
post-rollout: | ||
- run: | ||
name: Deploy GovCMS | ||
command: govcms-deploy | ||
service: cli | ||
|
||
environments: | ||
master: | ||
cronjobs: | ||
- name: drush cron | ||
schedule: "*/15 * * * *" | ||
command: 'drush cron' | ||
service: cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
## Default config mount. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Turn off all options we don't need. | ||
Options None | ||
Options +FollowSymLinks | ||
|
||
# Set the catch-all handler to prevent scripts from being executed. | ||
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 | ||
<Files *> | ||
# Override the handler again if we're run later in the evaluation list. | ||
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003 | ||
</Files> | ||
|
||
# If we know how to do it safely, disable the PHP engine entirely. | ||
<IfModule mod_php5.c> | ||
php_flag engine off | ||
</IfModule> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Feature: Home Page | ||
|
||
Ensure the home page is rendering correctly | ||
|
||
@javascript @smoke | ||
Scenario: Anonymous user visits the homepage | ||
Given I am on the homepage | ||
And save screenshot |
Empty file.