Repository navigation
[TT-19585 release-5.3] gromit: sync templates - #8866
probelabs[bot] wants to merge 1 commit into
Conversation
| # (see "Save Go build cache"). PRs read the cache but never write it, so | ||
| # they don't re-upload the multi-GB cache each run, and the store isn't | ||
| # churned. master/tags keep the cache warm for PRs to restore from. | ||
| - uses: WarpBuilds/cache/restore@f643a1ba29942d56621d07fc2d4284c7219868ad # v1 |
| # causing a perpetual re-save + cache eviction. Skip if we already had an | ||
| # exact hit (nothing new to store). | ||
| - name: Save Go build cache | ||
| uses: WarpBuilds/cache/save@f643a1ba29942d56621d07fc2d4284c7219868ad # v1 |
| upgrade-tests: | ||
| needs: | ||
| - test-controller-distros | ||
| strategy: | ||
| fail-fast: true | ||
| matrix: | ||
| arch: | ||
| - amd64 | ||
| - arm64 | ||
| distro: ${{ fromJson(needs.test-controller-distros.outputs.rpm) }} | ||
| steps: | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | ||
| with: | ||
| fetch-depth: 1 | ||
| sparse-checkout: ci | ||
| - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 | ||
| with: | ||
| name: rpm | ||
| - uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3 | ||
| - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 | ||
| - name: generate dockerfile | ||
| run: | | ||
| echo 'FROM ${{ matrix.distro }} | ||
| ARG RHELARCH | ||
| COPY tyk-gateway*.${RHELARCH}.rpm /tyk-gateway.rpm | ||
| RUN command -v curl || yum install -y curl | ||
| RUN command -v useradd || yum install -y shadow-utils | ||
| # TODO(security): curl|bash - consider fetching script and verifying checksum before execution | ||
| RUN curl -fsSL https://packagecloud.io/install/repositories/tyk/tyk-gateway/script.rpm.sh | bash || echo "Repository setup failed, but continuing" # SECURITY: accepted risk, see TODO above | ||
| RUN yum install -y tyk-gateway-3.0.8-1 || echo "Previous version not found, testing fresh install" | ||
| RUN curl https://keyserver.tyk.io/tyk.io.rpm.signing.key.2020 -o tyk-gateway.key && rpm --import tyk-gateway.key | ||
| RUN rpm --checksig /tyk-gateway.rpm | ||
| RUN rpm -Uvh --force /tyk-gateway.rpm | ||
|
|
||
| RUN /opt/tyk-gateway/install/setup.sh --listenport=8080 --redishost=localhost --redisport=6379 --domain="" | ||
| COPY ci/tests/api-functionality/data/api.json /opt/tyk-gateway/apps/ | ||
| CMD ["/opt/tyk-gateway/tyk", "--conf", "/opt/tyk-gateway/tyk.conf"] | ||
| ' | tee Dockerfile | ||
| - name: install on ${{ matrix.distro }} | ||
| uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6 | ||
| with: | ||
| context: "." | ||
| platforms: linux/${{ matrix.arch }} | ||
| build-args: | | ||
| RHELARCH=${{ startsWith(matrix.arch, 'arm64') && 'aarch64' || 'x86_64' }} | ||
| cache-from: type=gha | ||
| cache-to: type=gha,mode=max | ||
| file: Dockerfile | ||
| push: false | ||
| tags: test-${{ matrix.distro }}-${{ matrix.arch }} | ||
| load: true | ||
| - name: Test the built container image with api functionality test. | ||
| run: "docker run -d -p8080:8080 --name=test --platform linux/${{ matrix.arch }} --network ${{ job.container.network }} --rm test-${{ matrix.distro }}-${{ matrix.arch }}\nsleep 2\n./ci/tests/api-functionality/api_test.sh\nsleep 2\ndocker stop test || true \n" | ||
| uses: TykTechnologies/github-actions/.github/workflows/upgrade-tests.yml@production | ||
| with: | ||
| deb: ${{ needs.test-controller-distros.outputs.deb }} | ||
| rpm: ${{ needs.test-controller-distros.outputs.rpm }} | ||
| rpm_amd64: ${{ needs.test-controller-distros.outputs.rpm_amd64 }} | ||
| package_name: tyk-gateway | ||
| upgrade_repo: tyk-gateway | ||
| runs_on: ${{ vars.DEFAULT_RUNNER }} | ||
| run_gateway_tests: true |
zizmor findings
Full details are in the workflow run. |
|
Failed to generate code suggestions for PR |
f368dd4 to
3b8e712
Compare
3b8e712 to
b021d72
Compare
|
Gromit seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
b021d72 to
365a4f0
Compare
365a4f0 to
884c6a5
Compare
0a76d5e to
fe6c676
Compare
fe6c676 to
6e10c74
Compare
650464e to
49a371d
Compare
49a371d to
f571b54
Compare
f571b54 to
e2bbe20
Compare
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
1 similar comment
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
e2bbe20 to
0857295
Compare
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
1 similar comment
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
0857295 to
ae4233c
Compare
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
1 similar comment
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
ae4233c to
43224c1
Compare
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
1 similar comment
|
SentinelOne CNS Hardcoded Secret Detector SentinelOne CNS is a cloud-agnostic, agentless CSPM & CWPP solution that continuously detects and prevents vulnerabilities that have the highest probability of being exploited in Azure, AWS, Google Cloud, and Kubernetes. |
Auto-generated from gromit templates by policy sync.