Relates to: https://github.com/apache/pulsar-helm-chart/issues/290 ### Motivation We should not use GitHub Actions to release the helm chart. As such, we can remove the relevant workflow code from this repo while we build the relevant process to officially release the helm chart. The main risk with this kind of change is that we won't have a way to "release" the chart. However, it is relevant to point out that we have not had any official releases of the chart given that the PMC has not been voting on the releases. I think we need to prioritize fixing this process as a community. ### Modifications * Remove all scripts and configuration files that enabled GitHub Actions to release the helm chart. ### Verifying this change This is a trivial change.
107 lines
4.3 KiB
YAML
107 lines
4.3 KiB
YAML
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
#
|
|
|
|
name: Cancel duplicate workflows
|
|
on:
|
|
workflow_run:
|
|
# this could be any workflow that is always executed by PUSH/PR operation
|
|
workflows: ["Precommit Style Check"]
|
|
types: ['requested']
|
|
|
|
jobs:
|
|
|
|
cancel-workflow-runs:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
# the potiuk/cancel-workflow-run action has been allow-listed by
|
|
# the Apache Infrastructure
|
|
- name: cancel duplicate lint.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: lint.yml
|
|
- name: cancel duplicate pulsar_bk_tls.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_bk_tls.yml
|
|
- name: cancel duplicate pulsar_broker_tls.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_broker_tls.yml
|
|
- name: cancel duplicate pulsar_function.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_function.yml
|
|
- name: cancel duplicate pulsar_image.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_image.yml
|
|
- name: cancel duplicate pulsar_jwt_asymmetric.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_jwt_asymmetric.yml
|
|
- name: cancel duplicate pulsar_jwt_symmetric.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_jwt_symmetric.yml
|
|
- name: cancel duplicate pulsar_tls.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_tls.yml
|
|
- name: cancel duplicate pulsar.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar.yml
|
|
- name: cancel duplicate pulsar_zkbk_tls.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_zkbk_tls.yml
|
|
- name: cancel duplicate pulsar_zk_tls.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: pulsar_zk_tls.yml
|
|
- name: cancel duplicate style.yml
|
|
uses: potiuk/cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
cancelMode: allDuplicates
|
|
workflowFileName: style.yml
|
|
|