mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
ci: Use rocksdb v7.10.2 and go 1.19 (#1534)
* ci: Use go 1.19 and rocksdb 7.9.2 * Use rocksdb v7.10.2 to match other workflow
This commit is contained in:
parent
3375484f79
commit
bdf7a4d2a0
18
.github/workflows/cd-reset-internal-testnet.yml
vendored
18
.github/workflows/cd-reset-internal-testnet.yml
vendored
@ -10,14 +10,14 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
ssm-document-name:
|
ssm-document-name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
playbook-name:
|
playbook-name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
playbook-infrastructure-branch:
|
playbook-infrastructure-branch:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
secrets:
|
secrets:
|
||||||
CI_AWS_KEY_ID:
|
CI_AWS_KEY_ID:
|
||||||
required: true
|
required: true
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
- name: checkout repo from current commit
|
- name: checkout repo from current commit
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: take the chain offline
|
- name: take the chain offline
|
||||||
run: bash ${GITHUB_WORKSPACE}/.github/scripts/put-all-chain-nodes-on-standby.sh
|
run: bash ${GITHUB_WORKSPACE}/.github/scripts/put-all-chain-nodes-on-standby.sh
|
||||||
env:
|
env:
|
||||||
CHAIN_ID: ${{ inputs.chain-id }}
|
CHAIN_ID: ${{ inputs.chain-id }}
|
||||||
AWS_REGION: ${{ inputs.aws-region }}
|
AWS_REGION: ${{ inputs.aws-region }}
|
||||||
@ -54,11 +54,11 @@ jobs:
|
|||||||
- name: set up Go
|
- name: set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18'
|
go-version: "1.19"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
- name: build kava node updater
|
- name: build kava node updater
|
||||||
run: cd infrastructure/cli/kava-node-updater && make install && cd ../../../
|
run: cd infrastructure/cli/kava-node-updater && make install && cd ../../../
|
||||||
- name: run reset playbook on all chain nodes
|
- name: run reset playbook on all chain nodes
|
||||||
run: |
|
run: |
|
||||||
kava-node-updater \
|
kava-node-updater \
|
||||||
|
2
.github/workflows/cd-seed-chain.yml
vendored
2
.github/workflows/cd-seed-chain.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: "1.18"
|
go-version: "1.19"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
- name: build kava binary
|
- name: build kava binary
|
||||||
|
20
.github/workflows/cd-start-chain.yml
vendored
20
.github/workflows/cd-start-chain.yml
vendored
@ -10,14 +10,14 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
ssm-document-name:
|
ssm-document-name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
playbook-name:
|
playbook-name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
playbook-infrastructure-branch:
|
playbook-infrastructure-branch:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
secrets:
|
secrets:
|
||||||
CI_AWS_KEY_ID:
|
CI_AWS_KEY_ID:
|
||||||
required: true
|
required: true
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
- name: checkout repo from current commit
|
- name: checkout repo from current commit
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: take the chain offline
|
- name: take the chain offline
|
||||||
run: bash ${GITHUB_WORKSPACE}/.github/scripts/put-all-chain-nodes-on-standby.sh
|
run: bash ${GITHUB_WORKSPACE}/.github/scripts/put-all-chain-nodes-on-standby.sh
|
||||||
env:
|
env:
|
||||||
CHAIN_ID: ${{ inputs.chain-id }}
|
CHAIN_ID: ${{ inputs.chain-id }}
|
||||||
AWS_REGION: ${{ inputs.aws-region }}
|
AWS_REGION: ${{ inputs.aws-region }}
|
||||||
@ -50,11 +50,11 @@ jobs:
|
|||||||
- name: set up Go
|
- name: set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18'
|
go-version: "1.19"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
- name: build kava node updater
|
- name: build kava node updater
|
||||||
run: cd infrastructure/cli/kava-node-updater && make install && cd ../../../
|
run: cd infrastructure/cli/kava-node-updater && make install && cd ../../../
|
||||||
- name: run start-chain playbook on all chain nodes
|
- name: run start-chain playbook on all chain nodes
|
||||||
run: |
|
run: |
|
||||||
kava-node-updater \
|
kava-node-updater \
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
AWS_SDK_LOAD_CONFIG: 1
|
AWS_SDK_LOAD_CONFIG: 1
|
||||||
PLAYBOOK_INFRASTRUCTURE_BRANCH: ${{ inputs.playbook-infrastructure-branch }}
|
PLAYBOOK_INFRASTRUCTURE_BRANCH: ${{ inputs.playbook-infrastructure-branch }}
|
||||||
- name: bring the chain online
|
- name: bring the chain online
|
||||||
run: bash ${GITHUB_WORKSPACE}/.github/scripts/exit-standby-all-chain-nodes.sh
|
run: bash ${GITHUB_WORKSPACE}/.github/scripts/exit-standby-all-chain-nodes.sh
|
||||||
|
6
.github/workflows/ci-default.yml
vendored
6
.github/workflows/ci-default.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: "1.18"
|
go-version: "1.19"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
- name: build application
|
- name: build application
|
||||||
@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: "1.18"
|
go-version: "1.19"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
- name: run unit tests
|
- name: run unit tests
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: "1.18"
|
go-version: "1.19"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
- name: build kava cli
|
- name: build kava cli
|
||||||
|
4
.github/workflows/ci-master.yml
vendored
4
.github/workflows/ci-master.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: "1.18"
|
go-version: "1.19"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: true
|
cache: true
|
||||||
- name: set build tag
|
- name: set build tag
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: build rocksdb dependency
|
- name: build rocksdb dependency
|
||||||
run: bash ${GITHUB_WORKSPACE}/.github/scripts/install-rocksdb.sh
|
run: bash ${GITHUB_WORKSPACE}/.github/scripts/install-rocksdb.sh
|
||||||
env:
|
env:
|
||||||
ROCKSDB_VERSION: v7.7.3
|
ROCKSDB_VERSION: v7.10.2
|
||||||
- name: Build and upload release artifacts
|
- name: Build and upload release artifacts
|
||||||
run: bash ${GITHUB_WORKSPACE}/.github/scripts/publish-internal-release-artifacts.sh
|
run: bash ${GITHUB_WORKSPACE}/.github/scripts/publish-internal-release-artifacts.sh
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user