Skip to content

Replace removed tolerate-unready-endpoints annotation with publishNotReadyAddresses #734

Replace removed tolerate-unready-endpoints annotation with publishNotReadyAddresses

Replace removed tolerate-unready-endpoints annotation with publishNotReadyAddresses #734

Workflow file for this run

#
# 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: Precommit - Pulsar Helm Chart
on:
pull_request:
branches:
- '*'
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
strategy:
fail-fast: false
matrix:
include:
- name: "Basic Installation"
values: .ci/clusters/values-local-pv.yaml
- name: "ZK TLS Only"
values: .ci/clusters/values-zk-tls.yaml
- name: "BK TLS Only"
values: .ci/clusters/values-bk-tls.yaml
- name: "ZK & BK TLS Only"
values: .ci/clusters/values-zkbk-tls.yaml
- name: "TLS Installation"
values: .ci/clusters/values-tls.yaml
- name: "Broker & Proxy TLS Installation"
values: .ci/clusters/values-broker-tls.yaml
- name: "Advertise Broker IP Address"
values: .ci/clusters/values-broker-ip.yaml
- name: "JWT Secret Key Installation"
values: .ci/clusters/values-jwt-symmetric.yaml
env-symmetric: true
- name: "JWT Public/Private Key Installation"
values: .ci/clusters/values-jwt-asymmetric.yaml
env-symmetric: false
- name: "Pulsar Function"
values: .ci/clusters/values-function.yaml
env-function: true
- name: "Service Account"
values: .ci/clusters/values-service-account.yaml
- name: "Service Account Disabled"
values: .ci/clusters/values-sa-disabled.yaml
- name: "Use Pulsar Image"
values: .ci/clusters/values-pulsar-image.yaml
- name: "Use SN Image"
values: .ci/clusters/values-sn-image.yaml
name: ${{ matrix.name }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch history
run: git fetch --prune --unshallow
- name: Lint chart
id: lint
uses: helm/[email protected]
with:
command: lint
- name: Install chart
if: steps.lint.outputs.changed == 'true' # Only build a kind cluster if there are chart changes to test.
env:
SYMMETRIC: ${{ matrix.env-symmetric }}
FUNCTION: ${{ matrix.env-function }}
run: |
.ci/chart_test.sh ${{ matrix.values }}
- name: Setup tmate session
if: failure()
uses: mxschmitt/action-tmate@v3