Cleanup some old configurations (#1435)

This commit is contained in:
David 2024-08-02 15:24:27 -04:00 committed by GitHub
parent 2f3bac4cbb
commit aefa3f6ad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 3 additions and 15 deletions

View File

@ -43,8 +43,6 @@ jobs:
file: ./${{ matrix.dockerfile }}
load: true
tags: image:test
build-args:
IMAGE_PY_VERSION=${{ env.python_version }}
- name: Inspect
run: |
docker image inspect image:test

View File

@ -23,12 +23,12 @@ jobs:
kind-worker-count: 0
- name: Build and load gateway
run: |
docker build -t gateway:test --build-arg TARGETARCH="amd64" -f ./gateway/Dockerfile .
docker build -t gateway:test -f ./gateway/Dockerfile .
kind load docker-image gateway:test
docker image rm gateway:test
- name: Build and load ray node
run: |
docker build -t ray:test --build-arg TARGETARCH="amd64" -f ./Dockerfile-ray-node .
docker build -t ray:test -f ./Dockerfile-ray-node .
kind load docker-image ray:test
docker image rm ray:test
- name: Install helm chart

View File

@ -164,8 +164,6 @@ If you wish to rebuild only a specific component (for example, the `gateway`), y
```docker compose -f docker-compose-dev.yaml build gateway```
For Apple Silicon system (arm64 / aarch64), set `TARGETARCH=arm64` before running the `docker compose` command.
### Assigning yourself
The very first step to working on an issue is

View File

@ -4,12 +4,6 @@
version=latest
repository=icr.io/quantum-public
ifeq ($(shell uname -p), arm)
arch="arm64"
else
arch="amd64"
endif
rayNodeImageName=$(repository)/qiskit-serverless/ray-node
gatewayImageName=$(repository)/qiskit-serverless/gateway
proxyImageName=$(repository)/qiskit-serverless/proxy
@ -24,7 +18,7 @@ build-all: build-ray-node build-gateway build-proxy
push-all: push-ray-node push-gateway push-proxy
build-ray-node:
docker build -t $(rayNodeImageName):$(version) --build-arg TARGETARCH=$(arch) -f Dockerfile-ray-node .
docker build -t $(rayNodeImageName):$(version) -f Dockerfile-ray-node .
build-gateway:
docker build -t $(gatewayImageName):$(version) -f ./gateway/Dockerfile .

View File

@ -5,8 +5,6 @@ services:
build:
context: ./
dockerfile: Dockerfile-ray-node
args:
TARGETARCH: "${TARGETARCH:-amd64}"
entrypoint: [
"env", "RAY_LOG_TO_STDERR=1", "ray", "start", "--head", "--port=6379",
"--dashboard-host=0.0.0.0", "--block"