Skip to content

Commit

Permalink
Merge branch 'master' into ddavydov/#985-salesforce-fallback-to-rest-…
Browse files Browse the repository at this point in the history
…api-fix
  • Loading branch information
davydov-d committed Nov 14, 2022
2 parents 4395a9c + ebeef48 commit cf8f06e
Show file tree
Hide file tree
Showing 770 changed files with 56,099 additions and 2,783 deletions.
8 changes: 2 additions & 6 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ assignees: ''
<!--
Welcome to Airbyte!
We're really appreciate your report and know that this will help us build an
We appreciate your report and know that this will help us build an
amazing tool. If you want to contribute yourself, you can find a good place
to start by searching for the good-first-issues label or maybe... by trying
to solve this one? (we can help debug this with you!)
Right now we are in alpha, so we're releasing versions a lot more frequently than
normal. You can help us get to the root of the problem faster by filling out the
questionnaire below!
It's really important having all information and context.
It's really important to have all the information and context.
You can remove the examples bellow and fill out with your information.
-->
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-and-push-branch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
branch_version_tag: ${{ inputs.branch_version_tag }}

- name: Login to Docker (on Master)
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ inputs.dockerhub_username }}
password: ${{ inputs.dockerhub_token }}
Expand Down
7 changes: 4 additions & 3 deletions .github/actions/build-branch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ runs:
[[ "${{ inputs.branch_version_tag }}" != '' ]] && echo "branch_version_tag=${{ inputs.branch_version_tag }}" >> $GITHUB_OUTPUT \
|| { short_hash=$(git rev-parse --short=10 HEAD); echo "branch_version_tag=dev-$short_hash" >> $GITHUB_OUTPUT ; }
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "lts/gallium"

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: "3.9"

Expand Down
6 changes: 3 additions & 3 deletions .github/actions/cache-build-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
steps:
- name: Pip Caching
if: ${{ inputs.cache_python }} == 'true'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
Expand All @@ -23,7 +23,7 @@ runs:
${{ inputs.cache-key }}-pip-${{ runner.os }}-
- name: Npm Caching
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.npm
Expand All @@ -33,7 +33,7 @@ runs:
# this intentionally does not use restore-keys so we don't mess with gradle caching
- name: Gradle and Python Caching
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand Down
5 changes: 3 additions & 2 deletions .github/actions/ci-tests-runner/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ runs:
using: "composite"
steps:
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"

- name: Tests of CI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
environment: more-secrets
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commands-for-testing-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
command: ${{ steps.regex.outputs.first_match }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check PAT rate limits
run: |
./tools/bin/find_non_rate_limited_PAT \
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
comment-id: ${{ needs.set-params.outputs.comment-id }}
reactions: eyes, rocket
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ needs.set-params.outputs.repo }}
ref: ${{ needs.set-params.outputs.ref }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/connector_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:
schedule:
# 11am UTC is 4am PDT.
- cron: '0 11 * * *'
- cron: "0 11 * * *"

jobs:
launch_integration_tests:
Expand All @@ -15,11 +15,12 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: "zulu"
java-version: "17"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
echo -e "$CHANGELOG" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get Version
id: get_version
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
paths:
- 'docs/**'
- "docs/**"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -23,10 +23,10 @@ jobs:

# Node.js is needed for Yarn
- name: Setup Yarn
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16.14.0'
cache: 'yarn'
node-version: "16.14.0"
cache: "yarn"
cache-dependency-path: docusaurus

- name: Run Docusaurus
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/deploy-oss-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- master
paths:
paths:
- airbyte-config/init/src/main/resources/seed/**

workflow_dispatch:
Expand All @@ -17,15 +17,16 @@ jobs:
concurrency: deploy-oss-connector-catalog
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Cloud SDK
uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.PROD_SPEC_CACHE_SA_KEY }}
export_default_credentials: true
- name: Install Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"
- name: Generate catalog
run: SUB_BUILD=PLATFORM ./gradlew :airbyte-config:init:processResources
Expand All @@ -35,3 +36,14 @@ jobs:
gcs_bucket_name="prod-airbyte-cloud-connector-metadata-service"
catalog_path="airbyte-config/init/src/main/resources/seed/oss_catalog.json"
gsutil -h "Cache-Control:public, max-age=10" cp "$catalog_path" "gs://$gcs_bucket_name/oss_catalog.json"
- name: Check PAT rate limits
run: |
./tools/bin/find_non_rate_limited_PAT \
${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \
${{ secrets.OCTAVIA_PAT }}
- name: Trigger Cloud catalog generation
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ env.PAT }}
repository: airbytehq/airbyte-cloud
event-type: generate-cloud-catalog
11 changes: 6 additions & 5 deletions .github/workflows/fe-validate-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check for broken links in FE
on:
workflow_dispatch:
schedule:
- cron: '0 14 * * *'
- cron: "0 14 * * *"

jobs:
validate-frontend-links:
Expand All @@ -12,13 +12,14 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "lts/gallium"

Expand Down Expand Up @@ -47,4 +48,4 @@ jobs:
args: >-
{\"channel\":\"C03088BTMFC\", \"blocks\":[
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\":alarm: The periodic link validation failed!\n\n\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"See details on <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|GitHub>\n\"}}]}
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"See details on <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|GitHub>\n\"}}]}
13 changes: 7 additions & 6 deletions .github/workflows/gke-kube-test-command.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: GKE Kube Acceptance Test
on:
schedule:
- cron: '0 0 * * 0' # runs at midnight UTC every Sunday
- cron: "0 0 * * 0" # runs at midnight UTC every Sunday
workflow_dispatch:
inputs:
repo:
Expand All @@ -25,7 +25,7 @@ jobs:
pat: ${{ steps.variables.outputs.pat }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check PAT rate limits
id: variables
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ github.event.inputs.repo }}
ref: ${{ github.event.inputs.gitref }}
Expand All @@ -71,16 +71,17 @@ jobs:
> :clock2: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
- name: Checkout Airbyte
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ${{ github.event.inputs.repo || "airbytehq/airbyte" }}
ref: ${{ github.event.inputs.gitref || "master" }}

- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "lts/gallium"

Expand Down
Loading

0 comments on commit cf8f06e

Please sign in to comment.