Skip to content

Commit

Permalink
Merge pull request #136 from oxyno-zeta/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyno-zeta authored Jan 20, 2021
2 parents 67bb8bd + 9ff028d commit 1189cd2
Show file tree
Hide file tree
Showing 31 changed files with 702 additions and 406 deletions.
340 changes: 251 additions & 89 deletions .golangci.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: v3.4.0
hooks:
- id: check-json
stages: [commit]
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ setup/tracing-services: down/tracing-services
setup/services: down/services
tar czvf local-resources/opa/bundle.tar.gz --directory=local-resources/opa/bundle example/
docker run -d --rm --name opa -p 8181:8181 -v $(CURRENT_DIR)/local-resources/opa/bundle.tar.gz:/bundle.tar.gz openpolicyagent/opa run --server --log-level debug --log-format text --bundle /bundle.tar.gz
docker run -d --rm --name keycloak -p 8088:8080 -e KEYCLOAK_IMPORT=/tmp/realm-export.json -v $(CURRENT_DIR)/local-resources/keycloak/realm-export.json:/tmp/realm-export.json -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin jboss/keycloak:10.0.0
docker run -d --rm --name keycloak -p 8088:8080 -e KEYCLOAK_IMPORT=/tmp/realm-export.json -v $(CURRENT_DIR)/local-resources/keycloak/realm-export.json:/tmp/realm-export.json -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:11.0.3

.PHONY: setup/mocks
setup/mocks:
Expand All @@ -139,7 +139,7 @@ ifndef HAS_GOLANGCI_LINT
ifndef HAS_CURL
$(error You must install curl)
endif
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.27.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.31.0
endif
ifndef HAS_GIT
$(error You must install Git)
Expand Down
4 changes: 2 additions & 2 deletions conf/config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ log:
# state: my-secret-state-key # do not use this in production ! put something random here
# issuerUrl: https://issuer-url/
# redirectUrl: http://localhost:8080/ # /auth/oidc/callback will be added automatically
# scopes: # OIDC Scopes (defaults: oidc, email, profile)
# - oidc
# scopes: # OIDC Scopes (defaults: openid, email, profile)
# - openid
# - email
# - profile
# groupClaim: groups # path in token
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ log:
# state: my-secret-state-key # do not use this in production ! put something random here
# issuerUrl: https://issuer-url/
# redirectUrl: http://localhost:8080/ # /auth/oidc/callback will be added automatically
# scopes: # OIDC Scopes (defaults: oidc, email, profile)
# - oidc
# scopes: # OIDC Scopes (defaults: openid, email, profile)
# - openid
# - email
# - profile
# groupClaim: groups # path in token
Expand Down
Loading

0 comments on commit 1189cd2

Please sign in to comment.