Skip to content

Commit 45c4aef

Browse files
author
openshift-pipelines-bot
committed
[bot] Update main from tektoncd/triggers to 8ff0d9cf67b27af9e582503a753ee2e31c8faee9
$ git diff --stat 8ff0d9cf67b27af9e582503a753ee2e31c8faee9..b71606a84b763e5d9c9ac9a9024f68bb0ac5973e .github/workflows/ci.yaml | 84 --------- .github/workflows/codeql-analysis.yml | 8 +- .github/workflows/go-coverage.yml | 65 +++++++ .github/workflows/golangci-lint.yaml | 6 +- .github/workflows/presubmit-ci.yaml | 194 +++++++++++++++++++++ cmd/binding-eval/cmd/root.go | 33 +++- cmd/binding-eval/cmd/root_test.go | 44 ++++- .../testdata/http_no_content_length.txt | 5 + .../testdata/http_wrong_content_length.txt | 6 + cmd/cel-eval/cmd/root.go | 33 +++- cmd/cel-eval/cmd/root_test.go | 29 +++ cmd/cel-eval/testdata/http_no_content_length.txt | 5 + .../testdata/http_wrong_content_length.txt | 6 + releases.md | 22 +-- 14 files changed, 434 insertions(+), 106 deletions(-) https://github.com/tektoncd/triggers/compare/8ff0d9cf67b27af9e582503a753ee2e31c8faee9..b71606a84b763e5d9c9ac9a9024f68bb0ac5973e
1 parent 6704861 commit 45c4aef

File tree

15 files changed

+107
-435
lines changed

15 files changed

+107
-435
lines changed

head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b71606a84b763e5d9c9ac9a9024f68bb0ac5973e
1+
8ff0d9cf67b27af9e582503a753ee2e31c8faee9

upstream/.github/workflows/ci.yaml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: Tekton Triggers CI
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- main
10+
- release-*
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14+
cancel-in-progress: true
15+
16+
defaults:
17+
run:
18+
shell: bash
19+
20+
jobs:
21+
tekton-triggers-integration-tests:
22+
name: Integration Tests
23+
runs-on: ubuntu-24.04
24+
strategy:
25+
fail-fast: false
26+
27+
env:
28+
GOPATH: ${{ github.workspace }}
29+
GO111MODULE: on
30+
KO_DOCKER_REPO: registry.local:5000/tekton
31+
CLUSTER_DOMAIN: c${{ github.run_id }}.local
32+
ARTIFACTS: ${{ github.workspace }}/artifacts
33+
34+
steps:
35+
- name: Harden runner
36+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
37+
with:
38+
egress-policy: audit
39+
40+
- name: Checkout
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42+
with:
43+
path: ${{ github.workspace }}/src/github.com/tektoncd/triggers
44+
45+
- name: Set up Go
46+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
47+
with:
48+
cache-dependency-path: "${{ github.workspace }}/src/github.com/tektoncd/triggers/go.sum"
49+
go-version-file: "${{ github.workspace }}/src/github.com/tektoncd/triggers/go.mod"
50+
51+
- name: Install dependencies
52+
working-directory: ./
53+
run: |
54+
echo '::group::install ko'
55+
curl -L https://github.com/ko-build/ko/releases/download/v0.15.4/ko_0.15.4_Linux_x86_64.tar.gz | tar xzf - ko
56+
echo '::group:: install go-junit-report'
57+
go install github.com/jstemmer/[email protected]
58+
echo '::endgroup::'
59+
chmod +x ./ko
60+
sudo mv ko /usr/local/bin
61+
echo '::endgroup::'
62+
63+
echo '::group::create required folders'
64+
mkdir -p "${ARTIFACTS}"
65+
echo '::endgroup::'
66+
67+
echo "${GOPATH}/bin" >> "$GITHUB_PATH"
68+
69+
- name: Run tests
70+
working-directory: ${{ github.workspace }}/src/github.com/tektoncd/triggers
71+
run: |
72+
${{ github.workspace }}/src/github.com/tektoncd/triggers/test/setup-kind.sh \
73+
--registry-url $(echo ${KO_DOCKER_REPO} | cut -d'/' -f 1) \
74+
--cluster-suffix c${{ github.run_id }}.local \
75+
--nodes 3 \
76+
--k8s-version v1.29.x \
77+
--e2e-script ./test/gh-e2e-tests.sh \
78+
--e2e-env ./test/e2e-tests-kind-prow.env
79+
80+
- name: Upload test results
81+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
82+
if: ${{ failure() }}
83+
with:
84+
path: ${{ env.ARTIFACTS }}

upstream/.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
45+
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
56+
uses: github/codeql-action/autobuild@v3
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
70+
uses: github/codeql-action/analyze@v3

upstream/.github/workflows/go-coverage.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

upstream/.github/workflows/golangci-lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
name: lint
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
17+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
1818
with:
1919
go-version: "1.23"
20-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc
2121
- name: golangci-lint
22-
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
22+
uses: golangci/[email protected]
2323
with:
2424
version: v2.1.6
2525
only-new-issues: true

upstream/.github/workflows/presubmit-ci.yaml

Lines changed: 0 additions & 194 deletions
This file was deleted.

0 commit comments

Comments
 (0)