Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Migrate k8s autodiscovery pipeline #2

Migrate k8s autodiscovery pipeline

Migrate k8s autodiscovery pipeline #2

name: k8s-autodiscovery
on:
pull_request: ~
schedule:
- cron: '0 18 * * *'
jobs:
k8s-autodiscovery:
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" ]
env:
E2E_SSH_KEY: ./e2essh
E2E_SSH_KEY_PUB: ./e2essh.pub
steps:
- uses: actions/checkout@v2
- run: echo '${{ toJSON(matrix) }}'
- name: Create SSH Key
run: ssh-keygen -b 4096 -t rsa -f "${E2E_SSH_KEY}" -q -N ""
- name: Deploy Stack
env:
SUITE: fleet
STACK_INSTANCE_ID: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}_stack
SSH_KEY: ${{ env.E2E_SSH_KEY }}
run: env
# make -C .ci create-stack