Skip to content

Perform smoke tests on GHA/CI #1

Perform smoke tests on GHA/CI

Perform smoke tests on GHA/CI #1

Workflow file for this run

name: k8s
on:
pull_request:
workflow_dispatch:
env:
GO_VERSION: "1.22.2"
jobs:
docker-img:

Check failure on line 10 in .github/workflows/k8s.yml

View workflow run for this annotation

GitHub Actions / k8s

Invalid workflow file

The workflow is not valid. .github/workflows/k8s.yml (Line: 10, Col: 3): Error calling workflow 'danroux/sk8l-ui/.github/workflows/docker.yml@1ba9b3305fd48cfd5d57f10308803af978276ce2'. The workflow is requesting 'packages: write', but is only allowed 'packages: read'.
name: Build Docker image dev-${{ github.event.pull_request.number }}
uses: ./.github/workflows/docker.yml
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
with:
image_tag: dev-${{ github.event.pull_request.number }}
secrets: inherit
k8s-tests:
name: k8s ${{ matrix.k8s.version }}/pr#${{ github.event.pull_request.number }} tests
needs: [docker-img]
strategy:
matrix:
k8s:
- image: "kindest/node:v1.29.2@sha256:51a1434a5397193442f0be2a297b488b6c919ce8a3931be0ce822606ea5ca245"
version: v1.29.2
kind:
- version: "v0.22.0"
uses: ./.github/workflows/k8s-test.yml
with:
image_tag: dev-${{ github.event.pull_request.number }}
pull_request_number: ${{ github.event.pull_request.number }}
kind_version: ${{ matrix.kind.version }}
k8s_version: ${{ matrix.k8s.version }}
k8s_image: ${{ matrix.k8s.image }}