Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
eead66d
e2e: move the cluster provisioning using kind to byom
Amulyam24 May 18, 2026
d8ebae1
test: Add comprehensive unit tests for libvirt provider
chathuryaadapa May 13, 2026
507a623
test: Add comprehensive cloudinit test coverage
chathuryaadapa May 13, 2026
d417390
test: Add comprehensive manager_test.go for libvirt provider
chathuryaadapa May 11, 2026
be9f467
build(deps): bump github.com/containerd/containerd
dependabot[bot] May 21, 2026
e3b88c2
podvm: Remove separate agent-ctl reference
stevenhorsman May 21, 2026
fdc8b01
versions: Bump kata-agent, trustee, GC
stevenhorsman May 20, 2026
1a85baf
versions: Update kata-runtime go mod to 3.31.0
stevenhorsman May 20, 2026
02bb592
versions: Pin kata-deploy version in Chart.yaml
stevenhorsman May 20, 2026
89aa3b6
build(deps): bump zizmorcore/zizmor-action from 0.5.3 to 0.5.6
dependabot[bot] May 23, 2026
b0d0965
deps: Bump golang.org/x/net to 0.55.0
stevenhorsman May 26, 2026
f5dd0b2
deps: Bump golang.org/x/crypto to 0.52.0
stevenhorsman May 26, 2026
a1633eb
release: pin CAA image for v0.21.0 in helm charts
stevenhorsman May 26, 2026
7a8b043
release: Update the charts versions
stevenhorsman May 26, 2026
a7d4176
webhook: retry cert-manager apply on transient failures
BbolroC May 26, 2026
b11022e
ci: add artifact-metadata permission to podvm-ubuntu-mkosi job
stevenhorsman May 26, 2026
64caf84
ci: add MKOSI_VERSION to workflows
stevenhorsman May 27, 2026
63ac465
podvm: remove incompatible --image system argument for mkosi v26
stevenhorsman May 27, 2026
1798467
podvm: normalize architecture names in cross-build-extras.sh
stevenhorsman May 27, 2026
4faf402
aws: Add support for IAM Roles for Service Accounts (IRSA)
snir911 May 28, 2026
89392e4
aws: Add tests for EC2 client authentication methods
snir911 May 28, 2026
5695eb2
docs: Add IAM Roles for Service Accounts (IRSA) setup guide for AWS
snir911 May 28, 2026
ee30011
workflow: Update arm podvm to run natively
stevenhorsman May 27, 2026
4a47ba0
podvm: map QEMU package names for cross-compilation
stevenhorsman May 27, 2026
ea3ea1f
release: Update charts to reflect 0.21.1 release
stevenhorsman May 28, 2026
19fb5a8
Merge upstream v0.21.1 into cohere
yousef-cohere Aug 5, 2026
eba0381
fix: stabilize upstream sync validation
yousef-cohere Aug 5, 2026
2df3fbd
fix(chart): restore private image credential access
yousef-cohere Aug 5, 2026
0b22db3
Merge pull request #69 from cohere-ai/yousef/fix-multi-provider-image…
yousef-cohere Aug 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/podvm_mkosi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,15 @@ jobs:
if: ${{ inputs.debug == true }}
working-directory: src/cloud-api-adaptor/podvm-mkosi
run: make image-debug
env:
MKOSI_VERSION: ${{ env.MKOSI_VERSION }}

- name: Build mkosi image
if: ${{ inputs.debug == false }}
working-directory: src/cloud-api-adaptor/podvm-mkosi
run: make image
env:
MKOSI_VERSION: ${{ env.MKOSI_VERSION }}

