-
Notifications
You must be signed in to change notification settings - Fork 81
96 lines (91 loc) · 3.34 KB
/
deploy-programs.yaml
File metadata and controls
96 lines (91 loc) · 3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: Deploy Programs to Mainnet with IDL and Verified builds
on:
workflow_dispatch:
inputs:
program:
description: "Program to deploy"
required: true
type: choice
options:
- all
- conditional_vault_v4
- futarchy_v6
- launchpad_v6
- price_based_performance_package_v6
priority-fee:
description: "Priority fee in microlamports"
required: true
default: "300000"
type: string
jobs:
conditional-vault-v4:
if: inputs.program == 'conditional_vault_v4' || inputs.program == 'all'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "conditional_vault"
override-program-id: "VLTX1ishMBbcX3rdBWGssxawAo1Q2X2qxYFYqiGeHV"
network: "mainnet"
deploy: true
upload_idl: true
verify: true
use-squads: true
features: "production"
priority-fee: ${{ inputs.priority-fee }}
secrets:
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}
MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }}
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}
futarchy-v6:
if: inputs.program == 'futarchy_v6' || inputs.program == 'all'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "futarchy"
override-program-id: "FUTARELBfJfQ8RDGhg1wdhddq1odMAJUePHFuBYfUxKq"
network: "mainnet"
deploy: true
upload_idl: true
verify: true
use-squads: true
features: "production"
priority-fee: ${{ inputs.priority-fee }}
secrets:
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}
MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }}
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}
launchpad-v6:
if: inputs.program == 'launchpad_v6' || inputs.program == 'all'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "launchpad"
override-program-id: "MooNyh4CBUYEKyXVnjGYQ8mEiJDpGvJMdvrZx1iGeHV"
network: "mainnet"
deploy: true
upload_idl: true
verify: true
use-squads: true
features: "production"
priority-fee: ${{ inputs.priority-fee }}
secrets:
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}
MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }}
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}
price-based-performance-package-v6:
if: inputs.program == 'price_based_performance_package_v6' || inputs.program == 'all'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "price_based_performance_package"
override-program-id: "pbPPQH7jyKoSLu8QYs3rSY3YkDRXEBojKbTgnUg7NDS"
network: "mainnet"
deploy: true
upload_idl: true
verify: true
use-squads: true
priority-fee: ${{ inputs.priority-fee }}
secrets:
MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }}
MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }}
MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }}
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}