Compare commits
2 Commits
25a0db9b1e
...
aa31d675bf
Author | SHA1 | Date | |
---|---|---|---|
aa31d675bf | |||
c02d50c3ac |
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
tmp
|
||||
|
||||
.env
|
||||
.env.local
|
56
devfile.yaml
Normal file
56
devfile.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
schemaVersion: 2.2.2
|
||||
metadata:
|
||||
name: vt
|
||||
displayName: VT
|
||||
description: VT-Backend
|
||||
icon: https://github.com/egonelbre/gophers/blob/master/icon/emoji/gopher-confused.png?raw=true
|
||||
tags:
|
||||
- Golang
|
||||
- Fiber
|
||||
- gorm
|
||||
projectType: go
|
||||
language: go
|
||||
version: 1.0.0
|
||||
starterProjects:
|
||||
- name: vt-backend
|
||||
git:
|
||||
checkoutFrom:
|
||||
remote: origin
|
||||
revision: main
|
||||
remotes:
|
||||
origin: https://git.kocoder.xyz/kocoded/vt
|
||||
components:
|
||||
- name: golang
|
||||
container:
|
||||
image: git.kocoder.xyz/diplomarbeit-absolventenverein/workspaces/universal:ubi9
|
||||
args: ["tail", "-f", "/dev/null"]
|
||||
mountSources: true
|
||||
endpoints:
|
||||
- name: http-go
|
||||
protocol: http
|
||||
targetPort: 3000
|
||||
commands:
|
||||
- id: build
|
||||
exec:
|
||||
workingDir: ${PROJECT_SOURCE}
|
||||
commandLine: kill $(pidof dotnet); dotnet build -c $CONFIGURATION $STARTUP_PROJECT /p:UseSharedCompilation=false
|
||||
component: dotnet
|
||||
group:
|
||||
isDefault: true
|
||||
kind: build
|
||||
- id: run
|
||||
exec:
|
||||
workingDir: ${PROJECT_SOURCE}
|
||||
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
|
||||
component: dotnet
|
||||
group:
|
||||
isDefault: true
|
||||
kind: run
|
||||
- id: release
|
||||
exec:
|
||||
workingDir: ${PROJECT_SOURCE}
|
||||
commandLine: dotnet build -c RELEASE Oqtane.sln && dotnet publish -c RELEASE Oqtane.Server/Oqtane.Server.csproj -o ./publish
|
||||
component: dotnet
|
||||
group:
|
||||
isDefault: true
|
||||
kind: deploy
|
@ -1 +0,0 @@
|
||||
exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1exit status 1
|
Reference in New Issue
Block a user