Skip to content
Merged
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
11 changes: 10 additions & 1 deletion .github/actions/run-cluster-init/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,21 @@ runs:
uses: AbsaOSS/k3d-action@v2.3.0
with:
cluster-name: ${{ inputs.cluster_name }}
# k3d-action's default (v5.4.1) is missing its checksums.txt release
# asset, which the k3d install script requires, so pin an explicit
# version whose release assets are complete.
k3d-version: v5.5.0
# k3d v5.5.0 defaults to k3s v1.26.4-k3s1 (k8s 1.26), which no
# longer serves policy/v1beta1 or autoscaling/v2beta1 - APIs that
# Istio 1.12.5's install manifests hardcode. Pin the k3s image to
# a pre-1.25 k8s version below so that install keeps working.
args: >-
--servers 1
--agents 3
--port 80:80@agent:*
--registry-create ${{inputs.local_registry}}
--k3s-arg "--no-deploy=traefik,metrics-server@server:*"
--k3s-arg "--disable=traefik,metrics-server@server:*"
--image rancher/k3s:v1.24.17-k3s1

- name: Publish images to local registry
env:
Expand Down
6 changes: 3 additions & 3 deletions infra/cluster-init/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine:3

COPY --from=bitnami/kubectl:1.22.16 /opt/bitnami/kubectl/bin/kubectl /usr/bin/kubectl

WORKDIR /app
RUN apk add --no-cache curl bash
RUN apk add --no-cache curl bash && \
curl -Lo /usr/bin/kubectl "https://dl.k8s.io/release/v1.22.16/bin/linux/amd64/kubectl" && \
chmod +x /usr/bin/kubectl

COPY . .
6 changes: 6 additions & 0 deletions infra/e2e/turing.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ turing:
route_name: treatment-a

postgresql: &postgresql
# Bitnami stopped retaining versioned tags on docker.io/bitnami/postgresql
# (only "latest" remains); the pinned 12.13.0 tag now 404s. The same tags
# are still published under bitnamilegacy/postgresql.
image:
registry: docker.io
repository: bitnamilegacy/postgresql
primary:
persistence:
enabled: false
Expand Down
7 changes: 5 additions & 2 deletions sdk/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.PHONY: setup
setup:
@pip install "setuptools>=64,<75" "wheel"
@pip install -r requirements.txt -r requirements.dev.txt
# setuptools>=71 calls packaging.utils.canonicalize_version(strip_trailing_zero=...),
# an argument mlflow's pinned packaging<22 doesn't support, breaking sdist/egg_info
# with "unexpected keyword argument 'strip_trailing_zero'". Cap below 71 to avoid it.
@pip install "setuptools>=64,<71" "wheel" "Cython<3" "numpy>=1.26.0,<2"
@pip install --no-build-isolation -r requirements.txt -r requirements.dev.txt

.PHONY: gen-client
gen-client:
Expand Down
Loading