mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 15:22:47 +01:00
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -97,7 +97,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
test: [ tickets, templates, playbooks ]
|
||||
auth: [ simple, keycloak ]
|
||||
auth: [ keycloak ] # simple
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -228,7 +228,7 @@ jobs:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Version
|
||||
if: github.ref != ''
|
||||
if: github.ref_type == 'tag' && github.ref_name != ''
|
||||
run: |
|
||||
echo ${{ github.ref_name }}
|
||||
echo ${{ github.ref_name }} > VERSION
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
run:
|
||||
go: "1.18"
|
||||
go: "1.19"
|
||||
timeout: 5m
|
||||
skip-dirs:
|
||||
- generated
|
||||
linters:
|
||||
|
||||
@@ -26,10 +26,10 @@ type CLI struct {
|
||||
AuthAdminUsers []string `env:"AUTH_ADMIN_USERS" help:"Username of admins"`
|
||||
InitialAPIKey string `env:"INITIAL_API_KEY"`
|
||||
|
||||
SimpleAuthEnable bool `env:"SIMPLE_AUTH_ENABLE" default:"true"`
|
||||
// SimpleAuthEnable bool `env:"SIMPLE_AUTH_ENABLE" default:"true"`
|
||||
APIKeyAuthEnable bool `env:"API_KEY_AUTH_ENABLE" default:"true"`
|
||||
|
||||
OIDCEnable bool `env:"OIDC_ENABLE" default:"false"`
|
||||
OIDCEnable bool `env:"OIDC_ENABLE" default:"true"`
|
||||
OIDCIssuer string `env:"OIDC_ISSUER" required:""`
|
||||
OIDCClientID string `env:"OIDC_CLIENT_ID" default:"catalyst"`
|
||||
OIDCClientSecret string `env:"OIDC_CLIENT_SECRET" required:""`
|
||||
@@ -80,7 +80,7 @@ func MapConfig(cli CLI) (*catalyst.Config, error) {
|
||||
InternalAddress: cli.CatalystAddress,
|
||||
Port: cli.Port,
|
||||
Auth: &auth.Config{
|
||||
SimpleAuthEnable: cli.SimpleAuthEnable,
|
||||
SimpleAuthEnable: false, // cli.SimpleAuthEnable,
|
||||
APIKeyAuthEnable: cli.APIKeyAuthEnable,
|
||||
OIDCAuthEnable: cli.OIDCEnable,
|
||||
OIDCIssuer: cli.OIDCIssuer,
|
||||
|
||||
6026
ui/yarn.lock
6026
ui/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user