File tree Expand file tree Collapse file tree 4 files changed +31
-49
lines changed
Expand file tree Collapse file tree 4 files changed +31
-49
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# base test for all k8s test runs
2- FROM golang:bullseye
2+ FROM golang:1.25.3-bookworm
33
44ARG BASE_URL
55ARG HELM_VERSION
Original file line number Diff line number Diff line change 1+ .PHONY : build
2+ build :
3+ docker build --platform linux/amd64 -t test-base-image -f Dockerfile.base .
4+
5+ .PHONY : push
6+ push :
7+ @if [ -z " $( registry) " ]; then echo " Error: registry variable is not set. Please provide it with 'make push registry=...'. See README.md explaining where to get it." ; exit 1; fi
8+ aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin $(registry ) .dkr.ecr.us-west-2.amazonaws.com
9+ docker tag test-base-image:latest $(registry ) .dkr.ecr.us-west-2.amazonaws.com/test-base-image:latest
10+ docker push $(registry ) .dkr.ecr.us-west-2.amazonaws.com/test-base-image:latest
Original file line number Diff line number Diff line change 11# K8s Deployment (Deprecated)
22
3- [ ![ Documentation] ( https://img.shields.io/badge/Documentation-MDBook-blue?style=for-the-badge )] ( https://smartcontractkit.github.io/chainlink-testing-framework/lib/k8s/KUBERNETES.html )
3+ [ ![ Documentation] ( https://img.shields.io/badge/Documentation-MDBook-blue?style=for-the-badge )] ( https://smartcontractkit.github.io/chainlink-testing-framework/lib/k8s/KUBERNETES.html )
4+
5+ ## K8s Framework Sunsetting
6+
7+ We were using this ` K8s ` framework specifically in ` sdlc ` cluster but after migration to ` main.stage ` we use it only on-demand for some legacy tests.
8+
9+ ### Building Base Image for K8s Tests
10+ This is rarely required, but sometimes infrequent updates are needed.
11+
12+ Go to SSO [ home] ( https://sso.smartcontract.com/app/UserHome ) and find ` AWS -> secure-sdlc ` , copy the registry ID
13+ ```
14+ <sdlc_registry_id> | [email protected] 15+ ```
16+ use creds for this account in your terminal, paste the <sdlc_registry_id> then build and push the image.
17+
18+ ``` bash
19+ make build
20+ make push registry=< sdlc_registry_id>
21+ ```
22+
You can’t perform that action at this time.
0 commit comments