From b59619460f2476fcbbf38057dfdf813c67b27257 Mon Sep 17 00:00:00 2001 From: "Sherif A. Nada" Date: Tue, 14 Sep 2021 17:55:58 -0700 Subject: [PATCH] publish #6058 (#6059) --- .../connectors/source-posthog/acceptance-test-docker.sh | 2 +- .../source-posthog/integration_tests/invalid_config.json | 2 +- .../connectors/source-posthog/source_posthog/spec.json | 8 ++------ docs/integrations/sources/posthog.md | 1 + 4 files changed, 5 insertions(+), 8 deletions(-) mode change 100644 => 100755 airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh diff --git a/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh old mode 100644 new mode 100755 index c522eebbd94e..4ceedd9e7ba0 --- a/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh # Build latest connector image -docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) +docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image docker pull airbyte/source-acceptance-test:latest diff --git a/airbyte-integrations/connectors/source-posthog/integration_tests/invalid_config.json b/airbyte-integrations/connectors/source-posthog/integration_tests/invalid_config.json index 1b3435fb9a6d..2428e75446a3 100644 --- a/airbyte-integrations/connectors/source-posthog/integration_tests/invalid_config.json +++ b/airbyte-integrations/connectors/source-posthog/integration_tests/invalid_config.json @@ -1,4 +1,4 @@ { "api_key": "value1", - "start_date": "2021-01-01-T00:00:00.000000Z" + "start_date": "2021-01-01T00:00:00Z" } diff --git a/airbyte-integrations/connectors/source-posthog/source_posthog/spec.json b/airbyte-integrations/connectors/source-posthog/source_posthog/spec.json index 6fed07820adb..ae7e8beb9e04 100644 --- a/airbyte-integrations/connectors/source-posthog/source_posthog/spec.json +++ b/airbyte-integrations/connectors/source-posthog/source_posthog/spec.json @@ -12,9 +12,7 @@ "type": "string", "description": "The date from which you'd like to replicate the data", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", - "examples": [ - "2021-01-01T00:00:00.000000Z" - ] + "examples": ["2021-01-01T00:00:00Z"] }, "api_key": { "type": "string", @@ -25,9 +23,7 @@ "type": "string", "default": "https://app.posthog.com", "description": "Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com).", - "examples": [ - "https://posthog.example.com" - ] + "examples": ["https://posthog.example.com"] } } } diff --git a/docs/integrations/sources/posthog.md b/docs/integrations/sources/posthog.md index 931ac7b495c0..a20e70243ea1 100644 --- a/docs/integrations/sources/posthog.md +++ b/docs/integrations/sources/posthog.md @@ -56,6 +56,7 @@ Please follow these [steps](https://posthog.com/docs/api/overview#how-to-obtain- | Version | Date | Pull Request | Subject | | :------ | :-------- | :----- | :------ | +| 0.1.4 | 2021-09-14 | [6058](https://github.com/airbytehq/airbyte/pull/6058) | Support self-hosted posthog instances | | 0.1.3 | 2021-07-20 | [4001](https://github.com/airbytehq/airbyte/pull/4001) | Incremental streams read only relevant pages| | 0.1.2 | 2021-07-15 | [4692](https://github.com/airbytehq/airbyte/pull/4692) | Use account information for checking the connection| | 0.1.1 | 2021-07-05 | [4539](https://github.com/airbytehq/airbyte/pull/4539) | Add `AIRBYTE_ENTRYPOINT` env variable for kubernetes support|