Skip to content

Commit

Permalink
update rock to v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kelkawi-a committed Oct 27, 2024
1 parent 9e14108 commit af6fffd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
11 changes: 7 additions & 4 deletions airbyte_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand Down
5 changes: 3 additions & 2 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -448,4 +450,3 @@ resources:
airbyte-image:
type: oci-image
description: OCI image for Airbyte

7 changes: 4 additions & 3 deletions src/literals.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit af6fffd

Please sign in to comment.