Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 47 additions & 8 deletions .github/workflows/deploy-programs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ on:
required: true
type: choice
options:
- all
- conditional_vault_v4
- futarchy_v6
- launchpad_v6
- price_based_performance_package_v6
- launchpad_v7
- bid_wall
- liquidation
- mint_governor
- performance_package_v2
priority-fee:
description: "Priority fee in microlamports"
required: true
Expand All @@ -24,7 +25,7 @@ on:

jobs:
conditional-vault-v4:
if: inputs.program == 'conditional_vault_v4' || inputs.program == 'all'
if: inputs.program == 'conditional_vault_v4'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "conditional_vault"
Expand All @@ -43,7 +44,7 @@ jobs:
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}

liquidation:
if: inputs.program == 'liquidation' || inputs.program == 'all'
if: inputs.program == 'liquidation'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "liquidation"
Expand All @@ -62,7 +63,7 @@ jobs:
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}

futarchy-v6:
if: inputs.program == 'futarchy_v6' || inputs.program == 'all'
if: inputs.program == 'futarchy_v6'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "futarchy"
Expand All @@ -81,7 +82,7 @@ jobs:
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}

launchpad-v6:
if: inputs.program == 'launchpad_v6' || inputs.program == 'all'
if: inputs.program == 'launchpad_v6'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "launchpad"
Expand All @@ -100,7 +101,7 @@ jobs:
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}

price-based-performance-package-v6:
if: inputs.program == 'price_based_performance_package_v6' || inputs.program == 'all'
if: inputs.program == 'price_based_performance_package_v6'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "price_based_performance_package"
Expand All @@ -119,7 +120,7 @@ jobs:
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}

launchpad-v7:
if: inputs.program == 'launchpad_v7' || inputs.program == 'all'
if: inputs.program == 'launchpad_v7'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "launchpad_v7"
Expand All @@ -138,7 +139,7 @@ jobs:
MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }}

bid-wall:
if: inputs.program == 'bid_wall' || inputs.program == 'all'
if: inputs.program == 'bid_wall'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "bid_wall"
Expand All @@ -150,6 +151,44 @@ jobs:
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 }}

mint-governor:
if: inputs.program == 'mint_governor'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "mint_governor"
override-program-id: "gvnr27cVeyW3AVf3acL7VCJ5WjGAphytnsgcK1feHyH"
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 }}

performance-package-v2:
if: inputs.program == 'performance_package_v2'
uses: ./.github/workflows/reusable-build.yaml
with:
program: "performance_package_v2"
override-program-id: "pPV2pfrxnmstSb9j7kEeCLny5BGj6SNwCWGd6xbGGzz"
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 }}
Expand Down
36 changes: 35 additions & 1 deletion .github/workflows/generate-verifiable-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,38 @@ jobs:
uses: EndBug/add-and-commit@v9.1.4
with:
default_author: github_actions
message: 'Update liquidation verifiable build'
message: 'Update liquidation verifiable build'
generate-verifiable-mint-governor:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: metadaoproject/anchor-verifiable-build@v0.4
with:
program: mint_governor
anchor-version: '0.29.0'
solana-cli-version: '1.17.31'
features: 'production'
- run: 'git pull --rebase'
- run: cp target/deploy/mint_governor.so ./verifiable-builds
- name: Commit verifiable build back to mainline
uses: EndBug/add-and-commit@v9.1.4
with:
default_author: github_actions
message: 'Update mint_governor verifiable build'
generate-verifiable-performance-package-v2:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: metadaoproject/anchor-verifiable-build@v0.4
with:
program: performance_package_v2
anchor-version: '0.29.0'
solana-cli-version: '1.17.31'
features: 'production'
- run: 'git pull --rebase'
- run: cp target/deploy/performance_package_v2.so ./verifiable-builds
- name: Commit verifiable build back to mainline
uses: EndBug/add-and-commit@v9.1.4
with:
default_author: github_actions
message: 'Update performance_package_v2 verifiable build'
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Programs for unruggable capital formation and market-driven governance.
| ----------------- | ---- | -------------------------------------------- |
| launchpad | v0.7.0 | moontUzsdepotRGe5xsfip7vLPTJnVuafqdUWexVnPM |
| bid_wall | v0.7.0 | WALL8ucBuUyL46QYxwYJjidaFYhdvxUFrgvBxPshERx |
| mint_governor | v0.7.0 | gvnr27cVeyW3AVf3acL7VCJ5WjGAphytnsgcK1feHyH |
| performance_package_v2 | v0.7.0 | pPV2pfrxnmstSb9j7kEeCLny5BGj6SNwCWGd6xbGGzz |
| liquidation | v0.1.0 | LiQnowFbFQdYyZhF4pUbpsrZCjxRTQ1upKJxZ2VXjde |
| futarchy | v0.6.0 | FUTARELBfJfQ8RDGhg1wdhddq1odMAJUePHFuBYfUxKq |
| launchpad | v0.6.0 | MooNyh4CBUYEKyXVnjGYQ8mEiJDpGvJMdvrZx1iGeHV |
Expand Down
Loading