Use yadm/jekyll:latest image
This commit is contained in:
parent
ca7839aadd
commit
6f4aee32a7
3 changed files with 5 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
env:
|
env:
|
||||||
- IMAGE="jekyll/jekyll:3.8.5"
|
- IMAGE="yadm/jekyll:latest"
|
||||||
language: minimal
|
language: minimal
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
before_install:
|
before_install:
|
||||||
- docker pull $IMAGE
|
- docker pull $IMAGE
|
||||||
- docker create -t --name yadm-website --entrypoint test/travis-ci $IMAGE
|
- docker create -t --name yadm-website --entrypoint test/validate $IMAGE
|
||||||
- docker cp ./ yadm-website:/srv/jekyll
|
- docker cp ./ yadm-website:/srv/jekyll
|
||||||
script:
|
script:
|
||||||
- docker start yadm-website -a
|
- docker start yadm-website -a
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -13,7 +13,7 @@ usage:
|
||||||
@echo 'TESTING'
|
@echo 'TESTING'
|
||||||
@echo
|
@echo
|
||||||
@echo ' make test'
|
@echo ' make test'
|
||||||
@echo ' - Perform tests done by travis-ci.'
|
@echo ' - Perform tests done by continuous integration.'
|
||||||
@echo ' This target will:'
|
@echo ' This target will:'
|
||||||
@echo ' - Remove previously built data'
|
@echo ' - Remove previously built data'
|
||||||
@echo ' - Build the site'
|
@echo ' - Build the site'
|
||||||
|
@ -40,7 +40,7 @@ usage:
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: require-docker-compose clean
|
test: require-docker-compose clean
|
||||||
docker-compose run --rm website test/travis-ci
|
docker-compose run --rm website test/validate
|
||||||
|
|
||||||
.PHONY: up
|
.PHONY: up
|
||||||
up: require-docker-compose
|
up: require-docker-compose
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
website:
|
website:
|
||||||
image: jekyll/jekyll:3.8.5
|
image: yadm/jekyll:latest
|
||||||
ports:
|
ports:
|
||||||
- 4000:4000
|
- 4000:4000
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue