Skip to content

Commit 1789909

Browse files
OPE-858 migrate from cirrus to github
1 parent 454f142 commit 1789909

File tree

4 files changed

+62
-74
lines changed

4 files changed

+62
-74
lines changed

.cirrus.star

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

.cirrus.yml

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

.github/workflows/build.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- branch-*
7+
pull_request:
8+
merge_group:
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
16+
runs-on: ubuntu-24.04-large
17+
name: Build
18+
permissions:
19+
id-token: write
20+
contents: write
21+
steps:
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
- uses: jdx/mise-action@bfb9fa0b029db830a8c570757cee683df207a6c5 # v2.4.0
24+
with:
25+
version: 2025.7.12
26+
- uses: SonarSource/ci-github-actions/get-build-number@v1
27+
- uses: SonarSource/ci-github-actions/build-maven@v1
28+
env:
29+
DEVELOCITY_ACCESS_KEY: develocity.sonar.build=${{ env.DEVELOCITY_TOKEN }}
30+
ARTIFACTORY_URL: https://repox.jfrog.io/repox
31+
with:
32+
deploy-pull-request: true
33+
artifactory-reader-role: private-reader
34+
artifactory-deployer-role: qa-deployer
35+
use-develocity: true
36+
- name: Check license compliance
37+
run: ./check-license-compliance.sh
38+
39+
promote:
40+
needs: [build]
41+
concurrency:
42+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
43+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
44+
runs-on: ubuntu-24.04-large
45+
name: Promote
46+
permissions:
47+
id-token: write
48+
contents: write
49+
steps:
50+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51+
- uses: jdx/mise-action@bfb9fa0b029db830a8c570757cee683df207a6c5 # v2.4.0
52+
with:
53+
cache_save: false
54+
version: 2025.7.12
55+
- uses: SonarSource/ci-github-actions/get-build-number@v1
56+
- uses: SonarSource/ci-github-actions/promote@v1
57+
with:
58+
promote-pull-request: true

mise.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tools]
2+
java = "21.0"
3+
maven = "3.9"
4+

0 commit comments

Comments
 (0)