Skip to content

Commit 774044f

Browse files
committed
2 parents eebb492 + 7616735 commit 774044f

File tree

4,547 files changed

+88680
-61919
lines changed

Some content is hidden

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

4,547 files changed

+88680
-61919
lines changed

.bumpversion.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.35.66-alpha
2+
current_version = 0.39.7-alpha
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-[a-z]+)?
@@ -47,3 +47,7 @@ serialize =
4747
[bumpversion:file:octavia-cli/README.md]
4848

4949
[bumpversion:file:octavia-cli/Dockerfile]
50+
51+
[bumpversion:file:octavia-cli/setup.py]
52+
serialize =
53+
{major}.{minor}.{patch}

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
### SHARED ###
13-
VERSION=0.35.66-alpha
13+
VERSION=0.39.7-alpha
1414

1515
# When using the airbyte-db via default docker image
1616
CONFIG_ROOT=/data
@@ -40,7 +40,7 @@ DATABASE_PASSWORD=docker
4040
DATABASE_HOST=db
4141
DATABASE_PORT=5432
4242
DATABASE_DB=airbyte
43-
# translate manually DATABASE_URL=jdbc:postgresql://${DATABASE_HOST}:${DATABASE_PORT/${DATABASE_DB} (do not include the username or password here)
43+
# translate manually DATABASE_URL=jdbc:postgresql://${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_DB} (do not include the username or password here)
4444
DATABASE_URL=jdbc:postgresql://db:5432/airbyte
4545
JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=0.29.15.001
4646

@@ -90,6 +90,6 @@ MAX_DISCOVER_WORKERS=5
9090

9191

9292
### FEATURE FLAGS ###
93-
NEW_SCHEDULER=false
9493
AUTO_DISABLE_FAILING_CONNECTIONS=false
9594
EXPOSE_SECRETS_IN_EXPORT=false
95+
FORCE_MIGRATE_SECRET_STORE=false

.gitbook.yaml

Lines changed: 0 additions & 75 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ assignees: ''
88
---
99
<!--
1010
Welcome to Airbyte!
11+
1112
We're really appreciate your report and know that this will help us build an
1213
amazing tool. If you want to contribute yourself, you can find a good place
1314
to start by searching for the good-first-issues label or maybe... by trying
@@ -28,7 +29,6 @@ You can remove the examples bellow and fill out with your information.
2829
- **Deployment**: example are Docker or Kubernetes deploy env
2930
- **Source Connector and version**: (if applicable example Salesforce 0.2.3) <!-- Found in the admin page in the UI in the Source tab. -->
3031
- **Destination Connector and version**: (if applicable example Postgres 0.3.3) <!-- Found in the admin page in the UI in the Destination tab. -->
31-
- **Severity**: Very Low / Low / Medium / High / Critical
3232
- **Step where error happened**: Deploy / Sync job / Setup new connection / Update connector / Upgrade Airbyte
3333

3434
## Current Behavior
@@ -38,22 +38,14 @@ You can remove the examples bellow and fill out with your information.
3838
*Tell us what should happen.*
3939

4040
## Logs
41-
*If applicable, please upload the logs from the failing operation.
42-
For sync jobs, you can download the full logs from the UI by going to the sync attempt page and
43-
clicking the download logs button at the top right of the logs display window.*
44-
45-
<details>
46-
<summary>LOG</summary>
47-
48-
```
41+
<!--
42+
Please upload the complete log files from the failing operation.
4943
50-
replace this with
51-
your long log
52-
output here
53-
54-
```
55-
56-
</details>
44+
We ask for complete log files because these files capture essential metadata about your environment.
45+
The team will read the full stack trace of errors and try to find the root cause of the error.
46+
For a sync failure, you can download the log in the sync page, and for other errors please download the server and scheduler logs in the Settings Page -> Configuration.
47+
You can remove this after uploading the file.
48+
-->
5749

5850
## Steps to Reproduce
5951
1.

.github/actions/build-and-push-branch/action.yml

