Skip to content

Commit

Permalink
treefmt: format yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Jul 5, 2024
1 parent 0536a3d commit 9d1f045
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 48 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/e2e_openssl.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: e2e test openssl

on:
workflow_dispatch:
inputs:
skip-undeploy:
description: "Skip undeploy"
required: false
type: boolean
default: false
pull_request:
paths-ignore:
- dev-docs/**
- docs/**
- rfc/**
workflow_dispatch:
inputs:
skip-undeploy:
description: "Skip undeploy"
required: false
type: boolean
default: false
pull_request:
paths-ignore:
- dev-docs/**
- docs/**
- rfc/**

env:
container_registry: ghcr.io/edgelesssys
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e_regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
strategy:
matrix:
case:
- getdents
- genpolicy
- getdents
- genpolicy
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./.github/actions/setup_nix
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/e2e_runtime-reproducibility.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: e2e test runtime reproducibility

on:
workflow_dispatch:
schedule:
- cron: '0 19 * * 0' # 7pm UTC on Sundays
workflow_dispatch:
schedule:
- cron: '0 19 * * 0' # 7pm UTC on Sundays

jobs:
os-matrix:
Expand Down Expand Up @@ -31,13 +31,13 @@ jobs:
- name: Build
id: build
run: |
nix build .#${{ matrix.build-target }} --option substituters https://cache.nixos.org --builders ""
reference_checksum="$(cat result/index.json | jq -r '.manifests[0].digest')"
echo "reference-checksum-${{ matrix.os }}-${{ matrix.build-target}}=$reference_checksum" >> "$GITHUB_OUTPUT"
nix build .#${{ matrix.build-target }} --option substituters https://cache.nixos.org --builders ""
reference_checksum="$(cat result/index.json | jq -r '.manifests[0].digest')"
echo "reference-checksum-${{ matrix.os }}-${{ matrix.build-target}}=$reference_checksum" >> "$GITHUB_OUTPUT"
nix build .#${{ matrix.build-target }} --rebuild --option substituters https://cache.nixos.org --builders "" -o rebuild
rebuild_checksum="$(cat rebuild/index.json | jq -r '.manifests[0].digest')"
echo "rebuild-checksum-${{ matrix.os }}-${{ matrix.build-target}}=$rebuild_checksum" >> "$GITHUB_OUTPUT"
nix build .#${{ matrix.build-target }} --rebuild --option substituters https://cache.nixos.org --builders "" -o rebuild
rebuild_checksum="$(cat rebuild/index.json | jq -r '.manifests[0].digest')"
echo "rebuild-checksum-${{ matrix.os }}-${{ matrix.build-target}}=$rebuild_checksum" >> "$GITHUB_OUTPUT"
- name: Upload Build Artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/e2e_servicemesh.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: e2e test service-mesh

on:
workflow_dispatch:
inputs:
skip-undeploy:
description: "Skip undeploy"
required: false
type: boolean
default: false
pull_request:
paths-ignore:
- dev-docs/**
- docs/**
- rfc/**
workflow_dispatch:
inputs:
skip-undeploy:
description: "Skip undeploy"
required: false
type: boolean
default: false
pull_request:
paths-ignore:
- dev-docs/**
- docs/**
- rfc/**

env:
container_registry: ghcr.io/edgelesssys
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rpm_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Update Microsoft RPMs
run: |
nix run .#rpm-pin-vendor -- kata-packages-uvm kata-packages-uvm-coco systemd libseccomp > packages/by-name/microsoft/kata-image/package-index.json
nix run .#rpm-pin-vendor -- kata-packages-uvm kata-packages-uvm-coco systemd libseccomp > packages/by-name/microsoft/kata-image/package-index.json
- name: Update Kata RPMs
run: |
nix run .#rpm-pin-vendor -- kata-packages-uvm kata-packages-uvm-coco systemd libseccomp core-packages-base-image > packages/by-name/kata/kata-image/package-index.json
nix run .#rpm-pin-vendor -- kata-packages-uvm kata-packages-uvm-coco systemd libseccomp core-packages-base-image > packages/by-name/kata/kata-image/package-index.json
- name: Create PR
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ jobs:
renovate-commit-msg: "fixup: update generated code"

govulncheck:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./.github/actions/setup_nix
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Run govulncheck
run: |
nix run .#scripts.govulncheck -- ./...
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./.github/actions/setup_nix
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Run govulncheck
run: |
nix run .#scripts.govulncheck -- ./...
golangci-lint:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 9d1f045

Please sign in to comment.