Skip to content

[ES-364] telemetrygen e2e #822

[ES-364] telemetrygen e2e

[ES-364] telemetrygen e2e #822

Workflow file for this run

name: checks
on:
pull_request:
jobs:
check-docs:
runs-on: ubuntu-latest
name: Check Documentation formatting and links
steps:
- uses: actions/checkout@v3
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
- uses: actions/setup-go@v4
with:
go-version: '${{ env.golang-version }}'
- uses: actions/cache@v3
with:
path: .mdoxcache
key: mdoxcache
- run: make check-docs
check-changelog-updates:
if: github.event.label.name != 'skip changelog'
runs-on: ubuntu-latest
name: Check changelog update
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: dorny/paths-filter@v2
id: filter
with:
filters: | # Determine where the change occured and run the appropriate check.
logs-fluent-bit-coralogix:
- 'logs/fluent-bit/k8s-helm/coralogix/**'
logs-fluent-bit-http:
- 'logs/fluent-bit/k8s-helm/http/**'
logs-fluentd-coralogix:
- 'logs/fluentd/k8s-helm/coralogix/**'
logs-fluentd-http:
- 'logs/fluentd/k8s-helm/http/**'
ec2-otel-agent:
- 'otel-agent/ecs-ec2/**'
k8s-otel-agent:
- 'otel-agent/k8s-helm/**'
otel-infrastructure-collector:
- 'otel-infrastructure-collector/k8s-helm/**'
otel-integration:
- 'otel-integration/k8s-helm/**'
metrics-prometheus-agent:
- 'metrics/prometheus-agent/**'
metrics-prometheus-operator:
- 'metrics/prometheus/operator/**'
# Look for diff in the changelog file.
- name: Logs Changelog
if: steps.filter.outputs.logs-fluent-bit-coralogix == 'true' ||
steps.filter.outputs.logs-fluent-bit-http == 'true' ||
steps.filter.outputs.logs-fluentd-http == 'true' ||
steps.filter.outputs.logs-fluentd-http == 'true'
run: scripts/changelog_check.sh logs
- name: OpenTelemetry Agent K8S Changelog
if: steps.filter.outputs.k8s-otel-agent == 'true'
run: scripts/changelog_check.sh otel-agent/k8s-helm
- name: OpenTelemetry Agent EC2 Changelog
if: steps.filter.outputs.ec2-otel-agent == 'true'
run: scripts/changelog_check.sh otel-agent/ecs-ec2
- name: OpenTelemetry Infrastructure Collector Changelog
if: steps.filter.outputs.otel-infrastructure-collector == 'true'
run: scripts/changelog_check.sh otel-infrastructure-collector
- name: OpenTelemetry Integration Changelog
if: steps.filter.outputs.otel-integration == 'true'
run: scripts/changelog_check.sh otel-integration
- name: Prometheus Agent Changelog
if: steps.filter.outputs.metrics-prometheus-agent == 'true'
run: scripts/changelog_check.sh metrics/prometheus-agent