File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : OMB CI
2+ on :
3+ push :
4+ branches : [main]
5+ pull_request :
6+ branches :
7+ - main
8+ workflow_dispatch : {}
9+ jobs :
10+ build_and_upload :
11+ runs-on : ubuntu-24.04
12+
13+ permissions :
14+ contents : read
15+ id-token : write
16+
17+ steps :
18+ - name : Configure AWS credentials
19+ uses : aws-actions/configure-aws-credentials@v5
20+ with :
21+ aws-region : ${{ vars.RP_AWS_CRED_REGION }}
22+ role-to-assume : arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
23+
24+ - uses : actions/checkout@v5
25+
26+ - name : Install java
27+ run : sudo apt-get update && sudo apt-get install -y maven default-jdk
28+
29+ - name : Build binaries
30+ run : mvn clean compile package -DskipTests
31+
32+ - name : Upload to S3 bucket
33+ if : github.event_name == 'push'
34+ run : |
35+ aws s3 cp package-minimal/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz s3://vectorized-public/dependencies/omb/omb_minimal_${{ github.sha }}.tar.gz
You can’t perform that action at this time.
0 commit comments