Skip to content

Commit b67b098

Browse files
Add GA
Adds a github actions job to upload the minimal tar.gz to our S3 bucket such that we can use it in bazel.
1 parent 0c0d504 commit b67b098

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/upload-to-s3.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Upload minimal tar to S3
2+
on:
3+
push:
4+
branches: [main]
5+
workflow_dispatch: {}
6+
jobs:
7+
upload_tar_to_s3:
8+
runs-on: ubuntu-24.04
9+
10+
permissions:
11+
contents: read
12+
id-token: write
13+
14+
steps:
15+
- name: Configure AWS credentials
16+
uses: aws-actions/configure-aws-credentials@v5
17+
with:
18+
aws-region: ${{ vars.RP_AWS_CRED_REGION }}
19+
role-to-assume: arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
20+
21+
- uses: actions/checkout@v5
22+
23+
- name: Install java
24+
run: sudo apt-get update && sudo apt-get install -y maven default-jdk
25+
26+
- name: Build binaries
27+
run: mvn clean compile package -DskipTests
28+
29+
- name: Upload to S3 bucket
30+
run: |
31+
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

0 commit comments

Comments
 (0)