Skip to content

Commit eb77ac2

Browse files
authored
Merge branch 'main' into fix/issue-2652-silent-skip-edited-comments
2 parents ab5c8c1 + de6de63 commit eb77ac2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2264
-2167
lines changed

.claude/skills/release-notes/references/release-notes-format.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ kubectl apply -f https://github.com/{owner}/{repo}/releases/download/{tag}/relea
6060

6161
The documentation for this release is available here :
6262

63-
https://release-{tag_dashed}.pipelines-as-code.pages.dev
63+
https://docs.pipelinesascode.com/{tag}
6464
```
6565

6666
Where `{tag_dashed}` is the tag with dots replaced by dashes (e.g., `v0.31.0``v0-31-0`).
@@ -125,7 +125,7 @@ kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releas
125125

126126
The documentation for this release is available here :
127127

128-
https://release-v0-31-0.pipelines-as-code.pages.dev
128+
https://docs.pipelinesascode.com/v0.31.0
129129

130130
## What's Changed
131131
<!-- GitHub auto-generated changelog goes here -->

.github/workflows/e2e.yaml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ jobs:
110110
TEST_BITBUCKET_CLOUD_TOKEN: ${{ secrets.BITBUCKET_CLOUD_TOKEN }}
111111
TEST_BITBUCKET_CLOUD_USER: cboudjna
112112

113-
# Bitbucket Server
114-
TEST_BITBUCKET_SERVER_API_URL: ${{ secrets.BITBUCKET_SERVER_API_URL }}
115-
TEST_BITBUCKET_SERVER_E2E_REPOSITORY: PAC/pac-e2e-tests
116-
TEST_BITBUCKET_SERVER_TOKEN: ${{ secrets.BITBUCKET_SERVER_TOKEN }}
117-
TEST_BITBUCKET_SERVER_USER: pipelines
118-
TEST_BITBUCKET_SERVER_WEBHOOK_SECRET: ${{ secrets.BITBUCKET_SERVER_WEBHOOK_SECRET }}
113+
# Bitbucket Data Center
114+
TEST_BITBUCKET_DATA_CENTER_API_URL: ${{ secrets.BITBUCKET_DATA_CENTER_API_URL }}
115+
TEST_BITBUCKET_DATA_CENTER_E2E_REPOSITORY: PAC/pac-e2e-tests
116+
TEST_BITBUCKET_DATA_CENTER_TOKEN: ${{ secrets.BITBUCKET_DATA_CENTER_TOKEN }}
117+
TEST_BITBUCKET_DATA_CENTER_USER: pipelines
118+
TEST_BITBUCKET_DATA_CENTER_WEBHOOK_SECRET: ${{ secrets.BITBUCKET_DATA_CENTER_WEBHOOK_SECRET }}
119119
TESTRR_URL: https://testrr.pipelinesascode.com
120120
TESTRR_PROJECT: pipelinesascode
121121
TESTRR_USERNAME: pac
@@ -135,6 +135,7 @@ jobs:
135135
if: github.event_name == 'pull_request_target'
136136
uses: pipelines-as-code/ok-to-test@25881c6245695bd81a22df9f2ebdd9569b420581 # v1
137137
with:
138+
github-token: ${{ secrets.GH_TOKEN }}
138139
team-slugs: ${{ env.TARGET_TEAM_SLUGS }}
139140

140141
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
@@ -295,12 +296,12 @@ jobs:
295296
TEST_BITBUCKET_CLOUD_TOKEN: ${{ secrets.BITBUCKET_CLOUD_TOKEN }}
296297
TEST_BITBUCKET_CLOUD_USER: cboudjna
297298

298-
# Bitbucket Server
299-
TEST_BITBUCKET_SERVER_API_URL: ${{ secrets.BITBUCKET_SERVER_API_URL }}
300-
TEST_BITBUCKET_SERVER_E2E_REPOSITORY: PAC/pac-e2e-tests
301-
TEST_BITBUCKET_SERVER_TOKEN: ${{ secrets.BITBUCKET_SERVER_TOKEN }}
302-
TEST_BITBUCKET_SERVER_USER: pipelines
303-
TEST_BITBUCKET_SERVER_WEBHOOK_SECRET: ${{ secrets.BITBUCKET_SERVER_WEBHOOK_SECRET }}
299+
# Bitbucket Data Center
300+
TEST_BITBUCKET_DATA_CENTER_API_URL: ${{ secrets.BITBUCKET_DATA_CENTER_API_URL }}
301+
TEST_BITBUCKET_DATA_CENTER_E2E_REPOSITORY: PAC/pac-e2e-tests
302+
TEST_BITBUCKET_DATA_CENTER_TOKEN: ${{ secrets.BITBUCKET_DATA_CENTER_TOKEN }}
303+
TEST_BITBUCKET_DATA_CENTER_USER: pipelines
304+
TEST_BITBUCKET_DATA_CENTER_WEBHOOK_SECRET: ${{ secrets.BITBUCKET_DATA_CENTER_WEBHOOK_SECRET }}
304305
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
305306
with:
306307
detached: true
@@ -376,15 +377,22 @@ jobs:
376377
TEST_GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
377378
TEST_GITLAB_SECOND_TOKEN: ${{ secrets.TEST_GITLAB_SECOND_TOKEN }}
378379
TEST_GITLAB_SECOND_GROUP: ${{ vars.TEST_GITLAB_SECOND_GROUP }}
379-
TEST_BITBUCKET_SERVER_TOKEN: ${{ secrets.BITBUCKET_SERVER_TOKEN }}
380-
TEST_BITBUCKET_SERVER_API_URL: ${{ secrets.BITBUCKET_SERVER_API_URL }}
381-
TEST_BITBUCKET_SERVER_WEBHOOK_SECRET: ${{ secrets.BITBUCKET_SERVER_WEBHOOK_SECRET }}
380+
TEST_BITBUCKET_DATA_CENTER_TOKEN: ${{ secrets.BITBUCKET_DATA_CENTER_TOKEN }}
381+
TEST_BITBUCKET_DATA_CENTER_API_URL: ${{ secrets.BITBUCKET_DATA_CENTER_API_URL }}
382+
TEST_BITBUCKET_DATA_CENTER_WEBHOOK_SECRET: ${{ secrets.BITBUCKET_DATA_CENTER_WEBHOOK_SECRET }}
382383
TEST_GITEA_SMEEURL: ${{ steps.gosmee-url.outputs.url }}
383384
TEST_GITLAB_SMEEURL: ${{ steps.gosmee-gitlab-url.outputs.url }}
384385
TEST_GITHUB_SECOND_WEBHOOK_SMEE_URL: ${{ steps.gosmee-ghe-webhook-url.outputs.url }}
385386
run: |
386387
./hack/gh-workflow-ci.sh run_e2e_tests
387388
389+
- name: Generate GitHub Step Summary
390+
if: ${{ always() }}
391+
env:
392+
TEST_PROVIDER: ${{ matrix.provider }}
393+
run: |
394+
./hack/gh-workflow-ci.sh generate_github_summary
395+
388396
- name: Collect logs
389397
if: ${{ always() }}
390398
env:
@@ -401,7 +409,7 @@ jobs:
401409
402410
- name: Upload artifacts
403411
if: ${{ always() }}
404-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
412+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
405413
with:
406414
name: logs-e2e-tests-${{ matrix.provider }}
407415
path: /tmp/logs

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ linters:
9090
path: _test\.go
9191
- path: pkg/resolve/resolve.go
9292
text: don't use `init` function
93+
- path: pkg/llm/providers/
94+
text: don't use `init` function
9395
- linters:
9496
- revive
9597
path: pkg/errors/

.tekton/linter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ spec:
281281
target=x86_64-unknown-linux-gnu
282282
fi
283283
version=$(curl -H "Authorization: Bearer ${HUB_TOKEN}" -L -s https://api.github.com/repos/zizmorcore/zizmor/releases/latest | python3 -c 'import sys, json; print(json.load(sys.stdin)["tag_name"])')
284-
curl -sH "Authorization: Bearer ${HUB_TOKEN}" -L "https://github.com/zizmorcore/zizmor/releases/download/${version}/zizmor-${target}.tar.gz" | tar -xz -C /tmp/ --strip-components=1 -f-
284+
curl -sH "Authorization: Bearer ${HUB_TOKEN}" -L "https://github.com/zizmorcore/zizmor/releases/download/${version}/zizmor-${target}.tar.gz" | tar -xz -C /tmp/ -f-
285285
/tmp/zizmor .github/workflows/
286286
287287
- name: ruff-lint

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ GOLANGCI_LINT=golangci-lint
55
GOFUMPT=gofumpt
66
TKN_BINARY_NAME := tkn
77
TKN_BINARY_URL := https://tekton.dev/docs/cli/\#installation
8+
DEFAULT_GOTESTSUM_FORMAT ?= testdox
89
LDFLAGS=
910
OUTPUT_DIR=bin
1011
GO = go
@@ -68,7 +69,7 @@ test-unit: ## Run unit tests
6869
@mkdir -p tmp/
6970
@echo "Running unit tests..."
7071
@if command -v gotestsum >/dev/null 2>&1; then \
71-
gotestsum --format testdox -- $(DEFAULT_GO_TEST_FLAGS) $(GO_TEST_FLAGS) -timeout $(TIMEOUT_UNIT) ./pkg/...; \
72+
gotestsum --format ${DEFAULT_GOTESTSUM_FORMAT} -- $(DEFAULT_GO_TEST_FLAGS) $(GO_TEST_FLAGS) -timeout $(TIMEOUT_UNIT) ./pkg/...; \
7273
else \
7374
$(GO) test $(DEFAULT_GO_TEST_FLAGS) $(GO_TEST_FLAGS) -timeout $(TIMEOUT_UNIT) ./pkg/...; \
7475
fi

config/300-repositories.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ spec:
398398
Model specifies which LLM model to use for this role (optional).
399399
You can specify any model supported by your provider.
400400
If not specified, provider-specific defaults are used:
401-
- OpenAI: gpt-5-mini
402-
- Gemini: gemini-2.5-flash-lite
401+
- OpenAI: gpt-5.4-mini
402+
- Gemini: gemini-3.1-flash-lite-preview
403403
type: string
404404
name:
405405
description: Name is a unique identifier for this analysis role

docs/content/docs/api/settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ Defines the base prompt template that Pipelines-as-Code sends to the LLM.
264264
{{< param name="roles[].model" type="string" id="param-roles-model" >}}
265265
Specifies the LLM model for this role. If omitted, Pipelines-as-Code uses provider-specific defaults:
266266

267-
- OpenAI: `gpt-5-mini`
268-
- Gemini: `gemini-2.5-flash-lite`
267+
- OpenAI: `gpt-5.4-mini`
268+
- Gemini: `gemini-3.1-flash-lite-preview`
269269
{{< /param >}}
270270

271271
{{< param name="roles[].on_cel" type="string" id="param-roles-on-cel" >}}

docs/content/docs/guides/gitops-commands/push-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 1
55

66
This page explains how to trigger GitOps commands on pushed commits. Use these commands when you want to retest or cancel PipelineRuns triggered by push events rather than pull requests.
77

8-
{{< support_matrix github_app="true" github_webhook="true" forgejo="false" gitlab="true" bitbucket_cloud="false" bitbucket_server="false" >}}
8+
{{< support_matrix github_app="true" github_webhook="true" forgejo="false" gitlab="true" bitbucket_cloud="false" bitbucket_datacenter="false" >}}
99

1010
You can trigger GitOps commands on a pushed commit by including them in your commit messages. Pipelines-as-Code supports two scopes:
1111

@@ -80,7 +80,7 @@ The following sections show how to add a GitOps comment on a pushed commit in ea
8080

8181
## Triggering PipelineRuns on Git Tags
8282

83-
{{< support_matrix github_app="true" github_webhook="true" forgejo="false" gitlab="true" bitbucket_cloud="false" bitbucket_server="false" >}}
83+
{{< support_matrix github_app="true" github_webhook="true" forgejo="false" gitlab="true" bitbucket_cloud="false" bitbucket_datacenter="false" >}}
8484

8585
**What it does:** You can retrigger a PipelineRun against a specific Git tag by commenting on the tagged commit. Pipelines-as-Code resolves the tag to its commit SHA and runs the matching PipelineRun against that commit.
8686

docs/content/docs/guides/llm-analysis/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Additional output destinations (`check-run` and `annotation`) and structured JSO
2626

2727
Pipelines-as-Code supports two LLM providers:
2828

29-
- **OpenAI** -- Default model: `gpt-5-mini`
30-
- **Google Gemini** -- Default model: `gemini-2.5-flash-lite`
29+
- **OpenAI** -- Default model: `gpt-5.4-mini`
30+
- **Google Gemini** -- Default model: `gemini-3.1-flash-lite-preview`
3131

3232
You can specify any model your chosen provider supports. See [Model Selection]({{< relref "/docs/guides/llm-analysis/model-and-triggers#model-selection" >}}) for guidance on choosing the right model.
3333

@@ -53,7 +53,7 @@ spec:
5353
key: "token"
5454
roles:
5555
- name: "failure-analysis"
56-
model: "gpt-5-mini" # Optional: specify model (uses provider default if omitted)
56+
model: "gpt-5.4-mini" # Optional: specify model (uses provider default if omitted)
5757
prompt: |
5858
You are a DevOps expert. Analyze this failed pipeline and:
5959
1. Identify the root cause
@@ -129,3 +129,4 @@ When you set `commit_content: true`, Pipelines-as-Code includes the following fi
129129
- Pipelines-as-Code **intentionally excludes email addresses** from the commit context to protect personally identifiable information (PII) when sending data to external LLM providers.
130130
- Fields appear only if your Git provider makes them available. Some providers supply limited information (for example, Bitbucket Cloud provides only the author name).
131131
- Author and committer may be the same person or different (for example, when using `git commit --amend` or rebasing).
132+
asing).

docs/content/docs/guides/llm-analysis/model-and-triggers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ This page explains how to choose the right LLM model for each analysis role and
99

1010
Each analysis role can specify a different model. Choosing the right model lets you balance cost against analysis depth. If you do not specify a model, Pipelines-as-Code uses provider-specific defaults:
1111

12-
- **OpenAI**: `gpt-5-mini`
13-
- **Gemini**: `gemini-2.5-flash-lite`
12+
- **OpenAI**: `gpt-5.4-mini`
13+
- **Gemini**: `gemini-3.1-flash-lite-preview`
1414

1515
### Specifying Models
1616

@@ -37,7 +37,7 @@ settings:
3737
model: "gpt-5"
3838
prompt: "Analyze security failures..."
3939

40-
# Use default model (gpt-5-mini) for general analysis
40+
# Use default model (gpt-5.4-mini) for general analysis
4141
- name: "general-failure"
4242
# No model specified - uses provider default
4343
prompt: "Analyze this failure..."

0 commit comments

Comments
 (0)