Skip to content

Commit

Permalink
fix ci some more
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitRanque committed Oct 15, 2024
1 parent 8c75d83 commit c0fe77d
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/deploy-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ jobs:
mkdir "plugins/clickhouse/$GITHUB_REF_NAME"
cp "${ROOT}/release/manifest.yaml" "${ROOT}/cli-plugins-index/plugins/clickhouse/$GITHUB_REF_NAME/manifest.yaml"
cp "${ROOT}/release/artifacts/manifest.yaml" "${ROOT}/cli-plugins-index/plugins/clickhouse/$GITHUB_REF_NAME/manifest.yaml"
git add .
git commit -m "Release ClickHouse $GITHUB_REF_NAME"
Expand All @@ -280,19 +280,6 @@ jobs:
--title "Release ClickHouse $GITHUB_REF_NAME" \
--head "$BRANCH_NAME" \
--base "master"
# scream into Slack if something goes wrong
- name: Report Status
if: always()
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: failure
notification_title: "😧 Error on <{repo_url}|{repo}>"
message_format: "🐴 *{workflow}* {status_message} for <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.BROKEN_BUILD_SLACK_WEBHOOK_URL }}

create-ndc-hub-pr:
name: Create NDC-Hub PR
Expand Down Expand Up @@ -344,8 +331,8 @@ jobs:
git checkout -b $BRANCH_NAME
# create new connector definition
mkdir "${ROOT}/ndc-hub/registry/hasura/clickhouse/releases/$GITHUB_REF_NAME"
cat "${ROOT}/ci/templates/connector-packaging.json" | envsubst > "${ROOT}/ndc-hub/registry/hasura/clickhouse/releases/v$RELEASE_VERSION/connector-packaging.json"
mkdir "${ROOT}/ndc-hub/registry/hasura/clickhouse/releases/v$RELEASE_VERSION"
cat "${ROOT}/ndc-clickhouse/ci/templates/connector-packaging.json" | envsubst > "${ROOT}/ndc-hub/registry/hasura/clickhouse/releases/v$RELEASE_VERSION/connector-packaging.json"
# modify metadata file to add new entry
UPDATED_METADATA=cat "${ROOT}/ndc-hub/registry/hasura/clickhouse/metadata.json" |
Expand All @@ -365,15 +352,3 @@ jobs:
--title "Release ClickHouse $GITHUB_REF_NAME" \
--head "$BRANCH_NAME" \
--base "main"
# scream into Slack if something goes wrong
- name: Report Status
if: always()
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: failure
notification_title: "😧 Error on <{repo_url}|{repo}>"
message_format: "🐴 *{workflow}* {status_message} for <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.BROKEN_BUILD_SLACK_WEBHOOK_URL }}

0 comments on commit c0fe77d

Please sign in to comment.