This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
Migrate k8s autodiscovery pipeline #18
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: k8s-autodiscovery | |
on: | |
pull_request: ~ | |
schedule: | |
- cron: '0 18 * * *' | |
jobs: | |
# deploy-test-infra: | |
# runs-on: ubuntu-latest | |
k8s-autodiscovery: | |
# needs: | |
# - deploy-test-infra | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- name: "kubernetes autodiscover with elastic-agent" | |
tags: "elastic-agent" | |
platforms: [ "debian_10_amd64" ] | |
# - name: "kubernetes autodiscover with filebeat" | |
# tags: "filebeat" | |
# platforms: [ "debian_10_amd64" ] | |
# - name: "kubernetes autodiscover with heartbeat" | |
# tags: "heartbeat" | |
# platforms: [ "debian_10_amd64" ] | |
# - name: "kubernetes autodiscover with metricbeat" | |
# tags: "metricbeat" | |
# platforms: [ "debian_10_amd64" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- id: get-go-version | |
name: Setup Env | |
run: | | |
echo "version=$(cat .go-version)" >> "$GITHUB_OUTPUT" | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ steps.get-go-version.outputs.version }} | |
- run: .ci/scripts/k8s-discovery-test.sh |