Skip to content

Commit

Permalink
github action CI jobs update for manifests cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: JF Ding <jian-feng.ding@intel.com>
  • Loading branch information
jfding committed Aug 6, 2024
1 parent f5c032a commit 8725ed4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 177 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/gmc-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ jobs:
echo "should_cleanup=true" >> $GITHUB_ENV
USER_ID=$(whoami)
HFTOKEN=$(cat /home/$USER_ID/.cache/huggingface/token)
pushd microservices-connector
mkdir -p $(pwd)/config/manifests
cp -f -p $(dirname $(pwd))/manifests/common/*.yaml $(pwd)/config/manifests/
popd
pushd microservices-connector/helm
# replace image for gmc-router
sed -i "s|image:.*|image: ${DOCKER_REGISTRY}opea/gmcrouter:$VERSION|" gmc-router.yaml
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/go-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
paths:
- microservices-connector/**
- manifests/common/**
- "!microservices-connector/helm/**"
- "!**.md"
- "!**.txt"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/image-build-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
branches: ["main"]
paths:
- microservices-connector/**
- manifests/common/**
- "!microservices-connector/helm/**"
- "!**.md"
- "!**.txt"
Expand Down
128 changes: 0 additions & 128 deletions .github/workflows/manifest-e2e.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/manifest-validate.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/scripts/e2e/gmc_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,7 @@ function install_gmc() {
kubectl get pods -n $SYSTEM_NAMESPACE
}

function copy_manifests() {
# Copy manifest into gmc
mkdir -p $(pwd)/config/manifests
cp $(dirname $(pwd))/manifests/common/*.yaml -p $(pwd)/config/manifests/
}

function init_gmc() {
# copy manifests
copy_manifests

# replace tag with for the gmc-router and gmc-manager image
sed -i "s|opea/\(.*\):latest|opea/\1:$VERSION|g" $(pwd)/config/gmcrouter/gmc-router.yaml
sed -i "s|opea/\(.*\):latest|opea/\1:$VERSION|g" $(pwd)/config/manager/gmc-manager.yaml
Expand Down

0 comments on commit 8725ed4

Please sign in to comment.