-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (44 loc) · 1.5 KB
/
ci.yml
File metadata and controls
57 lines (44 loc) · 1.5 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: ci
permissions:
contents: read
packages: read
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- uses: azure/setup-helm@v4
with:
version: v3.15.4
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Validate repository
run: make validate
- name: Adapter end-to-end contracts
run: make e2e-adapters
- name: Generic live smoke with pinned GHCR images
if: ${{ secrets.MB3R_GHCR_USERNAME != '' && secrets.MB3R_GHCR_TOKEN != '' }}
env:
MB3R_GHCR_USERNAME: ${{ secrets.MB3R_GHCR_USERNAME }}
MB3R_GHCR_TOKEN: ${{ secrets.MB3R_GHCR_TOKEN }}
run: make k8s-smoke-generic-pinned
- name: Note pinned GHCR smoke precondition
if: ${{ secrets.MB3R_GHCR_USERNAME == '' || secrets.MB3R_GHCR_TOKEN == '' }}
run: |
echo "::warning::Pinned GHCR smoke skipped because MB3R_GHCR_USERNAME and MB3R_GHCR_TOKEN are not configured."
echo "::warning::Repo-scoped GITHUB_TOKEN does not currently prove cross-repo pull access to upstream Bering/Sheaft GHCR packages."
- name: Package chart
run: make chart-package
- name: Package assets
run: make package-assets
- name: Release dry run
run: make release-dry-run