File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Crossversion smoke test
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ sha :
7+ description : ' SHA to run against'
8+ required : false
9+ type : string
10+ file_issue_branch :
11+ description : ' Branch used in filed issues; if unset, no issues are filed'
12+ required : false
13+ type : string
14+ go_version :
15+ description : ' Go version'
16+ required : false
17+ default : ' 1.25'
18+ type : string
19+ workflow_dispatch :
20+ inputs :
21+ sha :
22+ description : ' SHA to run against'
23+ required : false
24+ type : string
25+ file_issue_branch :
26+ description : ' Branch used in filed issues; if unset, no issues are filed'
27+ required : false
28+ type : string
29+ go_version :
30+ description : ' Go version'
31+ required : false
32+ default : ' 1.25'
33+ type : string
34+
35+ jobs :
36+ crossversion-smoke-test :
37+ name : crossversion-smoke-test
38+ runs-on : ubuntu-latest
39+ steps :
40+ - uses : actions/checkout@v4
41+ with :
42+ ref : ${{ inputs.sha || github.sha }}
43+ fetch-depth : 0
44+
45+ - name : Fetch all branches
46+ run : git fetch --all
47+
48+ - name : Set up Go
49+ uses : actions/setup-go@v4
50+ with :
51+ go-version : ${{ inputs.go_version }}
52+
53+ - run : ./scripts/crossversion_smoke_test.sh
54+
55+ - name : Post issue on failure
56+ if : failure() && inputs.file_issue_branch != ''
57+ id : create-or-update-unique-issue
58+ uses : ./.github/actions/post-issue
59+ with :
60+ title : " ${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
61+ body : " The nightly ${{ github.job }} test run failed on ${{ inputs.sha }} (go${{ inputs.go_version }}). Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
62+ labels : " C-test-failure"
Original file line number Diff line number Diff line change 6161 file_issue_branch : ' master'
6262 bootstrap_go_version : ' 1.25'
6363 go_branch : ' cockroach-go1.25.3'
64+
65+ crossversion :
66+ strategy :
67+ fail-fast : false
68+ matrix :
69+ go : [ '1.25' ]
70+ uses : ./.github/workflows/crossversion.yaml
71+ with :
72+ sha : ${{ github.sha }}
73+ file_issue_branch : ' master'
74+ go_version : ${{ matrix.go }}
You can’t perform that action at this time.
0 commit comments