Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/lib/pq from 1.10.4 to 1.10.9 #204

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
1bd753d
chore: upgrade alpine
sagikazarmark Nov 15, 2021
7e826fd
Merge pull request #2327 from dexidp/backport-alpine-upgrade
sagikazarmark Nov 15, 2021
eb3c5e0
ci: fix container image permissions
sagikazarmark Nov 15, 2021
6e30b36
Merge pull request #2330 from dexidp/backport-2329
sagikazarmark Nov 15, 2021
a612580
Custom auth proxy connector with additional headers
aelkiss Mar 3, 2021
bc2d048
github actions for local ht shib proxy dex
aelkiss Nov 24, 2020
d4801cb
Use ghcr.io instead of dockerhub
aelkiss Jan 27, 2022
231b29d
Update actions for production deploy
aelkiss Feb 2, 2022
b46d9f5
build(deps): bump entgo.io/ent from 0.8.0 to 0.9.0
dependabot[bot] Aug 6, 2021
f3a6d18
build(deps): bump golang from 1.16.6-alpine3.13 to 1.16.7-alpine3.13
dependabot[bot] Aug 6, 2021
4dfc710
build(deps): bump google.golang.org/grpc from 1.39.0 to 1.39.1
dependabot[bot] Aug 7, 2021
cd35451
build(deps): bump google.golang.org/api from 0.52.0 to 0.53.0
dependabot[bot] Aug 12, 2021
23ac51e
build(deps): bump google.golang.org/grpc from 1.39.1 to 1.40.0
dependabot[bot] Aug 12, 2021
a6cf59d
build(deps): bump alpine from 3.14.0 to 3.14.1
dependabot[bot] Aug 9, 2021
6582890
Bump Dex image to v2.30.0 for Kubernetes deployment example
rdimitrov Aug 10, 2021
6d31cbb
build(deps): bump github.com/go-ldap/ldap/v3 from 3.3.0 to 3.4.0
dependabot[bot] Aug 16, 2021
bbeb0ea
build(deps): bump google.golang.org/api from 0.53.0 to 0.54.0
dependabot[bot] Aug 16, 2021
b33395e
build(deps): bump github.com/AppsFlyer/go-sundheit from 0.4.0 to 0.5.0
dependabot[bot] Aug 16, 2021
f30baf0
chore: add dependabot config for the api module
sagikazarmark Aug 16, 2021
fbda8fd
build(deps): bump google.golang.org/protobuf in /api/v2
dependabot[bot] Aug 16, 2021
8163244
build(deps): bump google.golang.org/grpc in /api/v2
dependabot[bot] Aug 16, 2021
97d314a
build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.0 to 3.4.1
dependabot[bot] Aug 17, 2021
275157e
chore: update golangci-lint
sagikazarmark Aug 17, 2021
1a1518c
chore: update Go in Docker
sagikazarmark Aug 17, 2021
0f70caa
chore: update Go in GitHub Actions
sagikazarmark Aug 17, 2021
57530fc
chore: update Go version in go.mod
sagikazarmark Aug 17, 2021
718d187
build(deps): bump entgo.io/ent from 0.9.0 to 0.9.1
dependabot[bot] Aug 23, 2021
5782050
build(deps): bump alpine from 3.14.1 to 3.14.2
dependabot[bot] Aug 30, 2021
fe05b02
build(deps): bump google.golang.org/api from 0.54.0 to 0.55.0
dependabot[bot] Aug 31, 2021
519a14f
build(deps): bump google.golang.org/api from 0.55.0 to 0.56.0
dependabot[bot] Sep 1, 2021
3c3b84c
build(deps): bump github.com/lib/pq from 1.10.2 to 1.10.3
dependabot[bot] Sep 3, 2021
02a53a1
build(deps): bump github.com/russellhaering/goxmldsig
dependabot[bot] Sep 10, 2021
f4372fd
build(deps): bump golang from 1.17.0-alpine3.14 to 1.17.1-alpine3.14
dependabot[bot] Sep 10, 2021
0e667c1
build(deps): bump google.golang.org/api from 0.56.0 to 0.57.0
dependabot[bot] Sep 17, 2021
93e2c42
refactor: move from io/ioutil to io and os package
Juneezee Sep 17, 2021
c43c5e3
chore: enable depguard for io/ioutil package
Juneezee Sep 17, 2021
9ccf6af
build(deps): bump github.com/coreos/go-oidc/v3 from 3.0.0 to 3.1.0
dependabot[bot] Sep 20, 2021
844ba29
feat: Add MySQL ent-based storage driver
nabokihms Sep 13, 2021
9939eec
Add dialects
nabokihms Sep 13, 2021
359ccd5
Fix sqlite an mysql tests
nabokihms Sep 13, 2021
999f241
Get rid of nolint
nabokihms Sep 13, 2021
872dda7
Remove sqlite transaction tests for ent
nabokihms Sep 14, 2021
78bb493
chore: fix ioutil lint error after merging MySQL ent storage
nabokihms Sep 21, 2021
0bc74a1
Add parametrization of grant type supported in discovery endpoint
ariary Sep 3, 2021
a2cf417
lint comment
ariary Sep 15, 2021
0365c7b
sort grant type supported
ariary Oct 6, 2021
613691f
build(deps): bump golang from 1.17.1-alpine3.14 to 1.17.2-alpine3.14
dependabot[bot] Oct 8, 2021
e696150
Resolves #2111 Option to fetch transitive group membership
snuggie12 Sep 8, 2021
7925b30
build(deps): bump go.etcd.io/etcd/client/pkg/v3 from 3.5.0 to 3.5.1
dependabot[bot] Oct 18, 2021
4aa438e
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.0 to 3.5.1
dependabot[bot] Oct 18, 2021
4d2f4dd
build(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0
dependabot[bot] Sep 29, 2021
6d8f224
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.8 to 1.14.9
dependabot[bot] Oct 20, 2021
1f5bb55
build(deps): bump google.golang.org/grpc in /api/v2
dependabot[bot] Oct 19, 2021
29bf34d
build(deps): bump google.golang.org/api from 0.57.0 to 0.58.0
dependabot[bot] Oct 19, 2021
e3119e1
build(deps): bump google.golang.org/api from 0.58.0 to 0.59.0
dependabot[bot] Oct 21, 2021
f2d38c8
Return valid JWT access token from password grant
enj Aug 11, 2021
aba7bc6
fix: do not update offlinesession lastUsed field if refresh token was…
nabokihms Oct 18, 2021
bebd976
build(deps): bump google.golang.org/api from 0.59.0 to 0.60.0
dependabot[bot] Oct 29, 2021
19dd905
chore: improve github files
sagikazarmark Nov 1, 2021
fb0a106
build(deps): bump golang from 1.17.2-alpine3.14 to 1.17.3-alpine3.14
dependabot[bot] Nov 5, 2021
2e5ca6d
build(deps): bump github.com/lib/pq from 1.10.3 to 1.10.4
dependabot[bot] Nov 9, 2021
762e62f
fix web static file path slash error for win platform
copperyp Oct 23, 2021
c536d4c
using path.Join replace filepath.Join
copperyp Oct 27, 2021
6be9b26
chore(deps): update grpc
sagikazarmark Nov 9, 2021
831f514
build(deps): bump alpine from 3.14.2 to 3.14.3
dependabot[bot] Nov 15, 2021
8b81edc
build(deps): bump alpine from 3.14.3 to 3.15.0
dependabot[bot] Nov 25, 2021
c719834
feat: print dex version in the logs
iam-veeramalla Nov 25, 2021
cafdbc0
chore: upgrade alpine
sagikazarmark Nov 15, 2021
5d557bf
Add generic oauth connector
May 4, 2018
36c8991
Make oauth user name and user id configurable
Feb 27, 2019
3b1dd8b
use PreferredUsername
Jan 16, 2020
4091eb3
add docs for oauth connector
Jul 31, 2020
347f075
add configurable preferred_username key
Aug 4, 2020
cd5bbed
use testify in oauth tests
Oct 7, 2020
7c1ba22
use claim mappings when retrieving user identity
Oct 20, 2020
8f147e0
readme minor fix for oauth connector
Nov 5, 2020
b91cc14
move oauth connector doc to dex website repo
Mar 15, 2021
1efc659
cleanup and optimization
May 10, 2021
da74651
skymarshal: behaviour: Handle groups as maps
vladsf Oct 25, 2021
3a5e7c2
Add a test case
vladsf Nov 3, 2021
d977624
fix minor compilation error for group claim
Nov 17, 2021
0e2dc49
small refactors and cleanup
Dec 1, 2021
0d6d3b0
build(deps): bump google.golang.org/api from 0.60.0 to 0.61.0
dependabot[bot] Dec 3, 2021
a6fb1d5
build(deps): bump golang from 1.17.3-alpine3.14 to 1.17.4-alpine3.14
dependabot[bot] Dec 6, 2021
61a4620
fix: return invalid_grant error on claiming token of another client
nabokihms Dec 5, 2021
e9bc26f
Update server/refreshhandlers.go
nabokihms Dec 8, 2021
fd496b1
build(deps): bump google.golang.org/api from 0.61.0 to 0.62.0
dependabot[bot] Dec 9, 2021
9b1ec3d
build(deps): bump golang from 1.17.4-alpine3.14 to 1.17.5-alpine3.14
dependabot[bot] Dec 10, 2021
3bffc0f
chore: warning about deprecated LDAP groupSearch fields
nabokihms Mar 2, 2021
762032f
Deprecation warning log message
nabokihms May 24, 2021
774ed51
build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0
dependabot[bot] Dec 15, 2021
6601661
build(deps): bump google.golang.org/api from 0.62.0 to 0.63.0
dependabot[bot] Dec 15, 2021
ece9cde
build(deps): bump google.golang.org/grpc from 1.42.0 to 1.43.0
dependabot[bot] Dec 18, 2021
677f4b1
server: grpc.WithInsecure is now insecure.NewCredentials()
justaugustus Dec 18, 2021
597ad0a
fix(server): wrap credentials in the correct Dial option
sagikazarmark Dec 19, 2021
ff18fa0
build(deps): bump google.golang.org/grpc in /api/v2
dependabot[bot] Dec 18, 2021
21c2356
build: add nix flake
sagikazarmark Nov 14, 2021
43002b4
chore: add direnv
sagikazarmark Nov 14, 2021
1b1432d
refactor: remove unused proto scripts
sagikazarmark Nov 14, 2021
065ae31
refactor: tool dependency download
sagikazarmark Nov 14, 2021
23ca46b
docs: add a development section to the readme
sagikazarmark Nov 14, 2021
fc96c90
docs: add license section to the readme
sagikazarmark Nov 14, 2021
05f8594
chore: add kind to the tooling
sagikazarmark Nov 14, 2021
0fb6d4e
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.9 to 1.14.10
dependabot[bot] Dec 30, 2021
6084821
build(deps): bump golang from 1.17.5-alpine3.14 to 1.17.6-alpine3.14
dependabot[bot] Jan 7, 2022
3f3e7b4
build(deps): bump google.golang.org/api from 0.63.0 to 0.64.0
dependabot[bot] Jan 7, 2022
daa8dc3
build(deps): bump google.golang.org/api from 0.64.0 to 0.65.0
dependabot[bot] Jan 12, 2022
873bed7
chore(examples): update dependencies
sagikazarmark Jan 15, 2022
5c3a7ab
add sigstore to ADOPTERS.md
bobcallaway Jan 16, 2022
2f2de92
Add claimMapping enforcement
Happy2C0de Aug 11, 2021
507d1ae
Move claimMapping.enforce to overrideClaimMapping
Happy2C0de Aug 13, 2021
975115e
Revert ClaimMapping struct
Happy2C0de Aug 19, 2021
1fbc297
Remove false failed errors.
Happy2C0de Aug 19, 2021
f6dde48
Revert querying preferrredUsernameKey
Happy2C0de Aug 19, 2021
4615e45
Add overrideWithMissingCustomEmailClaim test
Happy2C0de Aug 24, 2021
ea1c42e
Remove overrideWithMissingCustomEmailClaim
Happy2C0de Sep 20, 2021
46e0b98
build(deps): bump github.com/prometheus/client_golang
dependabot[bot] Jan 20, 2022
109d5cf
build(deps): bump google.golang.org/grpc from 1.43.0 to 1.44.0
dependabot[bot] Jan 26, 2022
99bdb6f
build(deps): bump google.golang.org/grpc in /api/v2
dependabot[bot] Jan 26, 2022
0110ceb
chore: update gomplate
sagikazarmark Jan 26, 2022
21277d6
chore: update golangci-lint download script
nabokihms Jan 31, 2022
58a16e8
[fix] Replace /teams API w/ /workspaces endpoints
rahulchheda Jan 27, 2022
fcad5f1
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.1 to 3.5.2
dependabot[bot] Feb 2, 2022
b189794
build(deps): bump google.golang.org/api from 0.65.0 to 0.67.0
dependabot[bot] Feb 4, 2022
cac68e0
build(deps): bump github.com/prometheus/client_golang
dependabot[bot] Jan 31, 2022
6c6365d
distroless: rewrite docker-entrypoint.sh in go
ankeesler Jan 18, 2022
6a04935
distroless: fetch CA certificates in builder stage
ankeesler Jan 18, 2022
a031077
distroless: Dockerfile works with distroless base image
ankeesler Jan 19, 2022
ee2bcc2
chore(deps): update dependencies
sagikazarmark Feb 8, 2022
e8cadcc
chore(deps): update dependencies
sagikazarmark Feb 8, 2022
1a5552b
chore(deps): update API package
sagikazarmark Feb 8, 2022
9fe8f8a
build: only build static release binaries
sagikazarmark Feb 8, 2022
93d4bec
chore: update golang image
sagikazarmark Mar 22, 2022
6e187f6
Merge pull request #129 from hathitrust/update-v2.31.1
aelkiss May 4, 2022
fed76c5
Updated Build, tests, and tag-release
Ronster2018 Apr 8, 2024
51b1680
Updated tag-release to the templated version
Ronster2018 Apr 8, 2024
d6af065
Merge pull request #194 from hathitrust/action-updates
Ronster2018 Apr 8, 2024
f24d19a
build(deps): bump github.com/lib/pq from 1.10.4 to 1.10.9
dependabot[bot] May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
if ! has nix_direnv_version || ! nix_direnv_version 1.5.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.5.0/direnvrc" "sha256-carKk9aUFHMuHt+IWh74hFj58nY4K3uywpZbwXX0BTI="
fi
use flake

dotenv_if_exists
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/.editorconfig

This file was deleted.

7 changes: 7 additions & 0 deletions .github/dependabot.yml → .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ updates:
schedule:
interval: "daily"

- package-ecosystem: "gomod"
directory: "/api/v2"
labels:
- "area/dependencies"
schedule:
interval: "daily"

- package-ecosystem: "docker"
directory: "/"
labels:
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build A Branch

on:
workflow_run:
workflows: ['Run Tests']
branches: ['master']
types: [completed]

workflow_dispatch:
inputs:
img_tag:
description: Docker Image Tag
ref:
description: Revision or Branch to build
default: master
push_latest:
description: Set True if the build is for the latest version
type: boolean
required: false
default: false
platforms:
description: Platforms to build for
type: choice
default: linux/amd64,linux/arm64
options:
- linux/amd64,linux/arm64
- linux/amd64
- linux/arm64
rebuild:
description: Rebuild this image?
type: boolean
default: false

jobs:
build-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Build Image
uses: hathitrust/github_actions/build@v1.4.0
with:
image: ghcr.io/${{ github.repository }}-unstable
dockerfile: Dockerfile
img_tag: ${{ inputs.img_tag }}
tag: ${{ inputs.ref }}
push_latest: ${{ inputs.push_latest}}
registry_token: ${{ github.token }}
rebuild: ${{ inputs.rebuild }}
67 changes: 0 additions & 67 deletions .github/workflows/codeql-analysis.yaml

This file was deleted.

94 changes: 0 additions & 94 deletions .github/workflows/docker.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Docker Tag Latest Release

on:
release:
types: [released]

jobs:
tag-release:
runs-on: ubuntu-latest
steps:
- uses: hathitrust/github_actions/tag-release@v1
with:
registry_token: ${{ github.token }}
existing_tag: ghcr.io/${{ github.repository }}-unstable:${{ github.sha }}
image: ghcr.io/${{ github.repository }}
new_tag: ${{ github.event.release.tag_name }}
33 changes: 29 additions & 4 deletions .github/workflows/ci.yaml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Run Tests

on:
push:
Expand Down Expand Up @@ -35,6 +35,15 @@ jobs:
- 3306
options: --health-cmd "mysql -proot -e \"show databases;\"" --health-interval 10s --health-timeout 5s --health-retries 5

mysql-ent:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: dex
ports:
- 3306
options: --health-cmd "mysql -proot -e \"show databases;\"" --health-interval 10s --health-timeout 5s --health-retries 5

etcd:
image: gcr.io/etcd-development/etcd:v3.5.0
ports:
Expand All @@ -53,9 +62,9 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17

- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -69,35 +78,51 @@ jobs:
version: v0.11.1
node_image: kindest/node:v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729

- name: Download tool dependencies
run: make deps

- name: Test
run: make testall
env:
DEX_FOO_USER_PASSWORD: $2a$10$33EMT0cVYVlPy6WAMCLsceLYjWhuHpbz5yuZxu/GAFj03J9Lytjuy
DEX_MYSQL_DATABASE: dex
DEX_MYSQL_USER: root
DEX_MYSQL_PASSWORD: root
DEX_MYSQL_HOST: 127.0.0.1
DEX_MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}

