[release] 0.49.0 - New Observability Integration, logging and overall… #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Long Running SDK CD | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
env: | |
api_key: ${{ secrets.LRS_SERVER_KEY }} | |
image_tag: python | |
jobs: | |
CD: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout LRS repo | |
uses: actions/checkout@v3 | |
with: | |
repository: statsig-io/long-running-sdk | |
ref: main | |
token: ${{ secrets.ROIM }} | |
- name: Checkout SDK repo | |
uses: actions/checkout@v3 | |
with: | |
repository: statsig-io/private-python-sdk | |
ref: main | |
token: ${{ secrets.ROIM }} | |
path: long-running-sdk/python | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: statsig | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: python/Dockerfile | |
push: true | |
tags: statsig/statsig-forward-proxy:latest,statsig/long-running-sdk:${{ env.image_tag }} | |
github-token: ${{ secrets.GH_CI_CD_PAT }} | |
build-args: | |
secret_key=${{env.api_key}} | |
platforms: linux/amd64 | |