test plugin node install & build
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
e4e8505831
commit
97b9311b77
45
.drone.yml
45
.drone.yml
@ -12,25 +12,32 @@ trigger:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
######## DOCKER BUILD AND PUSH TO REGISTRY ########
|
######## DOCKER BUILD AND PUSH TO REGISTRY ########
|
||||||
- name: build docker image and push to registry
|
# - name: build docker image and push to registry
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
volumes:
|
# volumes:
|
||||||
- name: appsource
|
# - name: appsource
|
||||||
path: "/src"
|
# path: "/src"
|
||||||
- name: dockersock
|
# - name: dockersock
|
||||||
path: "/var/run/docker.sock"
|
# path: "/var/run/docker.sock"
|
||||||
settings:
|
# settings:
|
||||||
debug: true
|
# debug: true
|
||||||
username:
|
# username:
|
||||||
from_secret: REGISTRY_USER
|
# from_secret: REGISTRY_USER
|
||||||
password:
|
# password:
|
||||||
from_secret: REGISTRY_PASSWORD
|
# from_secret: REGISTRY_PASSWORD
|
||||||
# registry: "dockerregistry.legaragenumerique.fr"
|
# # registry: "dockerregistry.legaragenumerique.fr"
|
||||||
# insecure: true
|
# # insecure: true
|
||||||
# privileged: true
|
# # privileged: true
|
||||||
repo: "greglebreton/terminal-cv"
|
# repo: "greglebreton/terminal-cv"
|
||||||
# tags: ${DRONE_TAG}
|
# # tags: ${DRONE_TAG}
|
||||||
dockerfile: ./Dockerfile
|
# dockerfile: ./Dockerfile
|
||||||
|
|
||||||
|
|
||||||
|
- name: install npm dependancies
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
- npm test
|
||||||
|
|
||||||
######## TELEGRAM NOTIFICATION ########
|
######## TELEGRAM NOTIFICATION ########
|
||||||
|
|
||||||
|
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
terminal-cv:
|
||||||
|
image: greglebreton/terminal-cv:latest
|
||||||
|
container_name: terminal-cv
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 20221:80
|
||||||
|
# volumes:
|
||||||
|
# - ./site:/var/www/localhost/htdocs
|
Loading…
x
Reference in New Issue
Block a user