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:
|
||||
|
||||
######## DOCKER BUILD AND PUSH TO REGISTRY ########
|
||||
- name: build docker image and push to registry
|
||||
image: plugins/docker
|
||||
volumes:
|
||||
- name: appsource
|
||||
path: "/src"
|
||||
- name: dockersock
|
||||
path: "/var/run/docker.sock"
|
||||
settings:
|
||||
debug: true
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
# registry: "dockerregistry.legaragenumerique.fr"
|
||||
# insecure: true
|
||||
# privileged: true
|
||||
repo: "greglebreton/terminal-cv"
|
||||
# tags: ${DRONE_TAG}
|
||||
dockerfile: ./Dockerfile
|
||||
# - name: build docker image and push to registry
|
||||
# image: plugins/docker
|
||||
# volumes:
|
||||
# - name: appsource
|
||||
# path: "/src"
|
||||
# - name: dockersock
|
||||
# path: "/var/run/docker.sock"
|
||||
# settings:
|
||||
# debug: true
|
||||
# username:
|
||||
# from_secret: REGISTRY_USER
|
||||
# password:
|
||||
# from_secret: REGISTRY_PASSWORD
|
||||
# # registry: "dockerregistry.legaragenumerique.fr"
|
||||
# # insecure: true
|
||||
# # privileged: true
|
||||
# repo: "greglebreton/terminal-cv"
|
||||
# # tags: ${DRONE_TAG}
|
||||
# dockerfile: ./Dockerfile
|
||||
|
||||
|
||||
- name: install npm dependancies
|
||||
image: node
|
||||
commands:
|
||||
- npm install
|
||||
- npm test
|
||||
|
||||
######## 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