Browse Source

clean: remove workflows

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 1 day ago
parent
commit
3bd6a754a8
3 changed files with 0 additions and 162 deletions
  1. 0 14
      .github/workflows/client.ovpn
  2. 0 68
      .github/workflows/dev.yml
  3. 0 80
      .github/workflows/release.yml

+ 0 - 14
.github/workflows/client.ovpn

@@ -1,14 +0,0 @@
-client
-dev tun
-proto udp
-remote sssd.cvpn-endpoint-0dee3f0de72d9b0a5.prod.clientvpn.us-west-2.amazonaws.com 443
-resolv-retry infinite
-nobind
-remote-cert-tls server
-cipher AES-256-GCM
-verb 3
-ca ca.crt
-cert user.crt
-key user.key
-
-reneg-sec 0

+ 0 - 68
.github/workflows/dev.yml

@@ -1,68 +0,0 @@
-name: Attu Dev Release
-
-on:
-  pull_request_target:
-    branches: [main]
-    types: [closed]
-
-concurrency:
-  group: attu-dev-release-main
-  cancel-in-progress: true
-
-jobs:
-  build:
-    runs-on: ubuntu-latest
-
-    steps:
-      - uses: actions/checkout@v4
-
-      - name: Setup Node.js
-        uses: actions/setup-node@v4
-        with:
-          node-version: 22
-
-      - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@v3
-        with:
-          install: true
-
-      - name: Login to DockerHub
-        uses: docker/login-action@v1
-        with:
-          username: ${{ secrets.DOCKER_USERNAME }}
-          password: ${{ secrets.DOCKER_PWD }}
-
-      - name: Docker Build and Push (Multi-platform)
-        uses: docker/build-push-action@v5
-        with:
-          context: .
-          platforms: linux/amd64
-          tags: |
-            zilliz/attu:dev
-          cache-from: type=registry,ref=zilliz/attu:cache
-          cache-to: type=inline
-          build-args: |
-            VERSION=dev
-          push: true
-
-  tag_issue:
-    runs-on: ubuntu-latest
-    needs: build
-    if: github.event.pull_request.merged == true
-    steps:
-      - uses: actions/checkout@v4
-
-      - name: Extract Issue Number from PR Body
-        id: extract_issue
-        env:
-          PR_BODY: "${{ github.event.pull_request.body }}"
-        run: |
-          echo "ISSUE_NUMBER=$(echo "$PR_BODY" | grep -oP '(?<=#)\d+' | head -n 1)" >> $GITHUB_ENV
-
-      - name: Add ready_to_release label to issue
-        if: env.ISSUE_NUMBER != ''
-        uses: actions-ecosystem/action-add-labels@v1
-        with:
-          github_token: ${{ secrets.PERSONAL_TOKEN }}
-          labels: ready_to_release
-          number: ${{ env.ISSUE_NUMBER }}

+ 0 - 80
.github/workflows/release.yml

@@ -1,80 +0,0 @@
-name: Build and Release Electron App and Docker Image
-
-on:
-  push:
-    tags:
-      - "*" # Triggers on any tag
-
-jobs:
-  build_and_release:
-    runs-on: ${{ matrix.os }}
-
-    strategy:
-      matrix:
-        include:
-          - os: macos-latest
-            name: "macOS Build"
-          - os: ubuntu-latest
-            name: "Ubuntu Build"
-          - os: windows-latest
-            name: "Windows Build"
-          - os: ubuntu-latest
-            name: "Docker Build"
-            platform: linux/amd64,linux/arm64,linux/arm/v7
-
-    steps:
-      - name: Check out Git repository
-        uses: actions/checkout@v4
-
-      - name: Extract Major.Minor tag (only for Docker job)
-        if: matrix.name == 'Docker Build'
-        uses: damienaicheh/extract-version-from-tag-action@v1.3.0
-
-      - name: Install Node.js, NPM, and Yarn
-        uses: actions/setup-node@v4
-        with:
-          node-version: 22
-
-      - name: Build client (only for non-Docker jobs)
-        if: matrix.name != 'Docker Build'
-        run: |
-          cd client
-          yarn --network-timeout 100000
-          yarn build
-          cp -r build ../server
-
-      - name: Build and Release Electron App
-        if: matrix.name != 'Docker Build'
-        uses: samuelmeuli/action-electron-builder@v1
-        with:
-          package_root: "./server"
-          build_script_name: "build-electron"
-          github_token: ${{ secrets.GH_TOKEN }}
-          release: ${{ startsWith(github.ref, 'refs/tags/') }}
-
-      - name: Set up Docker Buildx (only for Docker job)
-        if: matrix.name == 'Docker Build'
-        uses: docker/setup-buildx-action@v3
-
-      - name: Login to DockerHub (only for Docker job)
-        if: matrix.name == 'Docker Build'
-        uses: docker/login-action@v1
-        with:
-          username: ${{ secrets.DOCKER_USERNAME }}
-          password: ${{ secrets.DOCKER_PWD }}
-
-      - name: Build and Push Docker Image
-        if: matrix.name == 'Docker Build'
-        uses: docker/build-push-action@v5
-        with:
-          context: .
-          platforms: ${{ matrix.platform }}
-          tags: |
-            zilliz/attu:${{ github.ref_name }}
-            zilliz/attu:v${{ env.MAJOR }}.${{ env.MINOR }}
-            zilliz/attu:latest
-          cache-from: type=registry,ref=zilliz/attu:cache
-          cache-to: type=inline
-          build-args: |
-            VERSION=${{ github.ref_name }}
-          push: true