Lines changed: 9 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,60 +4,30 @@ inputs:
44
branch_version_tag:
55
description: 'Used to tag jars and docker images with a branch-specific version (should use the form "dev-<commit_hash>" to pass AirbyteVersion validation)'
66
required: false
7+
dockerhub_username:
8+
description: "Used to log in to dockerhub for pushing images"
9+
required: true
710
dockerhub_token:
811
description: "Used to log in to dockerhub for pushing images"
912
required: true
1013
runs:
1114
using: "composite"
1215
steps:
13-
- name: "Parse Input"
14-
id: parse-input
15-
shell: bash
16-
run: |-
17-
# if the *branch_version_tag* input param is not specified, then generate it as 'dev-<commit_hash>`
18-
#
19-
[[ "${{ inputs.branch_version_tag }}" != '' ]] && echo "::set-output name=branch_version_tag::${{ inputs.branch_version_tag }}" \
20-
|| { short_hash=$(git rev-parse --short HEAD); echo "::set-output name=branch_version_tag::dev-$short_hash"; }
21-
22-
- uses: actions/setup-java@v1
23-
with:
24-
java-version: "17"
25-
26-
- uses: actions/setup-node@v1
27-
with:
28-
node-version: "16.13.0"
29-
30-
- name: Set up CI Gradle Properties
31-
run: |
32-
mkdir -p ~/.gradle/
33-
cat > ~/.gradle/gradle.properties <<EOF
34-
org.gradle.jvmargs=-Xmx8g -Xss4m --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
35-
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
36-
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
37-
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
38-
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
39-
org.gradle.workers.max=8
40-
org.gradle.vfs.watch=false
41-
EOF
42-
shell: bash
43-
4416
- name: Build
45-
run: VERSION=${{ steps.parse-input.outputs.branch_version_tag }} SUB_BUILD=PLATFORM ./gradlew build --scan
46-
shell: bash
47-
48-
- name: Publish to Maven Local
49-
run: VERSION=${{ steps.parse-input.outputs.branch_version_tag }} SUB_BUILD=PLATFORM ./gradlew publishToMavenLocal
50-
shell: bash
17+
id: build
18+
uses: ./.github/actions/build-branch
19+
with:
20+
branch_version_tag: ${{ inputs.branch_version_tag }}
5121

5222
- name: Login to Docker (on Master)
5323
uses: docker/login-action@v1
5424
with:
55-
username: airbytebot
25+
username: ${{ inputs.dockerhub_username }}
5626
password: ${{ inputs.dockerhub_token }}
5727

5828
- name: Push Docker Images
5929
run: |
6030
GIT_REVISION=$(git rev-parse HEAD)
6131
[ [ -z "$GIT_REVISION" ] ] && echo "Couldn't get the git revision..." && exit 1
62-
VERSION=${{ steps.parse-input.outputs.branch_version_tag }} GIT_REVISION=$GIT_REVISION docker-compose -f docker-compose-cloud.build.yaml push
32+
VERSION=${{ steps.build.outputs.branch_version_tag }} GIT_REVISION=$GIT_REVISION docker-compose -f docker-compose-cloud.build.yaml push
6333
shell: bash
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: "Build OSS Branch"
2+
description: "Build jars and docker images tagged for a particular branch. Primarily used for running OSS branch code in Cloud."
3+
inputs:
4+
branch_version_tag:
5+
description: 'Used to tag jars and docker images with a branch-specific version (should use the form "dev-<commit_hash>" to pass AirbyteVersion validation)'
6+
required: false
7+
outputs:
8+
branch_version_tag:
9+
description: 'Tag used for jars and docker images. Either user specified or auto generated as `dev-<commit_hash>`'
10+
value: ${{ steps.parse-input.outputs.branch_version_tag }}
11+
runs:
12+
using: "composite"
13+
steps:
14+
- name: "Parse Input"
15+
id: parse-input
16+
shell: bash
17+
run: |-
18+
# if the *branch_version_tag* input param is not specified, then generate it as 'dev-<commit_hash>`
19+
#
20+
[[ "${{ inputs.branch_version_tag }}" != '' ]] && echo "::set-output name=branch_version_tag::${{ inputs.branch_version_tag }}" \
21+
|| { short_hash=$(git rev-parse --short HEAD); echo "::set-output name=branch_version_tag::dev-$short_hash"; }
22+
23+
- uses: actions/setup-java@v1
24+
with:
25+
java-version: "17"
26+
27+
- uses: actions/setup-node@v1
28+
with:
29+
node-version: "16.13.0"
30+
31+
- name: Set up CI Gradle Properties
32+
run: |
33+
mkdir -p ~/.gradle/
34+
cat > ~/.gradle/gradle.properties <<EOF
35+
org.gradle.jvmargs=-Xmx8g -Xss4m --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
36+
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
37+
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
38+
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
39+
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
40+
org.gradle.workers.max=8
41+
org.gradle.vfs.watch=false
42+
EOF
43+
shell: bash
44+
45+
- name: Build
46+
run: VERSION=${{ steps.parse-input.outputs.branch_version_tag }} SUB_BUILD=PLATFORM ./gradlew build --scan
47+
shell: bash
48+
49+
- name: Publish to Maven Local
50+
run: VERSION=${{ steps.parse-input.outputs.branch_version_tag }} SUB_BUILD=PLATFORM ./gradlew publishToMavenLocal
51+
shell: bash
52+

.github/actions/start-aws-runner/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inputs:
99
required: true
1010
ec2-image-id:
1111
# github-self-hosted-runner-ubuntu-20-100g-disk-with-cypress-deps
12-
default: "ami-08927c058921b27f4"
12+
default: "ami-0f23be2f917510c26"
1313
required: true
1414
ec2-instance-type:
1515
default: "c5.2xlarge"

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ area/platform:
1717
- charts/*
1818
- charts/**/*
1919

20-
area/frontend:
20+
team/frontend:
2121
- airbyte-webapp/*
2222
- airbyte-webapp/**/*
2323