DEX_MYSQL_ENT_DATABASE: dex
DEX_MYSQL_ENT_USER: root
DEX_MYSQL_ENT_PASSWORD: root
DEX_MYSQL_ENT_HOST: 127.0.0.1
DEX_MYSQL_ENT_PORT: ${{ job.services.mysql-ent.ports[3306] }}

DEX_POSTGRES_DATABASE: postgres
DEX_POSTGRES_USER: postgres
DEX_POSTGRES_PASSWORD: postgres
DEX_POSTGRES_HOST: localhost
DEX_POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}

DEX_POSTGRES_ENT_DATABASE: postgres
DEX_POSTGRES_ENT_USER: postgres
DEX_POSTGRES_ENT_PASSWORD: postgres
DEX_POSTGRES_ENT_HOST: localhost
DEX_POSTGRES_ENT_PORT: ${{ job.services.postgres-ent.ports[5432] }}

DEX_ETCD_ENDPOINTS: http://localhost:${{ job.services.etcd.ports[2379] }}

DEX_LDAP_HOST: localhost
DEX_LDAP_PORT: 389
DEX_LDAP_TLS_PORT: 636

DEX_KEYSTONE_URL: http://localhost:${{ job.services.keystone.ports[5000] }}
DEX_KEYSTONE_ADMIN_URL: http://localhost:${{ job.services.keystone.ports[35357] }}
DEX_KEYSTONE_ADMIN_USER: demo
DEX_KEYSTONE_ADMIN_PASS: DEMO_PASS

