diff --git a/airbyte_rock/rockcraft.yaml b/airbyte_rock/rockcraft.yaml index 5dc6b4b..172095a 100644 --- a/airbyte_rock/rockcraft.yaml +++ b/airbyte_rock/rockcraft.yaml @@ -49,7 +49,7 @@ parts: plugin: dump source: https://github.com/airbytehq/airbyte-platform.git # yamllint disable-line source-type: git - source-tag: v0.63.8 + source-tag: v1.1.0 override-build: | cp -r . ${CRAFT_PART_INSTALL}/airbyte-platform stage: @@ -80,25 +80,28 @@ parts: plugin: nil override-build: | mkdir ${CRAFT_PART_INSTALL}/airbyte-server - mkdir ${CRAFT_PART_INSTALL}/airbyte-api-server mkdir ${CRAFT_PART_INSTALL}/airbyte-workers mkdir ${CRAFT_PART_INSTALL}/airbyte-bootloader mkdir ${CRAFT_PART_INSTALL}/airbyte-cron mkdir ${CRAFT_PART_INSTALL}/airbyte-connector-builder-server + mkdir ${CRAFT_PART_INSTALL}/airbyte-workload-api-server + mkdir ${CRAFT_PART_INSTALL}/airbyte-workload-launcher tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-server/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-server - tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-api-server/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-api-server tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-workers/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-workers tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-bootloader/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-bootloader tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-cron/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-cron tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-connector-builder-server/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-connector-builder-server + tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-workload-api-server/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-workload-api-server + tar -xvf ${CRAFT_STAGE}/airbyte-platform/airbyte-workload-launcher/build/distributions/airbyte-app.tar -C ${CRAFT_PART_INSTALL}/airbyte-workload-launcher stage: - airbyte-server - - airbyte-api-server - airbyte-workers - airbyte-bootloader - airbyte-cron - airbyte-connector-builder-server + - airbyte-workload-api-server + - airbyte-workload-launcher local-files: after: [organize-tars] diff --git a/charmcraft.yaml b/charmcraft.yaml index d9dbb42..14145f9 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -428,7 +428,9 @@ config: # Your workload’s containers. containers: - airbyte-api-server: + airbyte-workload-api-server: + resource: airbyte-image + airbyte-workload-launcher: resource: airbyte-image airbyte-bootloader: resource: airbyte-image @@ -448,4 +450,3 @@ resources: airbyte-image: type: oci-image description: OCI image for Airbyte - diff --git a/src/literals.py b/src/literals.py index 91ce1b5..0d2a429 100644 --- a/src/literals.py +++ b/src/literals.py @@ -7,15 +7,16 @@ INTERNAL_API_PORT = 8001 AIRBYTE_API_PORT = 8006 WORKLOAD_API_PORT = 8007 -AIRBYTE_VERSION = "0.63.8" +AIRBYTE_VERSION = "1.1.0" DB_NAME = "airbyte-k8s_db" CONTAINER_HEALTH_CHECK_MAP = { - "airbyte-api-server": { - "port": AIRBYTE_API_PORT, + "airbyte-workload-api-server": { + "port": WORKLOAD_API_PORT, "health_endpoint": "/health", }, + "airbyte-workload-launcher": None, "airbyte-bootloader": None, "airbyte-connector-builder-server": None, "airbyte-cron": {