|
83 | 83 | - name: Commit and Push Changes
|
84 | 84 | uses: stefanzweifel/git-auto-commit-action@v4
|
85 | 85 | with:
|
86 |
| - file_pattern: airbyte-cdk/python/setup.py airbyte-cdk/python/.bumpversion.cfg airbyte-cdk/python/CHANGELOG.md |
| 86 | + file_pattern: airbyte-cdk/python/setup.py airbyte-cdk/python/.bumpversion.cfg airbyte-cdk/python/CHANGELOG.md airbyte-cdk/python/Dockerfile |
87 | 87 | commit_message: 🤖 Bump ${{ github.event.inputs.release-type }} version of Airbyte CDK
|
88 | 88 | commit_user_name: Octavia Squidington III
|
89 | 89 | commit_user_email: [email protected]
|
@@ -194,33 +194,6 @@ jobs:
|
194 | 194 | env:
|
195 | 195 | TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
196 | 196 | TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
197 |
| - - name: Post success to Slack channel dev-connectors-extensibility |
198 |
| - |
199 |
| - continue-on-error: true |
200 |
| - with: |
201 |
| - channel-id: C04J1M66D8B |
202 |
| - payload: | |
203 |
| - { |
204 |
| - "text": "A new version of Airbyte CDK has been released!", |
205 |
| - "blocks": [ |
206 |
| - { |
207 |
| - "type": "section", |
208 |
| - "text": { |
209 |
| - "type": "mrkdwn", |
210 |
| - "text": "A new version of Airbyte CDK has been released with changelog: ${{ github.event.inputs.changelog-message }}!\n\n" |
211 |
| - } |
212 |
| - }, |
213 |
| - { |
214 |
| - "type": "section", |
215 |
| - "text": { |
216 |
| - "type": "mrkdwn", |
217 |
| - "text": "See details on <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|GitHub>\n" |
218 |
| - } |
219 |
| - } |
220 |
| - ] |
221 |
| - } |
222 |
| - env: |
223 |
| - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }} |
224 | 197 | - name: Post failure to Slack channel dev-connectors-extensibility
|
225 | 198 | if: ${{ failure() }}
|
226 | 199 |
|
@@ -286,6 +259,61 @@ jobs:
|
286 | 259 | ./tools/integrations/manage.sh publish airbyte-cdk/python false
|
287 | 260 | attempt_limit: 3
|
288 | 261 | attempt_delay: 5000 in # ms
|
| 262 | + - name: Post success to Slack channel dev-connectors-extensibility |
| 263 | + |
| 264 | + continue-on-error: true |
| 265 | + with: |
| 266 | + channel-id: C04J1M66D8B |
| 267 | + payload: | |
| 268 | + { |
| 269 | + "text": "A new version of Airbyte CDK has been released!", |
| 270 | + "blocks": [ |
| 271 | + { |
| 272 | + "type": "section", |
| 273 | + "text": { |
| 274 | + "type": "mrkdwn", |
| 275 | + "text": "A new version of Airbyte CDK has been released with changelog: ${{ github.event.inputs.changelog-message }}!\n\n" |
| 276 | + } |
| 277 | + }, |
| 278 | + { |
| 279 | + "type": "section", |
| 280 | + "text": { |
| 281 | + "type": "mrkdwn", |
| 282 | + "text": "See details on <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|GitHub>\n" |
| 283 | + } |
| 284 | + } |
| 285 | + ] |
| 286 | + } |
| 287 | + env: |
| 288 | + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }} |
| 289 | + - name: Post failure to Slack channel dev-connectors-extensibility |
| 290 | + if: ${{ failure() }} |
| 291 | + |
| 292 | + continue-on-error: true |
| 293 | + with: |
| 294 | + channel-id: C04J1M66D8B |
| 295 | + payload: | |
| 296 | + { |
| 297 | + "text": "Error during `publish-cdk` while publishing Airbyte CDK!", |
| 298 | + "blocks": [ |
| 299 | + { |
| 300 | + "type": "section", |
| 301 | + "text": { |
| 302 | + "type": "mrkdwn", |
| 303 | + "text": "Error while publishing Airbyte CDK!" |
| 304 | + } |
| 305 | + }, |
| 306 | + { |
| 307 | + "type": "section", |
| 308 | + "text": { |
| 309 | + "type": "mrkdwn", |
| 310 | + "text": "See details on <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|GitHub>\n" |
| 311 | + } |
| 312 | + } |
| 313 | + ] |
| 314 | + } |
| 315 | + env: |
| 316 | + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }} |
289 | 317 |
|
290 | 318 | # In case of self-hosted EC2 errors, remove this block.
|
291 | 319 | stop-publish-docker-image-runner-0:
|
|
0 commit comments