refactor(project): path rename
Build and Push Docker image / build-and-push (push) Failing after 2m3s Details

Renamed ../StuVe-IT/.. to ../stuve-it/..
This commit is contained in:
Valentin Kolb 2024-03-27 16:00:59 +01:00
parent d51a92f6e1
commit fc43a288e9
9 changed files with 15 additions and 15 deletions

View File

@ -26,7 +26,7 @@ jobs:
context: . context: .
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend:latest tags: git.stuve.uni-ulm.de/stuve-it/stuve-it-backend:latest
#- name: Trigger webhook #- name: Trigger webhook
# run: curl -X POST ${{ secrets.WEBHOOK_URL }} # run: curl -X POST ${{ secrets.WEBHOOK_URL }}

View File

@ -54,7 +54,7 @@ Funktionen für die einzelnen Tabellen und User erlaubt sind.
## Entwickeln ## Entwickeln
```bash ```bash
git clone https://git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend.git git clone https://git.stuve.uni-ulm.de/stuve-it/stuve-it-backend.git
cd stuve-it-backend cd stuve-it-backend
go run main/main.go serve # --debug=0 for no debug output go run main/main.go serve # --debug=0 for no debug output
``` ```
@ -107,7 +107,7 @@ Funktionen `Success`, `Info` und `Error` an.
```go ```go
package main package main
import "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" import "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
func main() { func main() {
logger.LogInfoF("Info Message") logger.LogInfoF("Info Message")

2
go.mod
View File

@ -1,4 +1,4 @@
module git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend module git.stuve.uni-ulm.de/stuve-it/stuve-it-backend
go 1.21 go 1.21

View File

@ -2,8 +2,8 @@ package ldapLogin
import ( import (
"fmt" "fmt"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/ldapSync" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapSync"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
"github.com/go-ldap/ldap/v3" "github.com/go-ldap/ldap/v3"
"github.com/labstack/echo/v5" "github.com/labstack/echo/v5"
"github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase"

View File

@ -6,7 +6,7 @@ this file contains functions to sync ldap users and groups to the database
import ( import (
"fmt" "fmt"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
"github.com/pocketbase/dbx" "github.com/pocketbase/dbx"
"github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase"
"github.com/pocketbase/pocketbase/forms" "github.com/pocketbase/pocketbase/forms"

View File

@ -3,7 +3,7 @@ package ldapSync
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
"github.com/go-ldap/ldap/v3" "github.com/go-ldap/ldap/v3"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/pocketbase/dbx" "github.com/pocketbase/dbx"

View File

@ -5,7 +5,7 @@ package ldapSync
import ( import (
"fmt" "fmt"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
"github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase"
"github.com/pocketbase/pocketbase/tools/cron" "github.com/pocketbase/pocketbase/tools/cron"
"os" "os"

View File

@ -1,10 +1,10 @@
package main package main
import ( import (
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/ldapLogin" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapLogin"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/ldapSync" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapSync"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/qrApi" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/qrApi"
"github.com/joho/godotenv" "github.com/joho/godotenv"
"github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase"
"github.com/pocketbase/pocketbase/core" "github.com/pocketbase/pocketbase/core"

View File

@ -2,8 +2,8 @@ package qrApi
import ( import (
"bytes" "bytes"
goqr "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/go-qr" goqr "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/go-qr"
"git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
"github.com/labstack/echo/v5" "github.com/labstack/echo/v5"
"github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase"
"github.com/pocketbase/pocketbase/apis" "github.com/pocketbase/pocketbase/apis"