Made cache volume whole ci/cd wide. Also changed mounted directories.
This commit is contained in:
parent
41f871ecf2
commit
4d014435e8
25
.drone.yml
25
.drone.yml
@ -21,7 +21,7 @@ steps:
|
|||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
volumes:
|
volumes:
|
||||||
- name: dotnet-cache
|
- name: dotnet-cache
|
||||||
path: /tmp/
|
path: /app/
|
||||||
privileged: true
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
repo: hub.musk.fun/k8s/nocr/telegram_listener
|
repo: hub.musk.fun/k8s/nocr/telegram_listener
|
||||||
@ -38,7 +38,7 @@ steps:
|
|||||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
volumes:
|
volumes:
|
||||||
- name: dotnet-cache
|
- name: dotnet-cache
|
||||||
path: /tmp/
|
path: /app/
|
||||||
environment:
|
environment:
|
||||||
VERSION: ${DRONE_TAG}
|
VERSION: ${DRONE_TAG}
|
||||||
NUGETAPIKEY:
|
NUGETAPIKEY:
|
||||||
@ -51,6 +51,9 @@ steps:
|
|||||||
- name: nocr text matcher build & push
|
- name: nocr text matcher build & push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dotnet-cache
|
||||||
|
path: /app/
|
||||||
settings:
|
settings:
|
||||||
repo: hub.musk.fun/k8s/nocr/text_matcher
|
repo: hub.musk.fun/k8s/nocr/text_matcher
|
||||||
registry: hub.musk.fun
|
registry: hub.musk.fun
|
||||||
@ -64,6 +67,9 @@ steps:
|
|||||||
|
|
||||||
- name: nocr text matcher nuget package make & push
|
- name: nocr text matcher nuget package make & push
|
||||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
|
volumes:
|
||||||
|
- name: dotnet-cache
|
||||||
|
path: /app/
|
||||||
environment:
|
environment:
|
||||||
VERSION: ${DRONE_TAG}
|
VERSION: ${DRONE_TAG}
|
||||||
NUGETAPIKEY:
|
NUGETAPIKEY:
|
||||||
@ -76,6 +82,9 @@ steps:
|
|||||||
- name: nocr users build & push
|
- name: nocr users build & push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dotnet-cache
|
||||||
|
path: /app/
|
||||||
settings:
|
settings:
|
||||||
repo: hub.musk.fun/k8s/nocr/users
|
repo: hub.musk.fun/k8s/nocr/users
|
||||||
registry: hub.musk.fun
|
registry: hub.musk.fun
|
||||||
@ -89,6 +98,9 @@ steps:
|
|||||||
|
|
||||||
- name: nocr users nuget package make & push
|
- name: nocr users nuget package make & push
|
||||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
|
volumes:
|
||||||
|
- name: dotnet-cache
|
||||||
|
path: /app/
|
||||||
environment:
|
environment:
|
||||||
VERSION: ${DRONE_TAG}
|
VERSION: ${DRONE_TAG}
|
||||||
NUGETAPIKEY:
|
NUGETAPIKEY:
|
||||||
@ -101,6 +113,9 @@ steps:
|
|||||||
- name: nocr telegram client build & push
|
- name: nocr telegram client build & push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dotnet-cache
|
||||||
|
path: /app/
|
||||||
settings:
|
settings:
|
||||||
repo: hub.musk.fun/k8s/nocr/telegram_client
|
repo: hub.musk.fun/k8s/nocr/telegram_client
|
||||||
registry: hub.musk.fun
|
registry: hub.musk.fun
|
||||||
@ -115,6 +130,9 @@ steps:
|
|||||||
- name: nocr text matcher migrator build & push
|
- name: nocr text matcher migrator build & push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dotnet-cache
|
||||||
|
path: /app/
|
||||||
settings:
|
settings:
|
||||||
repo: hub.musk.fun/k8s/nocr/text_matcher_migrator
|
repo: hub.musk.fun/k8s/nocr/text_matcher_migrator
|
||||||
registry: hub.musk.fun
|
registry: hub.musk.fun
|
||||||
@ -129,6 +147,9 @@ steps:
|
|||||||
- name: nocr users migrator build & push
|
- name: nocr users migrator build & push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dotnet-cache
|
||||||
|
path: /app/
|
||||||
settings:
|
settings:
|
||||||
repo: hub.musk.fun/k8s/nocr/users_migrator
|
repo: hub.musk.fun/k8s/nocr/users_migrator
|
||||||
registry: hub.musk.fun
|
registry: hub.musk.fun
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user