summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/.github/workflows/master-integration-test.yaml
blob: 85c321b8250f3e466dbd0f8b4a8786c6cf8637b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build master container images and run integration tests
on:
  push:
    branches:
      - master

jobs:
  master-integration-test-build:
    name: Master - integration build
    uses: ./.github/workflows/call-integration-image-build.yaml
    with:
      ref: ${{ github.sha }}
      registry: ghcr.io
      username: ${{ github.actor }}
      image: ${{ github.repository }}/master
      image-tag: x86_64
      environment: integration
    secrets:
      token: ${{ secrets.GITHUB_TOKEN }}

  master-integration-test-run-integration:
    name: Master - integration test
    needs: master-integration-test-build
    uses: ./.github/workflows/call-run-integration-test.yaml
    with:
      image_name: ghcr.io/${{ github.repository }}/master
      image_tag: x86_64
    secrets:
      opensearch_aws_access_id: ${{ secrets.OPENSEARCH_AWS_ACCESS_ID }}
      opensearch_aws_secret_key: ${{ secrets.OPENSEARCH_AWS_SECRET_KEY }}
      opensearch_admin_password: ${{ secrets.OPENSEARCH_ADMIN_PASSWORD }}
      terraform_api_token: ${{ secrets.TF_API_TOKEN }}
      gcp-service-account-key: ${{ secrets.GCP_SA_KEY }}