Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kelkawi-a committed Oct 14, 2024
1 parent aadd131 commit 651025b
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions airbyte_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ summary: Airbyte rock
description: Airbyte OCI image for the Airbyte charm
version: "1.0"
base: [email protected]
build-base: [email protected]
license: Apache-2.0
platforms:
amd64:
Expand Down Expand Up @@ -36,14 +35,11 @@ parts:
apt-get update
apt-get install -y kubectl
mkdir -p ${CRAFT_PART_INSTALL}/usr/local/bin
cp -r $(which kubectl) ${CRAFT_PART_INSTALL}/kubectl
mkdir -p ${CRAFT_PART_INSTALL}/usr/local/lib/python3.10/dist-packages
cp -r $(which kubectl) ${CRAFT_PART_INSTALL}/usr/local/bin/kubectl
pip install --upgrade setuptools pip airbyte-cdk==5.12.0 \
--target=/${CRAFT_PART_INSTALL}/dist
organize:
kubectl: usr/local/bin/kubectl
dist: usr/local/lib/python3.10/dist-packages
--target=/${CRAFT_PART_INSTALL}/usr/local/lib/python3.10/dist-packages
stage:
- usr/local/bin/kubectl
- usr/local/lib/python3.10/dist-packages
Expand All @@ -54,8 +50,6 @@ parts:
source: https://github.com/airbytehq/airbyte-platform.git # yamllint disable-line
source-type: git
source-tag: v0.63.8
override-build: |
cp -r . ${CRAFT_PART_INSTALL}/airbyte-platform
stage:
- airbyte-platform

Expand All @@ -70,7 +64,6 @@ parts:
- gradle
- openjdk-21-jdk-headless
- npm
- docker.io
build-snaps:
- docker
stage-packages:
Expand All @@ -84,8 +77,6 @@ parts:
after: [assemble]
plugin: nil
override-build: |
ls ${CRAFT_STAGE}/airbyte-platform
ls ${CRAFT_STAGE}/airbyte-platform/airbyte-bootloader
mkdir ${CRAFT_PART_INSTALL}/airbyte-server
mkdir ${CRAFT_PART_INSTALL}/airbyte-api-server
mkdir ${CRAFT_PART_INSTALL}/airbyte-workers
Expand Down

0 comments on commit 651025b

Please sign in to comment.