Skip to content

Commit 7274969

Browse files
committed
test
1 parent dffb444 commit 7274969

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

.github/workflows/bump-cdk-version-and-merge-command.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
fi
7575
done
7676
77-
- name: Trigger the target workflow
77+
- name: Release the CDK
7878
env:
7979
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided by GitHub Actions
8080
run: |
@@ -94,39 +94,38 @@ jobs:
9494
echo "Workflow run $RUN_ID finished."
9595
working-directory: ${{ github.workspace }} # Ensure gh command runs from the repo root
9696

97-
- name: Commit changes
98-
run: |
99-
git add .
100-
git commit -m "Bump the cdk version to ${{ github.event.inputs.version }}"
101-
git push
102-
103-
- name: Respond to user
104-
uses: actions/github-script@v6
105-
with:
106-
script: |
107-
github.rest.issues.createComment({
108-
issue_number: context.issue.number,
109-
owner: context.repo.owner,
110-
repo: context.repo.repo,
111-
body: "Java CDK version bumped to `${{ env.new_version }}` and connectors updated successfully. 🚀"
112-
})
113-
114-
- name: Trigger the target workflow
97+
- name: Release the connector
11598
env:
11699
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided by GitHub Actions
117100
run: |
118101
modified_files=$(git diff --name-only origin/master)
119-
102+
120103
# Process the list to get the unique connector folder names
121104
connector_folders=$(echo "$modified_files" | \
122105
grep -oP 'airbyte-integrations/connectors/\K[^/]+' | \
123106
sort | \
124107
uniq)
125-
108+
126109
# Read each line from the connector_folders variable
127110
echo "$connector_folders" | while read -r folder; do
128111
# Call the function, passing the current folder name as an argument
129112
gh workflow run 'Connector Ops CI - Publish Connectors' --ref ${{ github.ref_name }} -F connectors-option="--name=$folder" -F gitref=${{ github.ref_name }}
130113
done
131114
working-directory: ${{ github.workspace }} # Ensure gh command runs from the repo root
132115

116+
- name: Commit changes
117+
run: |
118+
git add .
119+
git commit -m "Bump the cdk version to ${{ github.event.inputs.version }}"
120+
git push
121+
122+
- name: Respond to user
123+
uses: actions/github-script@v6
124+
with:
125+
script: |
126+
github.rest.issues.createComment({
127+
issue_number: context.issue.number,
128+
owner: context.repo.owner,
129+
repo: context.repo.repo,
130+
body: "Java CDK version bumped to `${{ env.new_version }}` and connectors updated successfully. 🚀"
131+
})

airbyte-integrations/connectors/destination-csv/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ airbyteJavaConnector {
1010
}
1111

1212
//remove once upgrading the CDK version to 0.4.x or later
13+
//
1314
java {
1415
compileJava {
1516
options.compilerArgs.remove("-Werror")

airbyte-integrations/connectors/destination-dev-null/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ dependencies {
2424
// integrationTestLegacyImplementation testFixtures("io.airbyte.cdk:airbyte-cdk-db-destinations:0.47.0")
2525
}
2626

27-
//
2827
// Uncomment to run locally
2928
//run {
3029
// standardInput = System.in

0 commit comments

Comments
 (0)