Skip to content

.github/workflows/staging-test.yaml #5

.github/workflows/staging-test.yaml

.github/workflows/staging-test.yaml #5

Workflow file for this run

---
name: Test staging
# The intention is this workflow is triggered either manually or
# after build has completed.
on:
workflow_run:
workflows: ['Deploy to staging']
types:
- completed
workflow_dispatch:
concurrency: integration-test
jobs:
staging-test-images:
name: Container images staging tests
# Workflow run always triggers on completion regardless of status
# This prevents us from running if build fails.
if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
uses: fluent/fluent-bit/.github/workflows/call-test-images.yaml@master
with:
registry: ghcr.io
username: ${{ github.actor }}
image: ${{ github.repository }}/staging
image-tag: latest
environment: staging
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
cosign_key: ${{ secrets.COSIGN_PUBLIC_KEY }}
# Called workflows cannot be nested
staging-test-images-integration-gcp:
name: run integration tests on GCP
# Wait for other tests to succeed
needs: staging-test-images
uses: calyptia/fluent-bit-ci/.github/workflows/reusable-integration-test-gcp.yaml@main

Check failure on line 36 in .github/workflows/staging-test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/staging-test.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/staging-test.yaml" -> "calyptia/fluent-bit-ci/.github/workflows/reusable-integration-test-gcp.yaml@main" : failed to fetch workflow: workflow was not found.
with:
image_name: ghcr.io/${{ github.repository }}/staging
image_tag: latest
secrets:
grafana_username: ${{ secrets.GRAFANA_USERNAME }}
terraform_api_token: ${{ secrets.TF_API_TOKEN }}
gcp_service_account_key: ${{ secrets.GCP_SA_KEY }}
grafana_password: ${{ secrets.GRAFANA_PASSWORD }}
staging-test-packages:
name: Binary packages staging test
# Workflow run always triggers on completion regardless of status
# This prevents us from running if build fails.
if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
uses: fluent/fluent-bit/.github/workflows/call-test-packages.yaml@master
with:
environment: staging
secrets:
bucket: ${{ secrets.AWS_S3_BUCKET_STAGING }}
token: ${{ secrets.GITHUB_TOKEN }}