Skip to content

Commit 9337ed9

Browse files
committed
remove commander image deployment from CI
1 parent 48b1326 commit 9337ed9

File tree

2 files changed

+1
-99
lines changed

2 files changed

+1
-99
lines changed

.github/workflows/deploy.yml

-61
This file was deleted.

.github/workflows/test.yml

+1-38
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,8 @@ jobs:
3030
enable-cache: true
3131
- run: uvx ruff format . --check
3232

33-
build-image:
34-
needs: [ruff, ruff-format]
35-
runs-on: ubuntu-latest
36-
steps:
37-
- name: Checkout
38-
uses: actions/checkout@v4
39-
40-
- name: Set up Docker Buildx
41-
uses: docker/setup-buildx-action@v3
42-
43-
- name: Build and export
44-
uses: docker/build-push-action@v5
45-
with:
46-
file: resources/images/commander/Dockerfile
47-
context: .
48-
tags: bitcoindevproject/warnet-commander:latest
49-
cache-from: type=gha
50-
cache-to: type=gha,mode=max
51-
outputs: type=docker,dest=/tmp/commander.tar
52-
53-
- name: Upload artifact
54-
uses: actions/upload-artifact@v4
55-
with:
56-
name: commander
57-
path: /tmp/commander.tar
58-
5933
test:
60-
needs: [build-image]
34+
needs: [ruff, ruff-format]
6135
runs-on: ubuntu-latest
6236
strategy:
6337
matrix:
@@ -80,11 +54,6 @@ jobs:
8054
memory: 4000m
8155
- name: Start minikube's loadbalancer tunnel
8256
run: minikube tunnel &> /dev/null &
83-
- name: Download commander artifact
84-
uses: actions/download-artifact@v4
85-
with:
86-
name: commander
87-
path: /tmp
8857
- name: Install the latest version of uv
8958
uses: astral-sh/setup-uv@v2
9059
with:
@@ -94,12 +63,6 @@ jobs:
9463
run: uv python install $PYTHON_VERSION
9564
- name: Install project
9665
run: uv sync --all-extras --dev
97-
- name: Install commander image
98-
run: |
99-
echo loading commander image into minikube docker
100-
eval $(minikube -p minikube docker-env)
101-
docker load --input /tmp/commander.tar
102-
docker image ls -a
10366
- name: Run tests
10467
run: |
10568
source .venv/bin/activate

0 commit comments

Comments
 (0)