Compare commits
1 Commits
2aefe00c58
...
a2059310ce
Author | SHA1 | Date | |
---|---|---|---|
a2059310ce |
41
.drone.yml
41
.drone.yml
@ -25,6 +25,8 @@ steps:
|
||||
branch:
|
||||
- master
|
||||
- staging
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: frontend
|
||||
image: plugins/docker
|
||||
@ -44,6 +46,8 @@ steps:
|
||||
branch:
|
||||
- master
|
||||
- staging
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: validator
|
||||
image: plugins/docker
|
||||
@ -63,6 +67,8 @@ steps:
|
||||
branch:
|
||||
- master
|
||||
- staging
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: deploy
|
||||
image: argoproj/argocd:latest
|
||||
@ -91,19 +97,8 @@ steps:
|
||||
- name: api-pr
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.itzana.me
|
||||
repo: registry.itzana.me/strafesnet/maptest-api
|
||||
tags:
|
||||
- ${DRONE_BRANCH}-${DRONE_BUILD_NUMBER}
|
||||
- ${DRONE_BRANCH}
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
dockerfile: Containerfile
|
||||
context: .
|
||||
environment:
|
||||
PLUGIN_NO_PUSH: true
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
@ -111,19 +106,8 @@ steps:
|
||||
- name: frontend-pr
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.itzana.me
|
||||
repo: registry.itzana.me/strafesnet/maptest-frontend
|
||||
tags:
|
||||
- ${DRONE_BRANCH}-${DRONE_BUILD_NUMBER}
|
||||
- ${DRONE_BRANCH}
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
dockerfile: web/Containerfile
|
||||
context: web
|
||||
environment:
|
||||
PLUGIN_NO_PUSH: true
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
@ -131,19 +115,8 @@ steps:
|
||||
- name: validator-pr
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.itzana.me
|
||||
repo: registry.itzana.me/strafesnet/maptest-validator
|
||||
tags:
|
||||
- ${DRONE_BRANCH}-${DRONE_BUILD_NUMBER}
|
||||
- ${DRONE_BRANCH}
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
dockerfile: validation/Containerfile
|
||||
context: validation
|
||||
environment:
|
||||
PLUGIN_NO_PUSH: true
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
@ -161,6 +134,6 @@ steps:
|
||||
- pull_request
|
||||
---
|
||||
kind: signature
|
||||
hmac: 5db97b6d491f3a3742784d78a2dbdba0dc5f150de6666d5776fb3c2efa22d6b5
|
||||
hmac: 1764861f531e7123022bf8a1898445a3cfb279274f4fa44de5b4ea9757e82401
|
||||
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user