[jaeger] Fix hostname for Elasticsearch service and add CI test #1356
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test Charts | |
on: pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.14.4 | |
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and | |
# yamllint (https://github.com/adrienverge/yamllint) which require Python | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.6.1 | |
with: | |
version: v3.10.1 | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --config ct.yaml) | |
if [[ -n "$changed" ]]; then | |
echo "::set-output name=changed::true" | |
fi | |
- name: Run chart-testing (lint) | |
run: ct lint --config ct.yaml | |
test-with-cassandra: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/prepare-k8s | |
- name: Run cassandra-chart-testing (install) | |
run: ct install --config ct.yaml | |
test-with-allInOne: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/prepare-k8s | |
- name: Run allInOne-chart-testing (install) | |
run: | | |
ct install --config ct.yaml --helm-extra-set-args " | |
--set provisionDataStore.cassandra=false | |
--set storage.type=memory | |
--set allInOne.enabled=true | |
--set agent.enabled=false | |
--set collector.enabled=false | |
--set query.enabled=false" | |
test-with-elasticsearch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/prepare-k8s | |
- name: Run elasticsearch-chart-testing (install) | |
run: | | |
ct install --config ct.yaml --helm-extra-set-args " | |
--set provisionDataStore.cassandra=false | |
--set provisionDataStore.elasticsearch=true | |
--set storage.type=elasticsearch | |
--set elasticsearch.master.masterOnly=false | |
--set elasticsearch.master.replicaCount=1 | |
--set elasticsearch.data.replicaCount=0 | |
--set elasticsearch.coordinating.replicaCount=0 | |
--set elasticsearch.ingest.replicaCount=0" |