Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 13 additions & 4 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,12 @@ jobs:

- name: Install Renode (Linux)
if: runner.os == 'Linux'
env:
# renovate: datasource=github-releases depName=renode/renode
RENODE_VERSION: v1.16.1
run: |
wget https://github.com/renode/renode/releases/download/v1.16.1/renode_1.16.1_amd64.deb -O /tmp/renode.deb
RENODE_TAG="${RENODE_VERSION#v}"
wget "https://github.com/renode/renode/releases/download/${RENODE_VERSION}/renode_${RENODE_TAG}_amd64.deb" -O /tmp/renode.deb
sudo apt-get install -y /tmp/renode.deb

- name: Install Qemu (macOS)
Expand All @@ -144,14 +148,19 @@ jobs:
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: python/packages/jumpstarter-driver-qemu/images
key: fedora-cloud-43-1.6
key: fedora-cloud-${{ env.FEDORA_CLOUD_VERSION }}
env:
FEDORA_CLOUD_VERSION: "43-1.6"

- name: Download Fedora Cloud images
if: steps.cache-fedora-cloud-images.outputs.cache-hit != 'true'
env:
FEDORA_CLOUD_VERSION: "43-1.6"
run: |
FEDORA_RELEASE="${FEDORA_CLOUD_VERSION%%-*}"
for arch in aarch64 x86_64; do
curl -L --fail --output "python/packages/jumpstarter-driver-qemu/images/Fedora-Cloud-Base-Generic-43-1.6.${arch}.qcow2" \
"https://iad.mirror.rackspace.com/fedora/releases/43/Cloud/${arch}/images/Fedora-Cloud-Base-Generic-43-1.6.${arch}.qcow2"
curl -L --fail --output "python/packages/jumpstarter-driver-qemu/images/Fedora-Cloud-Base-Generic-${FEDORA_CLOUD_VERSION}.${arch}.qcow2" \
"https://iad.mirror.rackspace.com/fedora/releases/${FEDORA_RELEASE}/Cloud/${arch}/images/Fedora-Cloud-Base-Generic-${FEDORA_CLOUD_VERSION}.${arch}.qcow2"
done

- name: Run pytest
Expand Down
15 changes: 12 additions & 3 deletions controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ IMG ?= quay.io/jumpstarter-dev/jumpstarter-controller:latest
DOCKER_REPO = $(shell echo $(IMG) | cut -d: -f1)
DOCKER_TAG = $(shell echo $(IMG) | cut -d: -f2)
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
# renovate: datasource=github-releases depName=kubernetes/kubernetes extractVersion=^v(?<version>.+)$
ENVTEST_K8S_VERSION = 1.30.0

# Version information
Expand Down Expand Up @@ -224,11 +225,16 @@ KIND = $(LOCALBIN)/kind
GRPCURL = $(LOCALBIN)/grpcurl

## Tool Versions
KUSTOMIZE_VERSION ?= v5.4.1
CONTROLLER_TOOLS_VERSION ?= v0.16.3
# renovate: datasource=github-releases depName=kubernetes-sigs/kustomize extractVersion=^kustomize/(?<version>v\d+\.\d+\.\d+)$
KUSTOMIZE_VERSION ?= v5.6.0
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
CONTROLLER_TOOLS_VERSION ?= v0.18.0
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
# renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION ?= v2.5.0
# renovate: datasource=github-releases depName=kubernetes-sigs/kind
KIND_VERSION ?= v0.27.0
# renovate: datasource=github-releases depName=fullstorydev/grpcurl
GRPCURL_VERSION ?= v1.9.2

.PHONY: kustomize
Expand All @@ -241,9 +247,12 @@ controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessar
$(CONTROLLER_GEN): $(LOCALBIN)
$(call go-install-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen,$(CONTROLLER_TOOLS_VERSION))

# renovate: datasource=docker depName=docker.io/bufbuild/buf
BUF_VERSION ?= 1.71.0

.PHONY: protobuf-gen
protobuf-gen:
podman run --volume "$(shell pwd):/workspace" --workdir /workspace docker.io/bufbuild/buf:latest generate
podman run --volume "$(shell pwd):/workspace" --workdir /workspace docker.io/bufbuild/buf:$(BUF_VERSION) generate

.PHONY: envtest
envtest: $(ENVTEST) ## Download setup-envtest locally if necessary.
Expand Down
8 changes: 7 additions & 1 deletion controller/deploy/operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ endif

# Set the Operator SDK version to use. By default, what is installed on the system is used.
# This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit.
# renovate: datasource=github-releases depName=operator-framework/operator-sdk
OPERATOR_SDK_VERSION ?= v1.41.1
# renovate: datasource=github-releases depName=operator-framework/operator-registry
OPM_VERSION ?= v1.55.0
# Image URL to use all building/pushing image targets
IMG ?= $(IMAGE_TAG_BASE):$(VERSION)

Expand Down Expand Up @@ -247,12 +250,15 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
GOLANGCI_LINT = $(LOCALBIN)/golangci-lint

## Tool Versions
# renovate: datasource=github-releases depName=kubernetes-sigs/kustomize extractVersion=^kustomize/(?<version>v\d+\.\d+\.\d+)$
KUSTOMIZE_VERSION ?= v5.6.0
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
CONTROLLER_TOOLS_VERSION ?= v0.18.0
#ENVTEST_VERSION is the version of controller-runtime release branch to fetch the envtest setup script (i.e. release-0.20)
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)
ENVTEST_K8S_VERSION ?= $(shell go list -m -f "{{ .Version }}" k8s.io/api | awk -F'[v.]' '{printf "1.%d", $$3}')
# renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION ?= v2.5.0

