Skip to content

Commit

Permalink
Merge pull request #318 from codestoryai/features/try-and-build-rust
Browse files Browse the repository at this point in the history
features/try and build rust
  • Loading branch information
theskcd authored Dec 2, 2023
2 parents a8d3bbe + d1409f9 commit 8b4a8fc
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/sidecar-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ jobs:
with:
credentials_json: '${{ secrets.GCP_GAE_SA_KEY }}'

- name: Upload to GCP for testing
env:
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_BUCKET_NAME: ${{ secrets.GCP_BUCKET_NAME }}
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
run: |
# Set your GCP project
gcloud config set project ${{ env.GCP_PROJECT_ID }}
# Copy the built binary to the GCP bucket
gsutil cp sidecar_test.7z "gs://sidecar-bin/windows/sidecar_test.zip"
# Github action parser for sure, something to test it out too quickly
- name: Compile the 7z
run: |
7z a -t7z "sidecar.7z" "onnxruntime/" "qdrant/" "target\\release\\webserver" "models/"
- name: Upload to GCP bucket generated zip file
env:
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
Expand All @@ -89,4 +73,4 @@ jobs:
# Set your GCP project
gcloud config set project ${{ env.GCP_PROJECT_ID }}
# Copy the built binary to the GCP bucket
gsutil cp sidecar.zip "gs://sidecar-bin/windows/sidecar.zip"
gsutil cp sidecar.7z "gs://sidecar-bin/windows/sidecar.7z"

0 comments on commit 8b4a8fc

Please sign in to comment.