Skip to content

Commit

Permalink
Merge branch 'main' into nico151999/make-group-id-configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
nico151999 authored Apr 22, 2024
2 parents e1b629a + 5d0d794 commit 552ffd8
Show file tree
Hide file tree
Showing 20 changed files with 110 additions and 96 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
timeout-minutes: 10
steps:
- uses: linkerd/dev/actions/setup-tools@v43
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: just-dev lint-actions

devcontainer-versions:
runs-on: ubuntu-22.04
steps:
- uses: linkerd/dev/actions/setup-tools@v43
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: just-dev check-action-images
2 changes: 1 addition & 1 deletion .github/workflows/choco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: devblackops/github-action-psscriptanalyzer@854038567344559afaaa8ccb7a014452b99d86ee
env:
# https://github.com/devblackops/github-action-psscriptanalyzer/pull/3/files
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
container:
image: golang:1.22
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: go install gotest.tools/[email protected]
- run: gotestsum -- -cover -coverprofile=coverage.out -v -mod=readonly ./...
- uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed
Expand All @@ -31,7 +31,7 @@ jobs:
container:
image: node:20-stretch
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- name: Yarn setup
shell: bash
run: bin/scurl -o- https://yarnpkg.com/install.sh | bash -s -- --version 1.21.1 --network-concurrency 1
Expand All @@ -54,7 +54,7 @@ jobs:
image: docker://rust:1.76.0
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- shell: bash
run: mkdir -p target && cd target && bin/scurl -v https://github.com/xd009642/tarpaulin/releases/download/0.27.3/cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz | tar zxvf - && chmod 755 cargo-tarpaulin
- run: target/cargo-tarpaulin tarpaulin --workspace --out Xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
go-version: "1.22"
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f

- name: Initialize
# Unpinned action version so that we automatically get analyzer updates.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/linkerd/dev:v43-rust
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- shell: bash
run: |
# Extract current Rust version from the toolchain file.
Expand All @@ -40,5 +40,5 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: linkerd/dev/actions/setup-tools@v43
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: just-dev pull-dev-image
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
meta:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: tj-actions/changed-files@0874344d6ebbaa00a27da73276ae7162fadcaf69
id: changed
with:
Expand All @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/linkerd/dev:v43-go
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just go-lint --verbose --timeout=10m

Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/linkerd/dev:v43-go
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just go-fmt

Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/linkerd/dev:v43-go
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just go-fetch
- run: just go-test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
timeout-minutes: 5
steps:
- uses: linkerd/dev/actions/setup-tools@v43
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: helm-docs
- run: git diff --exit-code -- **/charts/**/README.md
34 changes: 17 additions & 17 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
meta:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- id: tag
run: echo "tag=$(CI_FORCE_CLEAN=1 bin/root-tag)" >> "$GITHUB_OUTPUT"
- uses: tj-actions/changed-files@0874344d6ebbaa00a27da73276ae7162fadcaf69
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: ./.github/actions/docker-build
id: build
with:
Expand All @@ -135,7 +135,7 @@ jobs:
docker cp "$id:/out/linkerd-linux-amd64" /home/runner/archives/linkerd
v=$(/home/runner/archives/linkerd version --short --client)
[[ "$v" == '${{ needs.meta.outputs.tag }}' ]] || exit 1
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba
with:
name: image-archives-cli
path: /home/runner/archives
Expand All @@ -158,7 +158,7 @@ jobs:
- proxy
timeout-minutes: 20
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: ./.github/actions/docker-build
id: build
env:
Expand All @@ -172,7 +172,7 @@ jobs:
run: |
mkdir -p /home/runner/archives
docker save '${{ steps.build.outputs.image }}' >'/home/runner/archives/${{ matrix.component }}.tar'
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba
with:
name: image-archives-${{ matrix.component }}
path: /home/runner/archives
Expand All @@ -188,11 +188,11 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "1.22"
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
- uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d
with:
pattern: image-archives-*
path: image-archives
Expand Down Expand Up @@ -223,8 +223,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: olix0r/cargo-action-fmt/setup@9269f3aa1ff01775d95efc97037e2cbdb41d9684
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d
with:
pattern: image-archives-*
path: image-archives
Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:
- web
timeout-minutes: 15
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: ./.github/actions/docker-build
id: build
with:
Expand All @@ -293,7 +293,7 @@ jobs:
run: |
mkdir -p /home/runner/archives
docker save '${{ steps.build.outputs.image }}' >'/home/runner/archives/${{ matrix.component }}.tar'
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba
with:
name: image-archives-${{ matrix.component }}
path: /home/runner/archives
Expand All @@ -316,11 +316,11 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "1.22"
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
- uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d
with:
pattern: image-archives-*
path: image-archives
Expand All @@ -341,11 +341,11 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "1.22"
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
- uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d
with:
pattern: image-archives-*
path: image-archives
Expand Down Expand Up @@ -375,11 +375,11 @@ jobs:
- uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "1.22"
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
- uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d
with:
pattern: image-archives-*
path: image-archives
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
env:
NODE_ENV: test
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- name: Yarn setup
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8
with:
globs: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
container: ghcr.io/linkerd/dev:v43-go
steps:
- run: apt update && apt install -y unzip
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: bin/protoc-diff
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
tag:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- run: echo "tag=$(CI_FORCE_CLEAN=1 bin/root-tag)" >> "$GITHUB_OUTPUT"
id: tag
outputs:
Expand All @@ -48,7 +48,7 @@ jobs:
# policy-controller docker builds have occasionally hit a 30-minute timeout.
timeout-minutes: 45
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- name: Set tag
run: echo 'TAG=${{ needs.tag.outputs.tag }}' >> "$GITHUB_ENV"
- uses: ./.github/actions/docker-build
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
# https://github.com/actions/upload-artifact/issues/8
- name: Upload artifact
if: matrix.component == 'cli-bin'
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba
with:
name: image-archives-cli
path: /home/runner/archives
Expand All @@ -95,12 +95,12 @@ jobs:
needs: [docker_build]
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "1.22"
- name: Download image archives
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d
with:
name: image-archives-cli
path: image-archives
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "1.22"
Expand All @@ -152,7 +152,7 @@ jobs:
runs-on: [self-hosted, Linux, ARM64]
timeout-minutes: 30
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "1.22"
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
steps:
- name: Checkout code
if: startsWith(github.ref, 'refs/tags/stable')
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- name: Chocolatey - update nuspec
if: startsWith(github.ref, 'refs/tags/stable')
run: |
Expand All @@ -213,7 +213,7 @@ jobs:
args: pack bin/win/linkerd.nuspec
- name: Chocolatey - upload package
if: startsWith(github.ref, 'refs/tags/stable')
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba
with:
name: choco
path: ./linkerd.*.nupkg
Expand All @@ -230,10 +230,10 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
# - name: Download choco package
# if: startsWith(github.ref, 'refs/tags/stable')
# uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
# uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d
# with:
# name: choco
# path: choco
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/stable') || startsWith(github.ref, 'refs/tags/edge')
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- name: Set install target for stable
if: startsWith(github.ref, 'refs/tags/stable')
run: echo "INSTALL=install" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- name: Log into GCP
uses: "google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c"
with:
Expand Down
Loading

0 comments on commit 552ffd8

Please sign in to comment.