Compare commits

...

2 Commits

Author SHA1 Message Date
aa31d675bf Add devfile.yaml 2025-08-12 18:15:17 +02:00
c02d50c3ac Gitignore tmp 2025-08-12 18:12:50 +02:00
4 changed files with 60 additions and 1 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
tmp
.env
.env.local

56
devfile.yaml Normal file
View 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

View File

@ -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

BIN
tmp/main

Binary file not shown.