Refine e2e-enterprise pipeline and scripts
Some checks failed
/ integrationOSS (push) Has been cancelled
/ integrationEnterprise (push) Has been cancelled
/ e2e (push) Has been cancelled
/ e2e-tls (push) Has been cancelled
Lint GitHub Actions Workflows / actionlint (push) Has been cancelled
/ build (push) Has been cancelled

This commit is contained in:
Srikrishna Iyer 2026-05-11 17:03:26 +05:30
parent 5305662f7f
commit 136b822494
No known key found for this signature in database
GPG key ID: 212F890C328D4059
3 changed files with 56 additions and 10 deletions

View file

@ -205,9 +205,14 @@ jobs:
- name: Generate TLS Certificates
if: ${{ !env.ACT }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_GET_RETRIES: 3
run: |
curl -sSfL https://github.com/cloudflare/cfssl/releases/download/v1.6.5/cfssl_1.6.5_linux_amd64 -o /usr/local/bin/cfssl
curl -sSfL https://github.com/cloudflare/cfssl/releases/download/v1.6.5/cfssljson_1.6.5_linux_amd64 -o /usr/local/bin/cfssljson
# Source the getGH function for authenticated GitHub downloads with retries
source ./scripts/.functions
getGH https://github.com/cloudflare/cfssl/releases/download/v1.6.5/cfssl_1.6.5_linux_amd64 /usr/local/bin/cfssl
getGH https://github.com/cloudflare/cfssl/releases/download/v1.6.5/cfssljson_1.6.5_linux_amd64 /usr/local/bin/cfssljson
chmod +x /usr/local/bin/cfssl /usr/local/bin/cfssljson
./scripts/gen-tls-certs.sh
cat .build/e2e-tls.env >> "$GITHUB_ENV"