Skip to content

Commit

Permalink
added firestore credentials to CI and fix grpc installation (airbyteh…
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmullapudi authored Nov 21, 2021
1 parent 519ea2a commit 1f7a42b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ FROM python:3.7.11-alpine3.14 as base
FROM base as builder
WORKDIR /airbyte/integration_code

# added second line to solve grpcio install problem (https://github.com/grpc/grpc/issues/24722)
# upgrade pip to the latest version
RUN apk --no-cache upgrade \
&& apk add --no-cache gcc g++ linux-headers \
&& pip install --upgrade pip \
&& apk --no-cache add tzdata build-base

Expand All @@ -27,12 +29,15 @@ RUN echo "Etc/UTC" > /etc/timezone
# bash is installed for more convenient debugging.
RUN apk --no-cache add bash

# this is used by grpc
RUN apk --no-cache add libstdc++

# copy payload code only
COPY main.py ./
COPY destination_firestore ./destination_firestore

ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.version=0.1.1
LABEL io.airbyte.name=airbyte/destination-firestore
1 change: 1 addition & 0 deletions tools/bin/ci_credentials.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export_github_secrets
read_secrets destination-bigquery "$BIGQUERY_INTEGRATION_TEST_CREDS" "credentials.json"
read_secrets destination-bigquery-denormalized "$BIGQUERY_DENORMALIZED_INTEGRATION_TEST_CREDS" "credentials.json"
read_secrets destination-databricks "$DESTINATION_DATABRICKS_CREDS"
read_secrets destination-firestore "$DESTINATION_FIRESTORE_CREDS"
read_secrets destination-gcs "$DESTINATION_GCS_CREDS"
read_secrets destination-kvdb "$DESTINATION_KVDB_TEST_CREDS"
read_secrets destination-keen "$DESTINATION_KEEN_TEST_CREDS"
Expand Down

0 comments on commit 1f7a42b

Please sign in to comment.