Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

chore: remove unused workflow

Hampus Kraft23f2d529f012
diff --git a/.github/workflows/deploy-kv.yaml b/.github/workflows/deploy-kv.yaml
deleted file mode 100644
index 78cf183ce..000000000
--- a/.github/workflows/deploy-kv.yaml
+++ /dev/null
@@ -1,91 +0,0 @@
-name: deploy kv
-
-on:
- push:
- branches:
- - canary
- paths:
- - fluxer_kv/**
- - .github/workflows/deploy-kv.yaml
- workflow_dispatch:
- inputs:
- ref:
- type: string
- required: false
- default: ''
- description: Optional git ref (defaults to the triggering branch)
-
-concurrency:
- group: deploy-fluxer-kv
- cancel-in-progress: true
-
-permissions:
- contents: read
-
-jobs:
- deploy:
- name: Deploy kv
- runs-on: blacksmith-8vcpu-ubuntu-2404
- timeout-minutes: 25
- env:
- STACK: fluxer-kv
- CACHE_SCOPE: deploy-fluxer-kv
- IS_CANARY: true
-
- steps:
- - uses: actions/checkout@v6
- with:
- ref: ${{ inputs.ref || '' }}
- fetch-depth: 0
-
- - name: Record deploy commit
- run: python3 scripts/ci/workflows/deploy_kv.py --step record_deploy_commit
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Login to Docker Hub
- uses: docker/login-action@v3
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_PASSWORD }}
-
- - name: Set build timestamp
- run: python3 scripts/ci/workflows/deploy_kv.py --step set_build_timestamp
-
- - name: Build image
- uses: docker/build-push-action@v6
- with:
- context: .
- file: fluxer_kv/Dockerfile
- tags: |
- ${{ env.STACK }}:${{ env.DEPLOY_SHA }}
- load: true
- platforms: linux/amd64
- cache-from: type=gha,scope=${{ env.CACHE_SCOPE }}
- cache-to: type=gha,mode=max,scope=${{ env.CACHE_SCOPE }}
- build-args: |
- BUILD_SHA=${{ env.DEPLOY_SHA }}
- BUILD_NUMBER=${{ github.run_number }}
- BUILD_TIMESTAMP=${{ env.BUILD_TIMESTAMP }}
- RELEASE_CHANNEL=canary
- env:
- DOCKER_BUILD_SUMMARY: false
- DOCKER_BUILD_RECORD_UPLOAD: false
-
- - name: Install docker-pussh
- run: python3 scripts/ci/workflows/deploy_kv.py --step install_docker_pussh
-
- - name: Set up SSH agent
- uses: webfactory/[email protected]
- with:
- ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_SERVER }}
-
- - name: Add server to known hosts
- run: python3 scripts/ci/workflows/deploy_kv.py --step add_known_hosts --server-ip ${{ secrets.SERVER_IP }}
-
- - name: Push image and deploy
- env:
- SERVER: ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}
- IMAGE_TAG: ${{ env.STACK }}:${{ env.DEPLOY_SHA }}
- run: python3 scripts/ci/workflows/deploy_kv.py --step push_and_deploy