diff --git a/.github/workflows/temp-build-and-push.yaml b/.github/workflows/temp-build-and-push.yaml new file mode 100644 index 000000000..c0eb1708b --- /dev/null +++ b/.github/workflows/temp-build-and-push.yaml @@ -0,0 +1,47 @@ +name: Build and push docker image + +on: + push: + branches: + - "POP-1859/add-client-tests-for-identity-deletion" + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + +jobs: + docker: + runs-on: + labels: ubuntu-22.04-64core + permissions: + packages: write + contents: read + attestations: write + id-token: write + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to the Container registry + uses: docker/login-action@v3 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and Push + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: | + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} + platforms: linux/amd64 + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/iris-mpc/src/bin/client.rs b/iris-mpc/src/bin/client.rs index a4e88eb2e..f24a57158 100644 --- a/iris-mpc/src/bin/client.rs +++ b/iris-mpc/src/bin/client.rs @@ -310,6 +310,7 @@ async fn main() -> eyre::Result<()> { for batch_idx in 0..N_BATCHES { let mut handles = Vec::new(); for batch_query_idx in 0..BATCH_SIZE { + sleep(Duration::from_millis(1000)).await; let shares_encryption_public_keys2 = shares_encryption_public_keys.clone(); let requests_sns_client2 = requests_sns_client.clone(); let thread_db2 = db.clone();