From 79015899eb084a6428a96362d0f670429826d124 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 8 Mar 2024 07:28:56 -0500 Subject: [PATCH 1/3] ci: make usage_rate a string in matrix definition --- .github/workflows/python.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 7d34d3c0cd..00100dd8fc 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -35,19 +35,19 @@ jobs: - name: source-asana type: capture version: v1 - usage_rate: 1.0 + usage_rate: "1.0" - name: source-hubspot-native type: capture version: v1 - usage_rate: 1.0 + usage_rate: "1.0" - name: source-gladly type: capture version: v1 - usage_rate: 1.0 + usage_rate: "1.0" - name: source-google-sheets-native type: capture version: v1 - usage_rate: 0.0 + usage_rate: "0.0" steps: - uses: actions/checkout@v4 From d8cdd70258d0c45b473741ba84e8d5d66a359418 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 8 Mar 2024 07:35:37 -0500 Subject: [PATCH 2/3] ci: cosmetic change to get ci to run --- estuary-cdk/common.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/estuary-cdk/common.Dockerfile b/estuary-cdk/common.Dockerfile index d98529ba60..30217e972f 100644 --- a/estuary-cdk/common.Dockerfile +++ b/estuary-cdk/common.Dockerfile @@ -30,7 +30,7 @@ ARG USAGE_RATE LABEL FLOW_RUNTIME_PROTOCOL=${CONNECTOR_TYPE} LABEL FLOW_RUNTIME_CODEC=json -LABEL dev.estuary.usage-rate=$USAGE_RATE +LABEL dev.estuary.usage-rate=${USAGE_RATE} COPY --from=builder /opt/$CONNECTOR_NAME /opt/$CONNECTOR_NAME COPY --from=builder /opt/estuary-cdk /opt/estuary-cdk From 7ab27a23f49b84fb30e648a41d1c2fe5664a18e1 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 8 Mar 2024 07:42:58 -0500 Subject: [PATCH 3/3] ci: fix passing usage_rate build arg to python connectors --- .github/workflows/python.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 00100dd8fc..4aa6d6095a 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -85,7 +85,7 @@ jobs: build-args: | CONNECTOR_NAME=${{ matrix.connector.name }} CONNECTOR_TYPE=${{ matrix.connector.type }} - USAGE_RATE=${{ matrix.usage_rate }} + USAGE_RATE=${{ matrix.connector.usage_rate }} tags: ghcr.io/estuary/${{ matrix.connector.name }}:local - name: Deployment