-
Notifications
You must be signed in to change notification settings - Fork 81
157 lines (149 loc) · 5.52 KB
/
deploy-programs.yaml
File metadata and controls
157 lines (149 loc) · 5.52 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
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
- launchpad_v7
- bid_wall
- liquidation
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: "VLTX1ishMBbcX3rdBWGssxawAo1Q2X2qxYFYqiGodVg"
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 }}
liquidation:
if: inputs.program == 'liquidation' || inputs.program == 'all'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "liquidation"
override-program-id: "LiQnowFbFQdYyZhF4pUbpsrZCjxRTQ1upKJxZ2VXjde"
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
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-v7:
if: inputs.program == 'launchpad_v7' || inputs.program == 'all'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "launchpad_v7"
override-program-id: "moontUzsdepotRGe5xsfip7vLPTJnVuafqdUWexVnPM"
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 }}
bid-wall:
if: inputs.program == 'bid_wall' || inputs.program == 'all'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "bid_wall"
override-program-id: "WALL8ucBuUyL46QYxwYJjidaFYhdvxUFrgvBxPshERx"
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 }}