mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
added curl-travis to master
This commit is contained in:
parent
53360b6288
commit
497e429a3c
2 changed files with 6 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ before_install:
|
||||||
- chmod +x docker-compose
|
- chmod +x docker-compose
|
||||||
- sudo mv docker-compose /usr/local/bin
|
- sudo mv docker-compose /usr/local/bin
|
||||||
- chmod ugo+x ./dbench
|
- chmod ugo+x ./dbench
|
||||||
|
- chmod ugo+x ./curl-travis
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ./dbench --setup -u
|
- ./dbench --setup -u
|
||||||
|
|
@ -35,3 +36,4 @@ script:
|
||||||
- docker-compose ps | grep -i mariadb
|
- docker-compose ps | grep -i mariadb
|
||||||
- python test.py
|
- python test.py
|
||||||
- docker-compose stop
|
- docker-compose stop
|
||||||
|
- ./curl-travis
|
||||||
3
curl-travis
Normal file
3
curl-travis
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
curl -H "Content-Type: application/json" --data '{"docker_tag": "latest"}' -X POST https://registry.hub.docker.com/u/chabad360/frappe/trigger/$hubkey/
|
||||||
Loading…
Reference in a new issue