Skip to content

build(deps): bump github.com/distribution/distribution/v3 from 3.0.0-rc.2 to 3.0.0-rc.3 #1091

build(deps): bump github.com/distribution/distribution/v3 from 3.0.0-rc.2 to 3.0.0-rc.3

build(deps): bump github.com/distribution/distribution/v3 from 3.0.0-rc.2 to 3.0.0-rc.3 #1091

Workflow file for this run

name: e2e
on:
workflow_dispatch:
pull_request:
branches: [ main ]
push:
branches: [ main ]
permissions:
contents: read
jobs:
k8s-modules:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version: 1.23.x
- name: Setup Kubernetes
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
version: v0.26.0
node_image: kindest/node:v1.32.0
cluster_name: kind
- name: Install
run: make install
- name: Push module
run: |
timoni mod push ./examples/minimal oci://localhost:5000/minimal -v 1.0.0 --latest
- name: Install module
run: |
timoni -n test apply nginx oci://localhost:5000/minimal
- name: List modules
run: |
timoni list -A
- name: Upgrade module with custom values
run: |
echo 'values: message: "e2e"' | timoni -n test apply nginx oci://localhost:5000/minimal -v 1.0.0 -f-
- name: Upgrade module with debug values
run: |
timoni -n test apply nginx oci://localhost:5000/minimal -f ./examples/minimal/debug_values.cue
- name: Inspect module
run: |
timoni -n test inspect resources nginx
timoni -n test inspect module nginx
timoni -n test inspect values nginx
- name: Status module
run: |
timoni -n test status nginx
- name: Uninstall module
run: |
timoni -n test delete nginx --wait
k8s-bundles:
env:
NGINX_MODULE_URL: "oci://localhost:5000/nginx"
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: 'go.mod'
cache: true
- name: Setup Kubernetes
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
version: v0.25.0
cluster_name: kind
- name: Install
run: make install
- name: Push module
run: |
timoni mod push ./blueprints/starter ${NGINX_MODULE_URL} -v 1.0.0 --latest
- name: Vet bundle
run: |
timoni bundle vet -f hack/tests/nginx_bundle.cue --runtime-from-env
- name: Build bundle
run: |
timoni bundle build -f hack/tests/nginx_bundle.cue --runtime-from-env
- name: Apply bundle
run: |
timoni bundle apply -f hack/tests/nginx_bundle.cue --runtime-from-env
- name: Inspect bundle
run: |
timoni bundle status nginx
- name: Delete bundle
run: |
timoni bundle delete nginx