.github/workflows/assign-issue-to-project.yml

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -18,63 +18,5 @@ jobs:
1818
# Specify which label should get added to which project. The project number can be found
1919
# as part of the URL after projects/<id> when viewing the project on GitHub.
2020
projects: |
21-
area/frontend=7
21+
team/frontend=7
2222
project/onboarding-improvements=16
23-
# Specific handling for platform project handling, which also sets several
24-
# fields of newly added items
25-
add-area-platform-issues-to-platform-project:
26-
runs-on: ubuntu-latest
27-
name: Add area/platform issue to Platform Project
28-
env:
29-
ORG: airbytehq
30-
CLOUD_PROJECT_ID: 6 # https://github.com/orgs/airbytehq/projects/6/views/8
31-
OSS_PROJECT_ID: 11 # https://github.com/orgs/airbytehq/projects/11
32-
FIELD_STATUS: Status
33-
STATUS_TODO: Todo
34-
FIELD_DATE_ADDED: Date Added
35-
steps:
36-
- name: Set current date env var
37-
id: set_date
38-
run: echo ::set-output name=CURRENT_DATE::$(date +'%Y-%m-%dT%H:%M:%S%z')
39-
40-
- name: Add issue to the cloud project if labelled with area/platform and not area/platform-oss
41-
uses: leonsteinhaeuser/[email protected]
42-
if: contains(github.event.issue.labels.*.name, 'area/platform') && !contains(github.event.issue.labels.*.name, 'area/platform-oss')
43-
with:
44-
gh_token: ${{ env.GH_PROJECT_TOKEN }}
45-
organization: ${{ env.ORG }}
46-
project_id: ${{ env.CLOUD_PROJECT_ID }}
47-
resource_node_id: ${{ github.event.issue.node_id }}
48-
operation_mode: custom_field
49-
custom_field_values: '[{\"name\": \"Status\",\"type\": \"single_select\",\"value\": \"${{ env.STATUS_TODO }}\"},{\"name\": \"${{ env.FIELD_DATE_ADDED }}\",\"type\": \"date\",\"value\": \"${{ steps.set_date.outputs.CURRENT_DATE }}\"}]'
50-
- name: Add issue to the cloud oss if labelled with area/platform and not area/platform-cloud
51-
uses: leonsteinhaeuser/[email protected]
52-
if: contains(github.event.issue.labels.*.name, 'area/platform') && !contains(github.event.issue.labels.*.name, 'area/platform-cloud')
53-
with:
54-
gh_token: ${{ env.GH_PROJECT_TOKEN }}
55-
organization: ${{ env.ORG }}
56-
project_id: ${{ env.OSS_PROJECT_ID }}
57-
resource_node_id: ${{ github.event.issue.node_id }}
58-
operation_mode: custom_field
59-
custom_field_values: '[{\"name\": \"Status\",\"type\": \"single_select\",\"value\": \"${{ env.STATUS_TODO }}\"},{\"name\": \"${{ env.FIELD_DATE_ADDED }}\",\"type\": \"date\",\"value\": \"${{ steps.set_date.outputs.CURRENT_DATE }}\"}]'
60-
- name: Add issue to project if labelled with area/platform-cloud
61-
uses: leonsteinhaeuser/[email protected]
62-
if: contains(github.event.issue.labels.*.name, 'area/platform-cloud')
63-
with:
64-
gh_token: ${{ env.GH_PROJECT_TOKEN }}
65-
organization: ${{ env.ORG }}
66-
project_id: ${{ env.CLOUD_PROJECT_ID }}
67-
resource_node_id: ${{ github.event.issue.node_id }}
68-
operation_mode: custom_field
69-
custom_field_values: '[{\"name\": \"Status\",\"type\": \"single_select\",\"value\": \"${{ env.STATUS_TODO }}\"},{\"name\": \"${{ env.FIELD_DATE_ADDED }}\",\"type\": \"date\",\"value\": \"${{ steps.set_date.outputs.CURRENT_DATE }}\"}]'
70-
- name: Add issue to project if labelled with area/platform-oss
71-
uses: leonsteinhaeuser/[email protected]
72-
if: contains(github.event.issue.labels.*.name, 'area/platform-oss')
73-
with:
74-
gh_token: ${{ env.GH_PROJECT_TOKEN }}
75-
organization: ${{ env.ORG }}
76-
project_id: ${{ env.OSS_PROJECT_ID }}
77-
resource_node_id: ${{ github.event.issue.node_id }}
78-
operation_mode: custom_field
79-
custom_field_values: '[{\"name\": \"Status\",\"type\": \"single_select\",\"value\": \"${{ env.STATUS_TODO }}\"},{\"name\": \"${{ env.FIELD_DATE_ADDED }}\",\"type\": \"date\",\"value\": \"${{ steps.set_date.outputs.CURRENT_DATE }}\"}]'
80-

0 commit comments

Comments
 (0)