Skip to content

Commit

Permalink
Merge pull request #1232 from virtualcell/deploy-vcell-fluxcd
Browse files Browse the repository at this point in the history
move kubernetes deploy config to vcell-fluxcd repo
  • Loading branch information
jcschaff authored Apr 30, 2024
2 parents be5673a + 4fd23ac commit 2187ac1
Show file tree
Hide file tree
Showing 79 changed files with 14 additions and 2,462 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/site_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
singularity remote login -u ${{ secrets.ACTION_USER }} -p ${{ secrets.ACTION_TOKEN }} oras://ghcr.io
singularity pull $BATCH_SINGULARITY_FILENAME oras://${VCELL_REPO_NAMESPACE}/vcell-batch-singularity:${{ github.event.inputs.vcell_version }}.${{ github.event.inputs.vcell_build }}
singularity pull $OPT_SINGULARITY_FILENAME oras://${VCELL_REPO_NAMESPACE}/vcell-opt-singularity:${{ github.event.inputs.vcell_version }}.${{ github.event.inputs.vcell_build }}
- name: deploy to kubernetes site
- name: deploy installers and singularity to kubernetes site
if: ${{ github.event.inputs.deployment_type == 'kubernetes' }}
run: |
set -ux
Expand All @@ -226,6 +226,19 @@ jobs:
${VCELL_MANAGER_NODE} \
./${VCELL_CONFIG_FILE_NAME}
fi
- name: Call webhook to deploy to kubernetes cluster (overlay 'stage')
if: ${{ github.event.inputs.deployment_type == 'kubernetes' }}
env:
GHCR_USERNAME: "${{ secrets.GHCR_USERNAME }}"
GHCR_TOKEN: "${{ secrets.GHCR_TOKEN }}"
BRANCH: "stage"
run: |
git_sha=$(git rev-parse --short "$GITHUB_SHA")
echo '{"ref": "main","inputs":{"overlay": "'$BRANCH'","tag":"'${{github.ref_name}}'"}}' >body
curl -X POST 'https://api.github.com/repos/virtualcell/vcell-fluxcd/actions/workflows/deploy.yml/dispatches' \
-H 'Authorization: Bearer ${{ secrets.GHCR_TOKEN }}' \
-H 'Content-Type: application/json' \
--data "@body"
- name: deploy to swarm site
if: ${{ github.event.inputs.deployment_type == 'swarm' }}
run: |
Expand Down
161 changes: 0 additions & 161 deletions docker/kustomize/README-Minikube.md

This file was deleted.

50 changes: 0 additions & 50 deletions docker/kustomize/base/activemqint.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions docker/kustomize/base/activemqsim.yaml

This file was deleted.

113 changes: 0 additions & 113 deletions docker/kustomize/base/api.yaml

This file was deleted.

Loading

0 comments on commit 2187ac1

Please sign in to comment.