Skip to content

Commit 3e7f95c

Browse files
authored
🎉 Support build on MacOS M1 (Apple Silicon) (#7104)
- See this doc for details: https://github.com/airbytehq/airbyte/blob/master/docs/contributing-to-airbyte/developing-locally.md - Unit test does not work yet.
1 parent b79984a commit 3e7f95c

File tree

45 files changed

+103
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+103
-51
lines changed

airbyte-config/persistence/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ dependencies {
1414
implementation project(':airbyte-config:init')
1515
implementation project(':airbyte-json-validation')
1616
implementation 'com.google.cloud:google-cloud-secretmanager:1.7.2'
17-
testImplementation "org.testcontainers:postgresql:1.15.1"
17+
testImplementation "org.testcontainers:postgresql:1.15.3"
1818
integrationTestJavaImplementation project(':airbyte-config:persistence')
1919
}

airbyte-db/jooq/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies {
1313

1414
// jOOQ code generation
1515
implementation 'org.jooq:jooq-codegen:3.13.4'
16-
implementation "org.testcontainers:postgresql:1.15.1"
16+
implementation "org.testcontainers:postgresql:1.15.3"
1717
// The jOOQ code generator only has access to classes added to the jooqGenerator configuration
1818
jooqGenerator project(':airbyte-db:lib')
1919
}

airbyte-db/lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies {
1111
implementation project(':airbyte-protocol:models')
1212
implementation project(':airbyte-json-validation')
1313
implementation "org.flywaydb:flyway-core:7.14.0"
14-
implementation "org.testcontainers:postgresql:1.15.1"
14+
implementation "org.testcontainers:postgresql:1.15.3"
1515

1616
testImplementation project(':airbyte-test-utils')
1717
testImplementation 'org.apache.commons:commons-lang3:3.11'

airbyte-e2e-testing/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ plugins {
33
id "com.github.node-gradle.node" version "2.2.4"
44
}
55

6+
def nodeVersion = System.getenv('NODE_VERSION') ?: '14.11.0'
7+
68
node {
79
download = true
8-
version = "14.11.0"
10+
version = nodeVersion
911
}
1012

1113

airbyte-integrations/bases/base-java/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim
23
COPY --from=airbyte/integration-base:dev /airbyte /airbyte
34

45
WORKDIR /airbyte

airbyte-integrations/bases/base-java/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ dependencies {
1414

1515
implementation project(':airbyte-protocol:models')
1616
implementation project(":airbyte-json-validation")
17-
implementation "org.testcontainers:testcontainers:1.15.1"
18-
implementation "org.testcontainers:jdbc:1.15.1"
17+
implementation "org.testcontainers:testcontainers:1.15.3"
18+
implementation "org.testcontainers:jdbc:1.15.3"
1919

2020
implementation files(project(':airbyte-integrations:bases:base').airbyteDocker.outputs)
2121
}

airbyte-integrations/bases/base-standard-source-test-file/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim
23

34
# Install Docker to launch worker images. Eventually should be replaced with Docker-java.
45
# See https://gitter.im/docker-java/docker-java?at=5f3eb87ba8c1780176603f4e for more information on why we are not currently using Docker-java

airbyte-integrations/bases/standard-source-test/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim
23

34
# Install Docker to launch worker images. Eventually should be replaced with Docker-java.
45
# See https://gitter.im/docker-java/docker-java?at=5f3eb87ba8c1780176603f4e for more information on why we are not currently using Docker-java

airbyte-integrations/connector-templates/generator/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ plugins {
33
id "com.github.node-gradle.node" version "2.2.4"
44
}
55

6+
def nodeVersion = System.getenv('NODE_VERSION') ?: '14.11.0'
7+
68
node {
79
download = true
8-
version = "14.11.0"
10+
version = nodeVersion
911
}
1012

1113
assemble.dependsOn(npmInstall)

airbyte-integrations/connectors/destination-e2e-test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ dependencies {
1616

1717
testImplementation project(':airbyte-test-utils')
1818

19-
testImplementation "org.testcontainers:postgresql:1.15.1"
19+
testImplementation "org.testcontainers:postgresql:1.15.3"
2020

2121
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
2222

23-
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.1"
23+
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.3"
2424

2525
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2626
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)

0 commit comments

Comments
 (0)