Skip to content

Commit

Permalink
Update Installers Script Name
Browse files Browse the repository at this point in the history
Before it was deploy-actions-kubernetes.sh
  • Loading branch information
AvocadoMoon committed Jan 8, 2025
1 parent 5665b1f commit d4eb528
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/site_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ jobs:
ssh-keyscan $VCELL_MANAGER_NODE >> ~/.ssh/known_hosts
cd docker/swarm
scp ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE}:${VCELL_DEPLOY_REMOTE_DIR}/${VCELL_CONFIG_FILE_NAME} .
- name: deploy installers and web help to vcell.org
- name: deploy installers to vcell.org
run: |
set -ux
cd docker/swarm
ssh -t ${{ secrets.CD_FULL_USER }}@${VCELL_MANAGER_NODE} sudo docker login -u ${{ github.actor }} -p "${{ secrets.GITHUB_TOKEN }}" ghcr.io
if ${{ github.event.inputs.server_only != 'true' }}; then
# build and install the client installers, and the web help (kubernetes cluster deployments are separate)
./deploy-action-kubernetes.sh \
# build and install the client installers (kubernetes cluster deployments are separate)
./deploy-installers.sh \
--ssh-user ${{ secrets.CD_FULL_USER }} \
--deploy-installers \
--installer-deploy-dir $VCELL_INSTALLER_REMOTE_DIR \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
set -ux

show_help() {
echo "Deploys vcell client installers for a Kubernetes deploy"
echo "Deploys vcell client installers."
echo ""
echo "usage: deploy-action-kubernetes.sh [OPTIONS] REQUIRED-ARGUMENTS"
echo "usage: deploy-installers.sh [OPTIONS] REQUIRED-ARGUMENTS"
echo ""
echo " REQUIRED-ARGUMENTS"
echo " manager-node any node for ssh access (e.g. vcellapi.cam.uchc.edu)"
Expand All @@ -28,7 +28,7 @@ show_help() {
echo ""
echo "example:"
echo ""
echo "deploy-action-kubernetes.sh \\"
echo "deploy-installers.sh \\"
echo " --ssh-user vcell \\"
echo " --deploy_installers --installer_deploy_dir /share/apps/vcell3/apache_webroot/htdocs/webstart/Alpha \\"
echo " vcellapi.cam.uchc.edu \\"
Expand Down
2 changes: 1 addition & 1 deletion docker/swarm/serverconfig-uch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ VCELL_SSH_CMD_RESTORE_TIMEOUT=5

#
# write out the environment file to be for:
# 1. deployment actions (e.g. deploy-action-kubernetes.sh)
# 1. deployment actions (e.g. deploy-installers.sh)
# 2. runtime environment for the docker stack run command (kubernetes uses ConfigMaps in vcell-fluxcd repo), what about VCell Installers?
#
cat <<EOF >"$_outputfile"
Expand Down

0 comments on commit d4eb528

Please sign in to comment.