Skip to content

Commit

Permalink
Merge pull request #34 from persistenceOne/puneet/stop-cosmoshub
Browse files Browse the repository at this point in the history
fix: stop comsoshub-4 valset updates.
  • Loading branch information
puneet2019 authored Jul 29, 2024
2 parents b66acbe + ea7e2bd commit e74a291
Show file tree
Hide file tree
Showing 2 changed files with 257 additions and 258 deletions.
294 changes: 147 additions & 147 deletions .github/workflows/mainnet-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,95 +16,95 @@ env:
MNEMONIC: ${{ secrets.MNEMONIC }}

jobs:
liquidstakeibc-osmosis-valset:
if: github.event.schedule == '55 12 * * *'
environment: prod
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x ]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm ci
- name: Run get data to make weights
run: npm run smartstake-update-valset-weights
env:
FN: "GET_DATA"
HOST_CHAIN: "osmosis"
- name: Run do txn
run: npm run smartstake-update-valset-weights
env:
FN: "DO_TX"
HOST_CHAIN: "osmosis"

liquidstakeibc-dydx-valset:
if: github.event.schedule == '00 13 * * *'
environment: prod
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x ]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm ci
- name: Run get data to make weights
run: npm run smartstake-update-valset-weights
env:
FN: "GET_DATA"
HOST_CHAIN: "dydx"
- name: Run do txn
run: npm run smartstake-update-valset-weights
env:
FN: "DO_TX"
HOST_CHAIN: "dydx"

liquidstakeibc-cosmos-valset:
if: github.event.schedule == '05 13 * * *'
environment: prod
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x ]
# liquidstakeibc-osmosis-valset:
# if: github.event.schedule == '55 12 * * *'
# environment: prod
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# node-version: [ 16.x ]
#
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'
# cache-dependency-path: ./package-lock.json
# - name: Install dependencies
# run: npm ci
# - name: Run get data to make weights
# run: npm run smartstake-update-valset-weights
# env:
# FN: "GET_DATA"
# HOST_CHAIN: "osmosis"
# - name: Run do txn
# run: npm run smartstake-update-valset-weights
# env:
# FN: "DO_TX"
# HOST_CHAIN: "osmosis"
#
# liquidstakeibc-dydx-valset:
# if: github.event.schedule == '00 13 * * *'
# environment: prod
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# node-version: [ 16.x ]
#
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'
# cache-dependency-path: ./package-lock.json
# - name: Install dependencies
# run: npm ci
# - name: Run get data to make weights
# run: npm run smartstake-update-valset-weights
# env:
# FN: "GET_DATA"
# HOST_CHAIN: "dydx"
# - name: Run do txn
# run: npm run smartstake-update-valset-weights
# env:
# FN: "DO_TX"
# HOST_CHAIN: "dydx"

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm ci
- name: Run get data to make weights
run: npm run smartstake-update-valset-weights
env:
FN: "GET_DATA"
HOST_CHAIN: "cosmos"
- name: Run do txn
run: npm run smartstake-update-valset-weights
env:
FN: "DO_TX"
HOST_CHAIN: "cosmos"
# liquidstakeibc-cosmos-valset:
# if: github.event.schedule == '05 13 * * *'
# environment: prod
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# node-version: [ 16.x ]
#
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'
# cache-dependency-path: ./package-lock.json
# - name: Install dependencies
# run: npm ci
# - name: Run get data to make weights
# run: npm run smartstake-update-valset-weights
# env:
# FN: "GET_DATA"
# HOST_CHAIN: "cosmos"
# - name: Run do txn
# run: npm run smartstake-update-valset-weights
# env:
# FN: "DO_TX"
# HOST_CHAIN: "cosmos"

# liquidstakeibc-stargaze-valset:
# if: github.event.schedule == '15 13 * * *'
Expand Down Expand Up @@ -136,62 +136,62 @@ jobs:
# FN: "DO_TX"
# HOST_CHAIN: "stargaze"

liquidstakeibc-agoric-valset:
if: github.event.schedule == '20 13 * * *'
environment: prod
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x ]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm ci
- name: Run get data to make weights
run: npm run smartstake-update-valset-weights
env:
FN: "GET_DATA"
HOST_CHAIN: "agoric"
- name: Run do txn
run: npm run smartstake-update-valset-weights
env:
FN: "DO_TX"
HOST_CHAIN: "agoric"

liquidstake-persistence-valset:
if: github.event.schedule == '10 13 * * *'
environment: prod
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x ]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm ci
- name: Run get data to make weights
run: npm run smartstake-update-valset-weights-xprt
env:
FN: "GET_DATA"
HOST_CHAIN: "persistence"
- name: Run do txn
run: npm run smartstake-update-valset-weights-xprt
env:
FN: "DO_TX"
HOST_CHAIN: "persistence"
# liquidstakeibc-agoric-valset:
# if: github.event.schedule == '20 13 * * *'
# environment: prod
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# node-version: [ 16.x ]
#
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'
# cache-dependency-path: ./package-lock.json
# - name: Install dependencies
# run: npm ci
# - name: Run get data to make weights
# run: npm run smartstake-update-valset-weights
# env:
# FN: "GET_DATA"
# HOST_CHAIN: "agoric"
# - name: Run do txn
# run: npm run smartstake-update-valset-weights
# env:
# FN: "DO_TX"
# HOST_CHAIN: "agoric"
#
# liquidstake-persistence-valset:
# if: github.event.schedule == '10 13 * * *'
# environment: prod
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# node-version: [ 16.x ]
#
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'
# cache-dependency-path: ./package-lock.json
# - name: Install dependencies
# run: npm ci
# - name: Run get data to make weights
# run: npm run smartstake-update-valset-weights-xprt
# env:
# FN: "GET_DATA"
# HOST_CHAIN: "persistence"
# - name: Run do txn
# run: npm run smartstake-update-valset-weights-xprt
# env:
# FN: "DO_TX"
# HOST_CHAIN: "persistence"
Loading

0 comments on commit e74a291

Please sign in to comment.