mirror of https://github.com/abpframework/eventhub
4 changed files with 25 additions and 1 deletions
@ -0,0 +1,6 @@ |
|||||
|
apiVersion: v2 |
||||
|
name: migrator |
||||
|
appVersion: "1.0" |
||||
|
description: EventHub Migrator Application |
||||
|
version: 1.0.0 |
||||
|
type: application |
||||
@ -0,0 +1,14 @@ |
|||||
|
apiVersion: batch/v1 |
||||
|
kind: Job |
||||
|
metadata: |
||||
|
name: migrator |
||||
|
spec: |
||||
|
activeDeadlineSeconds: 100 |
||||
|
template: |
||||
|
spec: |
||||
|
containers: |
||||
|
- name: migrator |
||||
|
image: eventhubmigrator |
||||
|
imagePullPolicy: Never |
||||
|
restartPolicy: Never |
||||
|
backoffLimit: 4 |
||||
@ -0,0 +1,4 @@ |
|||||
|
FROM mcr.microsoft.com/dotnet/runtime:5.0 |
||||
|
COPY bin/Release/net5.0/ app/ |
||||
|
WORKDIR /app |
||||
|
ENTRYPOINT ["dotnet", "EventHub.DbMigrator.dll"] |
||||
Loading…
Reference in new issue