Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RWDai committed May 9, 2024
1 parent a177e45 commit d61d9ac
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,19 @@ jobs:
cat ~/.kube/config
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.6.2/experimental-install.yaml
cargo build -p spacegate
cd services/full/res
cd resource/docker/spacegate
mv ../../../target/debug/spacegate ./
docker build -t ecfront/spacegate:0.1.0-alpha.2 .
docker build -t ecfront/spacegate:latest .
rm spacegate
k3d image import ecfront/spacegate:0.1.0-alpha.2 -c spacegate-test --verbose
k3d image import ecfront/spacegate:latest -c spacegate-test --verbose
kubectl wait --for=condition=Ready pod -l name=gateway-api-admission-server -n gateway-system
sleep 10
cd ../../../
kubectl apply -f ./kernel/res/namespace.yaml
kubectl apply -f ./kernel/res/gatewayclass.yaml
kubectl apply -f ./kernel/res/spacegate-gateway.yaml
kubectl apply -f ./kernel/res/spacegate-httproute.yaml
kubectl apply -f ./resource/kube-manifests/namespace.yaml
kubectl apply -f ./resource/kube-manifests/gatewayclass.yaml
kubectl apply -f ./resource/kube-manifests/spacegate-gateway.yaml
kubectl apply -f ./resource/kube-manifests/spacegate-httproute.yaml
sleep 5
kubectl wait --for=condition=Ready pod -l app=spacegate -n spacegate
Expand Down

0 comments on commit d61d9ac

Please sign in to comment.