.PHONY: kustomize
Expand Down Expand Up @@ -362,7 +368,7 @@ ifeq (,$(shell which opm 2>/dev/null))
set -e ;\
mkdir -p $(dir $(OPM)) ;\
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.55.0/$${OS}-$${ARCH}-opm ;\
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/$(OPM_VERSION)/$${OS}-$${ARCH}-opm ;\
chmod +x $(OPM) ;\
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
entrypoint:
- scorecard-test
- basic-check-spec
# renovate: image
image: quay.io/operator-framework/scorecard-test:v1.41.1
labels:
suite: basic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
entrypoint:
- scorecard-test
- olm-bundle-validation
# renovate: image
image: quay.io/operator-framework/scorecard-test:v1.41.1
labels:
suite: olm
Expand All @@ -14,6 +15,7 @@
entrypoint:
- scorecard-test
- olm-crds-have-validation
# renovate: image
image: quay.io/operator-framework/scorecard-test:v1.41.1
labels:
suite: olm
Expand All @@ -24,6 +26,7 @@
entrypoint:
- scorecard-test
- olm-crds-have-resources
# renovate: image
image: quay.io/operator-framework/scorecard-test:v1.41.1
labels:
suite: olm
Expand All @@ -34,6 +37,7 @@
entrypoint:
- scorecard-test
- olm-spec-descriptors
# renovate: image
image: quay.io/operator-framework/scorecard-test:v1.41.1
labels:
suite: olm
Expand All @@ -44,6 +48,7 @@
entrypoint:
- scorecard-test
- olm-status-descriptors
# renovate: image
image: quay.io/operator-framework/scorecard-test:v1.41.1
labels:
suite: olm
Expand Down
2 changes: 2 additions & 0 deletions controller/deploy/operator/test/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ import (
)

const (
// renovate: datasource=github-releases depName=prometheus-operator/prometheus-operator
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

// renovate: datasource=github-releases depName=cert-manager/cert-manager
certmanagerVersion = "v1.19.2"
certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/releases/download/%s/cert-manager.yaml"
)
Expand Down
2 changes: 1 addition & 1 deletion controller/hack/demoenv/exporters-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
restartPolicy: Always
containers:
- name: jumpstarter-exporter
image: quay.io/jumpstarter-dev/jumpstarter:0.5.0
image: quay.io/jumpstarter-dev/jumpstarter:latest
imagePullPolicy: IfNotPresent
env:
- name: JUMPSTARTER_GRPC_INSECURE
Expand Down
2 changes: 1 addition & 1 deletion controller/hack/demoenv/vcan-exporters-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
restartPolicy: Always
containers:
- name: jumpstarter-exporter
image: quay.io/jumpstarter-dev/jumpstarter:0.5.0
image: quay.io/jumpstarter-dev/jumpstarter:latest
imagePullPolicy: IfNotPresent
env:
- name: JUMPSTARTER_GRPC_INSECURE
Expand Down
8 changes: 5 additions & 3 deletions controller/test/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ import (
)

const (
prometheusOperatorVersion = "v0.72.0"
// renovate: datasource=github-releases depName=prometheus-operator/prometheus-operator
prometheusOperatorVersion = "v0.77.1"
prometheusOperatorURL = "https://github.com/prometheus-operator/prometheus-operator/" +
"releases/download/%s/bundle.yaml"

certmanagerVersion = "v1.14.4"
certmanagerURLTmpl = "https://github.com/jetstack/cert-manager/releases/download/%s/cert-manager.yaml"
// renovate: datasource=github-releases depName=cert-manager/cert-manager
certmanagerVersion = "v1.19.2"
certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/releases/download/%s/cert-manager.yaml"
)

func warnError(err error) {
Expand Down
2 changes: 2 additions & 0 deletions e2e/setup-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ install_dependencies() {

# Step 2: Install e2e tools (cfssl, cfssljson, yq) as prebuilt binaries
E2E_TOOLS_BIN="$REPO_ROOT/.e2e/bin"
# renovate: datasource=github-releases depName=cloudflare/cfssl extractVersion=^v(?<version>.+)$
CFSSL_VERSION="1.6.5"
# renovate: datasource=github-releases depName=mikefarah/yq
YQ_VERSION="v4.52.5"

# SHA256 checksums for prebuilt binaries (from upstream release assets)
Expand Down
6 changes: 4 additions & 2 deletions protocol/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
BUF_IMAGE=docker.io/bufbuild/buf:latest
BUF=podman run --volume "$(shell pwd):/workspace" --workdir /workspace docker.io/bufbuild/buf:latest
# renovate: datasource=docker depName=docker.io/bufbuild/buf
BUF_VERSION=1.71.0
BUF_IMAGE=docker.io/bufbuild/buf:$(BUF_VERSION)
BUF=podman run --volume "$(shell pwd):/workspace" --workdir /workspace $(BUF_IMAGE)

all: lint

Expand Down
1 change: 1 addition & 0 deletions python/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN dnf install -y python3 ustreamer libusb1 android-tools python3-libgpiod curl
dnf clean all && \
rm -rf /var/cache/dnf

# renovate: datasource=github-releases depName=jumpstarter-dev/fls
ARG FLS_VERSION=0.3.0
RUN ARCH=$(uname -m) && \
SUFFIX="linux" && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from ..exceptions import ClusterOperationError
from .common import GRPC_NODEPORT, LOGIN_NODEPORT, ROUTER_NODEPORT, run_command, run_command_with_output

# renovate: datasource=github-releases depName=cert-manager/cert-manager
CERTMANAGER_VERSION = "v1.19.2"
OPERATOR_INSTALLER_URL_TEMPLATE = (
"https://github.com/jumpstarter-dev/jumpstarter/releases/download/{version}/operator-installer.yaml"
Expand Down
Loading
Loading