Skip to content

Commit 3b46829

Browse files
Remove Client Only Option For Image Creation
1 parent f08f6d7 commit 3b46829

1 file changed

Lines changed: 23 additions & 19 deletions

File tree

.github/workflows/CI-full.yml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
tag:
77
description: "Repository tag (e.g., 7.7.0.37)"
88
required: true
9-
client_only:
10-
description: "Build only client images (true/false)"
11-
required: false
12-
default: "false"
9+
# client_only:
10+
# description: "Build only client images (true/false)"
11+
# required: false
12+
# default: "false"
1313
release:
1414
types: [published]
1515

@@ -87,26 +87,13 @@ jobs:
8787
cd docker/build
8888
echo "${{ secrets.GITHUB_TOKEN }}" | sudo docker login ghcr.io -u ${{ github.actor }} --password-stdin
8989
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
90-
if [ "${{ github.event.inputs.client_only }}" = "true" ]; then
91-
echo "Building only client images"
92-
export BUILD_IMAGES="clientgen"
93-
else
94-
echo "Building all images"
95-
export BUILD_IMAGES="all"
96-
fi
90+
export BUILD_IMAGES="all"
9791
./build.sh ${BUILD_IMAGES} ${{ env.VCELL_REPO_NAMESPACE }} ${{ env.VCELL_TAG }}
9892
9993
- name: tag as latest and push to registry
10094
shell: bash
10195
run: |
102-
if [ "${{ github.event.inputs.client_only }}" = "true" ]; then
103-
echo "Building only client images"
104-
export CONTAINER_SET="vcell-clientgen"
105-
else
106-
echo "Building all images"
107-
export CONTAINER_SET="vcell-exporter vcell-api vcell-rest vcell-webapp-prod vcell-webapp-dev vcell-webapp-stage vcell-webapp-island vcell-batch vcell-opt vcell-clientgen vcell-data vcell-db vcell-mongo vcell-sched vcell-submit vcell-admin"
108-
fi
109-
96+
export CONTAINER_SET="vcell-exporter vcell-api vcell-rest vcell-webapp-prod vcell-webapp-dev vcell-webapp-stage vcell-webapp-island vcell-batch vcell-opt vcell-clientgen vcell-data vcell-db vcell-mongo vcell-sched vcell-submit vcell-admin"
11097
for CONTAINER in ${CONTAINER_SET};\
11198
do docker tag ${VCELL_REPO_NAMESPACE}/$CONTAINER:${VCELL_TAG} ${VCELL_REPO_NAMESPACE}/$CONTAINER:latest;\
11299
docker tag ${VCELL_REPO_NAMESPACE}/$CONTAINER:${VCELL_TAG} ${VCELL_REPO_NAMESPACE}/$CONTAINER:${FRIENDLY_TAG};\
@@ -116,3 +103,20 @@ jobs:
116103
- name: Setup tmate session
117104
uses: mxschmitt/action-tmate@v3
118105
if: ${{ failure() }}
106+
107+
108+
# if [ "${{ github.event.inputs.client_only }}" = "true" ]; then
109+
# echo "Building only client images"
110+
# export BUILD_IMAGES="clientgen"
111+
# else
112+
# echo "Building all images"
113+
#
114+
# fi
115+
116+
# if [ "${{ github.event.inputs.client_only }}" = "true" ]; then
117+
# echo "Building only client images"
118+
# export CONTAINER_SET="vcell-clientgen"
119+
# else
120+
# echo "Building all images"
121+
# export CONTAINER_SET="vcell-exporter vcell-api vcell-rest vcell-webapp-prod vcell-webapp-dev vcell-webapp-stage vcell-webapp-island vcell-batch vcell-opt vcell-clientgen vcell-data vcell-db vcell-mongo vcell-sched vcell-submit vcell-admin"
122+
# fi

0 commit comments

Comments
 (0)