- name: Upload the qcow2 with oras
id: publish_oras_qcow2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/podvm_mkosi_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ permissions: {}
jobs:
build-image:
name: Build mkosi Ubuntu image for ${{ inputs.arch }}
runs-on: ${{ inputs.arch == 's390x' && 's390x' || 'ubuntu-24.04' }}
runs-on: ${{ inputs.arch == 's390x' && 's390x' || (inputs.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04') }}
permissions:
contents: read # Required if we want to run on a fork?
packages: write # Required to publish the oras package to ghcr
Expand Down Expand Up @@ -163,13 +163,15 @@ jobs:
run: make image-debug
env:
PODVM_DISTRO: ubuntu
MKOSI_VERSION: ${{ env.MKOSI_VERSION }}

- name: Build mkosi image
if: ${{ inputs.debug == false }}
working-directory: src/cloud-api-adaptor/podvm-mkosi
run: make image
env:
PODVM_DISTRO: ubuntu
MKOSI_VERSION: ${{ env.MKOSI_VERSION }}

- name: Upload the qcow2 with oras
id: publish_oras_qcow2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/podvm_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
packages: write # Required to publish the oras package to ghcr
id-token: write # Required to publish the attestation provenance to ghcr
attestations: write # Required to publish the attestation provenance to ghcr
artifact-metadata: write # Required by podvm_mkosi_ubuntu.yaml to write attestation metadata
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/podvm_smoketest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ jobs:
working-directory: src/cloud-api-adaptor
run: |
{
echo "KATA_REF=$(yq -e '.oci.kata-agent-ctl.reference' versions.yaml)";
echo "KATA_REG=$(yq -e '.oci.kata-agent-ctl.registry' versions.yaml)";
echo "KATA_REF=$(yq -e '.oci.kata-containers.reference' versions.yaml)";
echo "KATA_REG=$(yq -e '.oci.kata-containers.registry' versions.yaml)";
} >> "$GITHUB_ENV"

- name: Install kata-agent-ctl
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/podvm_smoketest_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ jobs:
run: |
{
echo "ORAS_VERSION=$(./hack/versions.py -q tools.oras)";
echo "KATA_AGENT_CTL_REF=$(./hack/versions.py -q oci.kata-agent-ctl.reference)";
echo "KATA_AGENT_CTL_REG=$(./hack/versions.py -q oci.kata-agent-ctl.registry)";
echo "KATA_REF=$(./hack/versions.py -q oci.kata-containers.reference)";
echo "KATA_REG=$(./hack/versions.py -q oci.kata-containers.registry)";
} >> "$GITHUB_ENV"

- uses: oras-project/setup-oras@38de303aac69abb66f3e6255b7198bff35f323e3 # v2.0.0
Expand All @@ -133,7 +133,7 @@ jobs:

- name: Install kata-agent-ctl
run: |
oras pull "${KATA_AGENT_CTL_REG}/agent-ctl:${KATA_AGENT_CTL_REF}-x86_64"
oras pull "${KATA_REG}/agent-ctl:${KATA_REF}-x86_64"
tar --zstd -xf kata-static-agent-ctl.tar.zst
cp opt/kata/bin/kata-agent-ctl /usr/local/bin

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
fetch-depth: 0

- name: Run zizmor
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
with:
persona: auditor
8 changes: 4 additions & 4 deletions src/cloud-api-adaptor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG BUILD_TYPE=dev
# golang:1.25.11 (based on Debian 13 trixie)
ARG BUILDER_BASE=golang@sha256:f188e8c16ea47a8b22d2bdcf6d9bcd07b63ea7876c199749c07bf31e0ab33bad
# debian:trixie-slim (matches golang:1.25.11 base for library compatibility)
# golang:1.25.12 (based on Debian 13 trixie)
ARG BUILDER_BASE=golang@sha256:d7912cedddfa15b2900a8dfb7187df0af5ec2cb424a371139b5b352fd3e6b740
# debian:trixie-slim (matches golang:1.25.12 base for library compatibility)
# Multi-arch manifest list digest supporting amd64, arm64, ppc64le,, s390x
ARG BASE=debian@sha256:109e2c65005bf160609e4ba6acf7783752f8502ad218e298253428690b9eaa4b
ARG BASE=debian@sha256:28de0877c2189802884ccd20f15ee41c203573bd87bb6b883f5f46362d24c5c2

# This dockerfile uses Go cross-compilation to build the binary,
# we build on the host platform ($BUILDPLATFORM) and then copy the
Expand Down
55 changes: 55 additions & 0 deletions src/cloud-api-adaptor/byom/e2e/kind_cluster.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/bin/bash

# Ref: https://stackoverflow.com/questions/299728/how-do-you-use-newgrp-in-a-script-then-stay-in-that-group-when-the-script-exits
newgrp docker <<EOF

# Accept two arguments: create and delete
# create: creates a kind cluster
# delete: deletes a kind cluster

CLUSTER_NAME="${CLUSTER_NAME:-peer-pods}"
KIND_CONFIG_FILE="${KIND_CONFIG_FILE:-kind-config.yaml}"

if [ "$1" == "create" ]; then
# Check if kind is installed
if [ ! -x "$(command -v kind)" ]; then
echo "kind is not installed"
exit 0
fi
echo "Check if the cluster \$CLUSTER_NAME already exists"
if kind get clusters | grep -q "\$CLUSTER_NAME"; then
echo "Cluster \$CLUSTER_NAME already exists"
exit 0
fi
# Set some sysctls
# Ref: https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl fs.inotify.max_user_instances=512

# Create a kind cluster
echo "runtime: " "\$CONTAINER_RUNTIME"

# Create a kind cluster
echo "Creating a kind cluster"
kind create cluster --name "\$CLUSTER_NAME" --config "\$KIND_CONFIG_FILE" || exit 1

# Deploy calico
kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.28.0/manifests/calico.yaml || exit 1

exit 0
fi

if [ "$1" == "delete" ]; then
# Check if kind is installed
if [ ! -x "$(command -v kind)" ]; then
echo "kind is not installed"
exit 0
fi

# Delete the kind cluster
echo "Deleting the kind cluster"
kind delete cluster --name "\$CLUSTER_NAME" || exit 1

exit 0
fi
EOF
4 changes: 2 additions & 2 deletions src/cloud-api-adaptor/docs/addnewprovider.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ go mod tidy

```bash
cat > Dockerfile <<EOF
# golang:1.25.11
ARG BUILDER_BASE=golang@sha256:f188e8c16ea47a8b22d2bdcf6d9bcd07b63ea7876c199749c07bf31e0ab33bad
# golang:1.25.12
ARG BUILDER_BASE=golang@sha256:d7912cedddfa15b2900a8dfb7187df0af5ec2cb424a371139b5b352fd3e6b740
FROM --platform="\$TARGETPLATFORM" \$BUILDER_BASE AS builder
RUN apt-get update && apt-get install -y libvirt-dev pkg-config && rm -rf /var/lib/apt/lists/*
WORKDIR /work
Expand Down
Loading
Loading