DEX_KUBERNETES_CONFIG_PATH: ~/.kube/config

- name: Lint
- name: Run linter
run: make lint

# Ensure proto generation doesn't depend on external packages.
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.direnv/
/.idea/
/bin/
/docker-compose.override.yaml
Expand Down
9 changes: 8 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ run:
timeout: 2m

linters-settings:
depguard:
list-type: blacklist
include-go-root: true
packages:
- io/ioutil
packages-with-error-message:
- io/ioutil: "The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead."
gci:
local-prefixes: github.com/dexidp/dex
goimports:
Expand All @@ -13,6 +20,7 @@ linters:
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- exhaustive
- exportloopref
Expand Down Expand Up @@ -64,7 +72,6 @@ linters:
# - scopelint

# unused
# - depguard
# - goheader
# - gomodguard

Expand Down
1 change: 1 addition & 0 deletions ADOPTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ This is a list of production adopters of Dex (in alphabetical order):
- [Kyma](https://kyma-project.io) is using Dex to authenticate access to Kubernetes API server (even for managed Kubernetes like Google Kubernetes Engine or Azure Kubernetes Service) and for protecting web UI of [Kyma Console](https://github.com/kyma-project/console) and other UIs integrated in Kyma ([Grafana](https://github.com/grafana/grafana), [Loki](https://github.com/grafana/loki), and [Jaeger](https://github.com/jaegertracing/jaeger)). Kyma is an open-source project ([`github.com/kyma-project`](https://github.com/kyma-project/kyma)) designed natively on Kubernetes, that allows you to extend and customize your applications in a quick and modern way, using serverless computing or microservice architecture.
- [Pusher](https://pusher.com) uses Dex for authenticating users across their Kubernetes infrastructure (using Kubernetes OIDC support) in conjunction with the [OAuth2 Proxy](https://github.com/pusher/oauth2_proxy) for protecting web UIs.
- [Pydio](https://pydio.com/) Pydio Cells is an open source sync & share platform written in Go. Cells is using Dex as an OIDC service for authentication and authorizations. Check out [Pydio Cells repository](https://github.com/pydio/cells) for more information and/or to contribute.
- [sigstore](https://sigstore.dev) uses Dex for authentication in their public Fulcio instance, which is a certificate authority for code signing certificates bound to OIDC-based identities.