Skip to content

Commit

Permalink
Trigger "Update Helm index" workflow for releases (#3973)
Browse files Browse the repository at this point in the history
Trigger the workflow in antrea-io/website to update the Helm index for
the Antrea archive and the Flow Aggregator archive.

Signed-off-by: Antonin Bas <abas@vmware.com>
  • Loading branch information
antoninbas committed Jul 8, 2022
1 parent f022dd8 commit 225af98
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/process_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,27 @@ jobs:
run: |
version=${TAG:10}
echo "::set-output name=version::$version"
- uses: benc-uk/workflow-dispatch@v1
- name: Update website source
uses: benc-uk/workflow-dispatch@v1
with:
repo: antrea-io/website
ref: refs/heads/main
workflow: Update website source
token: ${{ secrets.ANTREA_WEBSITE_WORKFLOW_DISPATCH_PAT }}
inputs: ${{ format('{{ "antrea-repository":"antrea-io/antrea", "antrea-ref":"{0}" }}', steps.get-version.outputs.version) }}
- name: Update Helm index with Antrea archive
uses: benc-uk/workflow-dispatch@v1
with:
repo: antrea-io/website
ref: refs/heads/main
workflow: Update Helm index
token: ${{ secrets.ANTREA_WEBSITE_WORKFLOW_DISPATCH_PAT }}
inputs: ${{ format('{{ "archive-url":"https://github.com/antrea-io/antrea/releases/download/{0}/antrea-chart.tgz" }}', steps.get-version.outputs.version) }}
- name: Update Helm index with Flow Aggregator archive
uses: benc-uk/workflow-dispatch@v1
with:
repo: antrea-io/website
ref: refs/heads/main
workflow: Update Helm index
token: ${{ secrets.ANTREA_WEBSITE_WORKFLOW_DISPATCH_PAT }}
inputs: ${{ format('{{ "archive-url":"https://github.com/antrea-io/antrea/releases/download/{0}/flow-aggregator-chart.tgz" }}', steps.get-version.outputs.version) }}
3 changes: 2 additions & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
name: Trigger website update for main
runs-on: ubuntu-latest
steps:
- uses: benc-uk/workflow-dispatch@v1
- name: Update website source
uses: benc-uk/workflow-dispatch@v1
with:
repo: antrea-io/website
ref: refs/heads/main
Expand Down

0 comments on commit 225af98

Please sign in to comment.