Skip to content

Commit 7fd67bb

Browse files
committed
ci(v10): stop deploying installer to dev/rc runners, only publish to release
1 parent dd1f9c4 commit 7fd67bb

3 files changed

Lines changed: 1 addition & 79 deletions

File tree

.github/workflows/installer-release.yml

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -34,70 +34,6 @@ on:
3434
required: false
3535

3636
jobs:
37-
# ============================================
38-
# V10 DEV - Deploy to runner only
39-
# ============================================
40-
deploy_v10_dev:
41-
name: Deploy V10 to Dev Runner
42-
runs-on: utmstack-v10-dev
43-
if: inputs.version_major == 'v10' && inputs.environment == 'dev'
44-
steps:
45-
- name: Check out code
46-
uses: actions/checkout@v4
47-
48-
- name: Set up Go
49-
uses: actions/setup-go@v5
50-
with:
51-
go-version: ^1.20
52-
53-
- name: Build and Deploy
54-
working-directory: ./installer
55-
env:
56-
GOOS: linux
57-
GOARCH: amd64
58-
run: |
59-
echo "Building V10 Installer for dev environment"
60-
go build -o installer -v .
61-
mv installer /home/utmstack/installer
62-
chmod +x /home/utmstack/installer
63-
64-
- name: Run Installer
65-
working-directory: /home/utmstack
66-
run: |
67-
sudo ./installer
68-
69-
# ============================================
70-
# V10 RC - Deploy to runner
71-
# ============================================
72-
deploy_v10_rc_runner:
73-
name: Deploy V10 to RC Runner
74-
runs-on: utmstack-v10-rc
75-
if: inputs.version_major == 'v10' && inputs.environment == 'rc'
76-
steps:
77-
- name: Check out code
78-
uses: actions/checkout@v4
79-
80-
- name: Set up Go
81-
uses: actions/setup-go@v5
82-
with:
83-
go-version: ^1.20
84-
85-
- name: Build and Deploy
86-
working-directory: ./installer
87-
env:
88-
GOOS: linux
89-
GOARCH: amd64
90-
run: |
91-
echo "Building V10 Installer for rc environment"
92-
go build -o installer -v .
93-
mv installer /home/utmstack/installer
94-
chmod +x /home/utmstack/installer
95-
96-
- name: Run Installer
97-
working-directory: /home/utmstack
98-
run: |
99-
sudo ./installer
100-
10137
# ============================================
10238
# V10 RC - Upload to prerelease
10339
# ============================================

.github/workflows/v10-deployment-pipeline.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -367,20 +367,6 @@ jobs:
367367
steps:
368368
- run: echo "✅ All builds completed successfully"
369369

370-
deploy_installer_dev:
371-
name: Deploy Installer (Dev)
372-
needs: [all_builds_complete, setup_deployment]
373-
if: ${{ needs.setup_deployment.outputs.environment == 'dev' }}
374-
uses: ./.github/workflows/installer-release.yml
375-
with:
376-
version: ${{ needs.setup_deployment.outputs.tag }}
377-
version_major: v10
378-
environment: dev
379-
secrets:
380-
API_SECRET: ${{ secrets.API_SECRET }}
381-
CM_ENCRYPT_SALT: ${{ secrets.CM_ENCRYPT_SALT }}
382-
CM_SIGN_PUBLIC_KEY: ${{ secrets.CM_SIGN_PUBLIC_KEY }}
383-
384370
deploy_installer_rc:
385371
name: Deploy Installer (RC)
386372
needs: [all_builds_complete, setup_deployment]

version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 10.9.4
1+
version: 10.9.5

0 commit comments

Comments
 (0)