Skip to content

Commit b6f2a69

Browse files
authored
base image docs, remove CI (#2231)
1 parent 168e2ef commit b6f2a69

File tree

4 files changed

+31
-49
lines changed

4 files changed

+31
-49
lines changed

.github/workflows/k8s-publish-test-base-image.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

lib/k8s/Dockerfile.base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# base test for all k8s test runs
2-
FROM golang:bullseye
2+
FROM golang:1.25.3-bookworm
33

44
ARG BASE_URL
55
ARG HELM_VERSION

lib/k8s/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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

lib/k8s/README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
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+

0 commit comments

Comments
 (0)