ci: disable automatic CI triggers on push/PR
Both android-ci.yml and ci.yml now only run via workflow_dispatch (manual trigger). Automatic builds on push/PR are disabled to stop failing pipeline notifications.
This commit is contained in:
parent
e0130910af
commit
e73d3a11a0
5 changed files with 5 additions and 37 deletions
19
.github/workflows/android-ci.yml
vendored
19
.github/workflows/android-ci.yml
vendored
|
|
@ -2,25 +2,6 @@ name: Android CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
branches: [main, master]
|
|
||||||
paths:
|
|
||||||
- "app/**"
|
|
||||||
- "shared/**"
|
|
||||||
- "server/**"
|
|
||||||
- "build.gradle.kts"
|
|
||||||
- "settings.gradle.kts"
|
|
||||||
- "gradle/**"
|
|
||||||
- ".github/workflows/android-ci.yml"
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- "app/**"
|
|
||||||
- "shared/**"
|
|
||||||
- "server/**"
|
|
||||||
- "build.gradle.kts"
|
|
||||||
- "settings.gradle.kts"
|
|
||||||
- "gradle/**"
|
|
||||||
- ".github/workflows/android-ci.yml"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -2,19 +2,6 @@ name: CI – Swift Tests (macOS)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
paths:
|
|
||||||
- "Migration/**"
|
|
||||||
- "MockServer/**"
|
|
||||||
- "Demonstrator/App/**"
|
|
||||||
- ".github/workflows/ci.yml"
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- "Migration/**"
|
|
||||||
- "MockServer/**"
|
|
||||||
- "Demonstrator/App/**"
|
|
||||||
- ".github/workflows/ci.yml"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ internal sealed class SettingsKey<T>(val key: String, val defaultValue: T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val DEFAULT_SERVER_URL = "http://bollwerk.online:8080"
|
const val DEFAULT_SERVER_URL = "https://bollwerk.online"
|
||||||
|
|
||||||
val SENSITIVE_KEYS: Set<StringKey> = setOf(
|
val SENSITIVE_KEYS: Set<StringKey> = setOf(
|
||||||
StringKey.AuthAccessToken,
|
StringKey.AuthAccessToken,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ services:
|
||||||
POSTGRES_USER: bollwerk
|
POSTGRES_USER: bollwerk
|
||||||
POSTGRES_PASSWORD: bollwerk
|
POSTGRES_PASSWORD: bollwerk
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "127.0.0.1:5432:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ services:
|
||||||
container_name: bollwerk-server
|
container_name: bollwerk-server
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "127.0.0.1:8080:8080"
|
||||||
environment:
|
environment:
|
||||||
- BOLLWERK_JWT_SECRET=sRKnyOBAgwkoDYptqixc9I26SlUWFhGXL5jaTM1vPbe78Q0r
|
- BOLLWERK_JWT_SECRET=sRKnyOBAgwkoDYptqixc9I26SlUWFhGXL5jaTM1vPbe78Q0r
|
||||||
- BOLLWERK_DB_URL=jdbc:postgresql://db:5432/bollwerk
|
- BOLLWERK_DB_URL=jdbc:postgresql://db:5432/bollwerk
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
Testet Auth, Inventory Sync, Messaging (offline delivery), JWT Refresh
|
Testet Auth, Inventory Sync, Messaging (offline delivery), JWT Refresh
|
||||||
und parallele WebSocket-Sessions gegen einen laufenden Server.
|
und parallele WebSocket-Sessions gegen einen laufenden Server.
|
||||||
.PARAMETER BaseUrl
|
.PARAMETER BaseUrl
|
||||||
Server-URL. Standard: http://bollwerk.online:8080
|
Server-URL. Standard: https://bollwerk.online
|
||||||
.PARAMETER AlicePassword
|
.PARAMETER AlicePassword
|
||||||
Passwort fuer Alice. Standard: alice
|
Passwort fuer Alice. Standard: alice
|
||||||
.PARAMETER BobPassword
|
.PARAMETER BobPassword
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
.\run-integration-tests.ps1 -BaseUrl "http://localhost:8080"
|
.\run-integration-tests.ps1 -BaseUrl "http://localhost:8080"
|
||||||
#>
|
#>
|
||||||
param(
|
param(
|
||||||
[string]$BaseUrl = "http://bollwerk.online:8080",
|
[string]$BaseUrl = "https://bollwerk.online",
|
||||||
[string]$AliceUser = "alice",
|
[string]$AliceUser = "alice",
|
||||||
[string]$AlicePassword = "alice",
|
[string]$AlicePassword = "alice",
|
||||||
[string]$BobUser = "bob",
|
[string]$BobUser = "bob",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue