-
Notifications
You must be signed in to change notification settings - Fork 35
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
Bryan Latten
committed
Jan 25, 2017
1 parent
1be238f
commit 9293a88
Showing
6 changed files
with
18 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ | |
# SASS | ||
.sass-cache | ||
*.css.map | ||
|
||
# tmp file for upload | ||
tmp.txt |
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 |
---|---|---|
|
@@ -12,6 +12,12 @@ before_install: | |
- chmod +x docker-compose | ||
- sudo mv docker-compose /usr/local/bin | ||
|
||
# - Build and run all variants | ||
# - Ensure text from phpinfo is present in default response | ||
# - Create a 98MB tmp file | ||
# - Upload file to each variant | ||
# - Ensure text from phpinfo is present in response to upload, which is returned for everything | ||
# ---- mainly to check /tmp permission issues from nginx | ||
script: | ||
- docker-compose build ubuntu | ||
- docker-compose build edge | ||
|
@@ -24,4 +30,9 @@ script: | |
- curl localhost:8081 | grep "PHP Version 7.0." | ||
- curl localhost:8082 | grep "PHP Version 7.1." | ||
- curl localhost:8083 | grep "PHP Version 5.6." | ||
- dd if=/dev/zero of=tmp.txt count=100000 bs=1024 | ||
- curl --form [email protected] localhost:8080 | grep "PHP Version 7.0." | ||
- curl --form [email protected] localhost:8081 | grep "PHP Version 7.0." | ||
- curl --form [email protected] localhost:8082 | grep "PHP Version 7.1." | ||
- curl --form [email protected] localhost:8083 | grep "PHP Version 5.6." | ||
- docker-compose kill |
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,4 +1,4 @@ | ||
FROM behance/docker-nginx:6.4 | ||
FROM behance/docker-nginx:7.0 | ||
MAINTAINER Bryan Latten <[email protected]> | ||
|
||
# Set TERM to suppress warning messages. | ||
|
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,4 +1,4 @@ | ||
FROM behance/docker-nginx:6.4-alpine | ||
FROM behance/docker-nginx:7.0-alpine | ||
MAINTAINER Bryan Latten <[email protected]> | ||
|
||
# Set TERM to suppress warning messages. | ||
|
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,4 +1,4 @@ | ||
FROM behance/docker-nginx:6.4 | ||
FROM behance/docker-nginx:7.0 | ||
MAINTAINER Bryan Latten <[email protected]> | ||
|
||
# Set TERM to suppress warning messages. | ||
|
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,4 +1,4 @@ | ||
FROM behance/docker-nginx:6.4 | ||
FROM behance/docker-nginx:7.0 | ||
MAINTAINER Bryan Latten <[email protected]> | ||
|
||
# Set TERM to suppress warning messages. | ||
|