Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ updates:
cypress-docker:
applies-to: version-updates
patterns:
- "cypress/*"
- "cypress/*"

- package-ecosystem: "github-actions"
directory: "/.github"
schedule:
interval: "monthly"
4 changes: 2 additions & 2 deletions .github/workflows/build_image_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Build PR image and upload artifact
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: Install make
Expand All @@ -25,7 +25,7 @@ jobs:
- name: build and save standalone image
run: OCI_BUILD_OPTS="--label quay.expires-after=2w" IMAGE_ORG=${{ env.WF_ORG }} VERSION=tmp CLEAN_BUILD=1 STANDALONE=true make tar-image
- name: upload artifacts
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: pr
path: out/
14 changes: 7 additions & 7 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: install make
run: sudo apt-get install make
- name: set up go 1.x
uses: actions/setup-go@v6
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: '1.26'
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: build, lint, test
Expand All @@ -42,11 +42,11 @@ jobs:
- name: install make
run: sudo apt-get install make
- name: set up node.js
uses: actions/setup-node@v3
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6
with:
node-version: 22
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: build and test
Expand All @@ -66,18 +66,18 @@ jobs:
- name: install make
run: sudo apt-get install make
- name: set up go 1.x
uses: actions/setup-go@v6
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: '1.26'
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: run benchmark comparison
run: make benchmark-server-compare
- name: upload benchmark results
if: always()
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: benchmark-results
path: pkg/server/benchmark-current.txt
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: install make
run: sudo apt-get install make
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: docker login to quay.io
Expand Down Expand Up @@ -49,11 +49,12 @@ jobs:
- name: install make
run: sudo apt-get install make
- name: set up go 1.x
uses: actions/setup-go@v6
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: '1.26'
cache: false
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: Test
Expand All @@ -75,11 +76,11 @@ jobs:
- name: install make
run: sudo apt-get install make
- name: set up node.js
uses: actions/setup-node@v3
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6
with:
node-version: 22
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push_image_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
echo "main_image=${{ env.WF_REGISTRY }}/${{ env.WF_IMAGE }}:${head_sha::8}" >> $GITHUB_ENV
echo "sa_image=${{ env.WF_REGISTRY }}/${{ env.WF_IMAGE_SA }}:${head_sha::8}" >> $GITHUB_ENV
- name: download artifact
uses: actions/download-artifact@v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: pr
run-id: ${{github.event.workflow_run.id }}
Expand All @@ -64,7 +64,7 @@ jobs:
run: |
DOCKER_BUILDKIT=1 docker push ${{ env.main_image }}
DOCKER_BUILDKIT=1 docker push ${{ env.sa_image }}
- uses: actions/github-script@v9
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: validate tag
Expand Down Expand Up @@ -45,12 +45,9 @@ jobs:
run: |
MULTIARCH_TARGETS="${{ env.WF_MULTIARCH_TARGETS }}" IMAGE_ORG=${{ env.WF_ORG }} VERSION=${{ env.tag }} CLEAN_BUILD=1 STANDALONE=true make images
- name: create draft release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
with:
tag_name: ${{ env.tag }}
release_name: ${{ env.tag }}
name: ${{ env.tag }}
draft: true
prerelease: false
2 changes: 1 addition & 1 deletion pkg/httpclient/http_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func NewTransport(timeout time.Duration, skipTLS bool, capath string, userCertPa
transport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
slog.Warn("skipping TLS checks. SSL certificate verification is now disabled !")
} else if capath != "" || userCertPath != "" {
transport.TLSClientConfig = &tls.Config{}
transport.TLSClientConfig = &tls.Config{MinVersion: tls.VersionTLS13}

if capath != "" {
caCert, err := os.ReadFile(capath)
Expand Down
Loading