From d4e502fdf59cbee4636154e663c7abbf1012c7e1 Mon Sep 17 00:00:00 2001 From: Jens L Date: Fri, 21 Apr 2023 15:45:41 +0300 Subject: [PATCH] ci: bump setup-node version (#5340) * ci: bump setup-node version Signed-off-by: Jens Langhammer * set skip-pkg-cache Signed-off-by: Jens Langhammer * fix failing codeQL Signed-off-by: Jens Langhammer * fix airgapped avatars Signed-off-by: Jens Langhammer --------- Signed-off-by: Jens Langhammer --- .github/actions/setup/action.yml | 2 +- .github/actions/setup/docker-compose.yml | 6 ++--- .github/workflows/ci-outpost.yml | 1 + .github/workflows/codeql-analysis.yml | 28 ++---------------------- website/docs/installation/air-gapped.md | 2 +- 5 files changed, 7 insertions(+), 32 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 79e1f28cc..2f7ff3049 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -21,7 +21,7 @@ runs: python-version: "3.11" cache: "poetry" - name: Setup node - uses: actions/setup-node@v3.1.0 + uses: actions/setup-node@v3 with: node-version: "20" cache: "npm" diff --git a/.github/actions/setup/docker-compose.yml b/.github/actions/setup/docker-compose.yml index 9ddbbd23f..5d7a1053d 100644 --- a/.github/actions/setup/docker-compose.yml +++ b/.github/actions/setup/docker-compose.yml @@ -2,8 +2,7 @@ version: "3.7" services: postgresql: - container_name: postgres - image: library/postgres:${PSQL_TAG:-12} + image: docker.io/library/postgres:${PSQL_TAG:-12} volumes: - db-data:/var/lib/postgresql/data environment: @@ -14,8 +13,7 @@ services: - 5432:5432 restart: always redis: - container_name: redis - image: library/redis + image: docker.io/library/redis ports: - 6379:6379 restart: always diff --git a/.github/workflows/ci-outpost.yml b/.github/workflows/ci-outpost.yml index cdb680cee..3d9dfd613 100644 --- a/.github/workflows/ci-outpost.yml +++ b/.github/workflows/ci-outpost.yml @@ -30,6 +30,7 @@ jobs: uses: golangci/golangci-lint-action@v3 with: args: --timeout 5000s + skip-pkg-cache: true test-unittest: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index dc88c2ad6..71add7bde 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -4,7 +4,6 @@ on: push: branches: [main, "*", next, version*] pull_request: - # The branches below must be a subset of the branches above branches: [main] schedule: - cron: "30 6 * * 5" @@ -22,39 +21,16 @@ jobs: fail-fast: false matrix: language: ["go", "javascript", "python"] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed - steps: - name: Checkout repository uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. + - name: Setup authentik env + uses: ./.github/actions/setup - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild uses: github/codeql-action/autobuild@v2 - - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 diff --git a/website/docs/installation/air-gapped.md b/website/docs/installation/air-gapped.md index 967ec9fc3..463e637b5 100644 --- a/website/docs/installation/air-gapped.md +++ b/website/docs/installation/air-gapped.md @@ -17,7 +17,7 @@ To disable these outbound connections, set the following in your `.env` file: AUTHENTIK_DISABLE_UPDATE_CHECK=true AUTHENTIK_ERROR_REPORTING__ENABLED=false AUTHENTIK_DISABLE_STARTUP_ANALYTICS=true -AUTHENTIK_AVATARS=none +AUTHENTIK_AVATARS=initials ``` For a Helm-based install, set the following in your values.yaml file: