Skip to content

s3 public buckets

s3 public buckets #388

Workflow file for this run

name: RunAI Model Streamer Library - Pull Request
on:
pull_request:
jobs:
lifecycle-install-tests:
name: Test, Build & Push
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set PACKAGE_VERSION
run: echo "PACKAGE_VERSION=0.0.0+dev.$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Run tests and build
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/run-ai/runai-model-streamer/devcontainer
cacheFrom: ghcr.io/run-ai/runai-model-streamer/devcontainer
push: never
runCmd: |
make test && \
PACKAGE_VERSION=${{ env.PACKAGE_VERSION }} make build
- name: Upload streamer package to github action
uses: actions/upload-artifact@v4
with:
name: runai_model_streamer
path: py/runai_model_streamer/dist/*
if-no-files-found: error
- name: Upload s3 streamer package to github action
uses: actions/upload-artifact@v4
with:
name: runai_model_streamer_s3
path: py/runai_model_streamer_s3/dist/*
if-no-files-found: error
- name: Upload GCS streamer package to github action
uses: actions/upload-artifact@v4
with:
name: runai_model_streamer_gcs
path: py/runai_model_streamer_gcs/dist/*
if-no-files-found: error
- name: Upload Azure streamer package to github action
uses: actions/upload-artifact@v4
with:
name: runai_model_streamer_azure
path: py/runai_model_streamer_azure/dist/*
if-no-files-found: error