From 9a35fb46d92ffdb40c718edf43351319faaecc7d Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Mon, 15 Jan 2024 03:44:15 +0000 Subject: [PATCH] Comment out workflows not ready to use --- .github/workflows/consensuswarn.yml | 34 ++-- .github/workflows/issues.yml | 32 ++-- .github/workflows/pr-reviews.yml | 48 ++--- .github/workflows/proto-registry.yml | 38 ++-- .github/workflows/sims-045.yml | 272 +++++++++++++-------------- .github/workflows/sims-046.yml | 272 +++++++++++++-------------- .github/workflows/sims-047.yml | 272 +++++++++++++-------------- .github/workflows/sims-nightly.yml | 168 ++++++++--------- .github/workflows/sims.yml | 244 ++++++++++++------------ 9 files changed, 690 insertions(+), 690 deletions(-) diff --git a/.github/workflows/consensuswarn.yml b/.github/workflows/consensuswarn.yml index c2944e342c..924e10f2bd 100644 --- a/.github/workflows/consensuswarn.yml +++ b/.github/workflows/consensuswarn.yml @@ -1,19 +1,19 @@ -name: "Warn about consensus code changes" +# name: "Warn about consensus code changes" -on: - pull_request_target: - types: - - opened - - edited - - synchronize +# on: +# pull_request_target: +# types: +# - opened +# - edited +# - synchronize -jobs: - main: - permissions: - pull-requests: write # For reading the PR and posting comment - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: orijtech/consensuswarn@main - with: - roots: "github.com/cosmos/cosmos-sdk/baseapp.BaseApp.PrepareProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.ProcessProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.FinalizeBlock,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.Commit,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.VerifyVoteExtension" +# jobs: +# main: +# permissions: +# pull-requests: write # For reading the PR and posting comment +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 +# - uses: orijtech/consensuswarn@main +# with: +# roots: "github.com/cosmos/cosmos-sdk/baseapp.BaseApp.PrepareProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.ProcessProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.FinalizeBlock,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.Commit,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.VerifyVoteExtension" diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index d8dd458633..655cda0e90 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -1,18 +1,18 @@ -name: Add Sprint issues to Cosmos SDK Project +# name: Add Sprint issues to Finschia SDK Project -on: - issues: - types: - - opened - - labeled +# on: +# issues: +# types: +# - opened +# - labeled -jobs: - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v0.5.0 - with: - project-url: https://github.com/orgs/cosmos/projects/26 - github-token: ${{ secrets.PERSONAL_TOKEN }} - labeled: T:Sprint,needs-triage +# jobs: +# add-to-project: +# name: Add issue to project +# runs-on: ubuntu-latest +# steps: +# - uses: actions/add-to-project@v0.5.0 +# with: +# project-url: https://github.com/orgs/Finschia/projects/26 +# github-token: ${{ secrets.PERSONAL_TOKEN }} +# labeled: T:Sprint,needs-triage diff --git a/.github/workflows/pr-reviews.yml b/.github/workflows/pr-reviews.yml index 4ed750ee1a..18dcfdb175 100644 --- a/.github/workflows/pr-reviews.yml +++ b/.github/workflows/pr-reviews.yml @@ -1,26 +1,26 @@ -# Request review on PRs without changing our codeowners file (which is stricter than review team) -name: Request review on PRs +# # Request review on PRs without changing our codeowners file (which is stricter than review team) +# name: Request review on PRs -on: - pull_request_target: - types: - - opened - - reopened - - ready_for_review - branches: - - "main" - - "release/**" +# on: +# pull_request_target: +# types: +# - opened +# - reopened +# - ready_for_review +# branches: +# - "main" +# - "release/**" -jobs: - request: - permissions: - pull-requests: write - name: Request reviews on opened PRs - runs-on: ubuntu-latest - steps: - - name: Create PR review request - if: ${{ !github.event.pull_request.draft }} - run: gh pr edit $PR_URL --add-reviewer @cosmos/sdk-core-review - env: - GH_TOKEN: ${{ secrets.PRBOT_PAT }} - PR_URL: ${{ github.event.pull_request.html_url }} +# jobs: +# request: +# permissions: +# pull-requests: write +# name: Request reviews on opened PRs +# runs-on: ubuntu-latest +# steps: +# - name: Create PR review request +# if: ${{ !github.event.pull_request.draft }} +# run: gh pr edit $PR_URL --add-reviewer @Finschia/sdk-core-review +# env: +# GH_TOKEN: ${{ secrets.PRBOT_PAT }} +# PR_URL: ${{ github.event.pull_request.html_url }} diff --git a/.github/workflows/proto-registry.yml b/.github/workflows/proto-registry.yml index d754573e5a..86471ae93f 100644 --- a/.github/workflows/proto-registry.yml +++ b/.github/workflows/proto-registry.yml @@ -1,20 +1,20 @@ -name: Buf-Push -# Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/cosmos/cosmos-sdk -# This workflow is only run when a .proto file has been changed -on: - push: - branches: - - main - paths: - - "proto/**" +# name: Buf-Push +# # Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/Finschia/finschia-sdk +# # This workflow is only run when a .proto file has been changed +# on: +# push: +# branches: +# - main +# paths: +# - "proto/**" -jobs: - push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: bufbuild/buf-setup-action@v1.21.0 - - uses: bufbuild/buf-push-action@v1 - with: - input: "proto" - buf_token: ${{ secrets.BUF_TOKEN }} +# jobs: +# push: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 +# - uses: bufbuild/buf-setup-action@v1.21.0 +# - uses: bufbuild/buf-push-action@v1 +# with: +# input: "proto" +# buf_token: ${{ secrets.BUF_TOKEN }} diff --git a/.github/workflows/sims-045.yml b/.github/workflows/sims-045.yml index c0761e3a46..08243a675a 100644 --- a/.github/workflows/sims-045.yml +++ b/.github/workflows/sims-045.yml @@ -1,145 +1,145 @@ -name: Sims release/0.45.x -# Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) -# This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed -on: - schedule: - - cron: "0 0,12 * * *" - release: - types: [published] +# name: Sims release/0.45.x +# # Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) +# # This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed +# on: +# schedule: +# - cron: "0 0,12 * * *" +# release: +# types: [published] -concurrency: - group: ci-${{ github.ref }}-sims-045 - cancel-in-progress: true +# concurrency: +# group: ci-${{ github.ref }}-sims-045 +# cancel-in-progress: true -jobs: - build: - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'skip-sims')" - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.45.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - run: make build +# jobs: +# build: +# runs-on: ubuntu-latest +# if: "!contains(github.event.head_commit.message, 'skip-sims')" +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.45.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - run: make build - install-runsim: - permissions: - contents: none - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - name: Install runsim - run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary +# install-runsim: +# permissions: +# contents: none +# runs-on: ubuntu-latest +# needs: build +# steps: +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - name: Install runsim +# run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary - test-sim-import-export: - runs-on: ubuntu-latest - needs: [build, install-runsim] - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.45.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-import-export - run: | - make test-sim-import-export +# test-sim-import-export: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.45.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-import-export +# run: | +# make test-sim-import-export - test-sim-after-import: - runs-on: ubuntu-latest - needs: [build, install-runsim] - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.45.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-after-import - run: | - make test-sim-after-import +# test-sim-after-import: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.45.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-after-import +# run: | +# make test-sim-after-import - test-sim-multi-seed-short: - runs-on: ubuntu-latest - needs: [build, install-runsim] - timeout-minutes: 60 - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.45.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-multi-seed-short - run: | - make test-sim-multi-seed-short +# test-sim-multi-seed-short: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# timeout-minutes: 60 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.45.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-multi-seed-short +# run: | +# make test-sim-multi-seed-short - sims-notify-success: - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ success() }} - steps: - - uses: actions/checkout@v3 - - name: Get previous workflow status - uses: ./.github/actions/last-workflow-status - id: last_status - with: - github_token: ${{ secrets.GITHUB_TOKEN }} +# sims-notify-success: +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ success() }} +# steps: +# - uses: actions/checkout@v3 +# - name: Get previous workflow status +# uses: ./.github/actions/last-workflow-status +# id: last_status +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Notify Slack on success - if: ${{ steps.last_status.outputs.last_status == 'failure' }} - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests release/0.45.x - SLACK_ICON_EMOJI: ":white_check_mark:" - SLACK_COLOR: good - SLACK_MESSAGE: 0.45.x Sims are passing - SLACK_FOOTER: "" +# - name: Notify Slack on success +# if: ${{ steps.last_status.outputs.last_status == 'failure' }} +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests release/0.45.x +# SLACK_ICON_EMOJI: ":white_check_mark:" +# SLACK_COLOR: good +# SLACK_MESSAGE: 0.45.x Sims are passing +# SLACK_FOOTER: "" - sims-notify-failure: - permissions: - contents: none - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ failure() }} - steps: - - name: Notify Slack on failure - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests release/0.45.x - SLACK_ICON_EMOJI: ":skull:" - SLACK_COLOR: danger - SLACK_MESSAGE: 0.45.x Sims are failing - SLACK_FOOTER: "" +# sims-notify-failure: +# permissions: +# contents: none +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ failure() }} +# steps: +# - name: Notify Slack on failure +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests release/0.45.x +# SLACK_ICON_EMOJI: ":skull:" +# SLACK_COLOR: danger +# SLACK_MESSAGE: 0.45.x Sims are failing +# SLACK_FOOTER: "" diff --git a/.github/workflows/sims-046.yml b/.github/workflows/sims-046.yml index d344fe31da..1e4de8ba1e 100644 --- a/.github/workflows/sims-046.yml +++ b/.github/workflows/sims-046.yml @@ -1,145 +1,145 @@ -name: Sims release/0.46.x -# Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) -# This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed -on: - schedule: - - cron: "0 0,12 * * *" - release: - types: [published] +# name: Sims release/0.46.x +# # Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) +# # This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed +# on: +# schedule: +# - cron: "0 0,12 * * *" +# release: +# types: [published] -concurrency: - group: ci-${{ github.ref }}-sims-046 - cancel-in-progress: true +# concurrency: +# group: ci-${{ github.ref }}-sims-046 +# cancel-in-progress: true -jobs: - build: - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'skip-sims')" - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.46.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - run: make build +# jobs: +# build: +# runs-on: ubuntu-latest +# if: "!contains(github.event.head_commit.message, 'skip-sims')" +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.46.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - run: make build - install-runsim: - permissions: - contents: none - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - name: Install runsim - run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary +# install-runsim: +# permissions: +# contents: none +# runs-on: ubuntu-latest +# needs: build +# steps: +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - name: Install runsim +# run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary - test-sim-import-export: - runs-on: ubuntu-latest - needs: [build, install-runsim] - timeout-minutes: 60 - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.46.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-import-export - run: | - make test-sim-import-export +# test-sim-import-export: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# timeout-minutes: 60 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.46.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-import-export +# run: | +# make test-sim-import-export - test-sim-after-import: - runs-on: ubuntu-latest - needs: [build, install-runsim] - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.46.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-after-import - run: | - make test-sim-after-import +# test-sim-after-import: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.46.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-after-import +# run: | +# make test-sim-after-import - test-sim-multi-seed-short: - runs-on: ubuntu-latest - needs: [build, install-runsim] - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.46.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-multi-seed-short - run: | - make test-sim-multi-seed-short +# test-sim-multi-seed-short: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.46.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-multi-seed-short +# run: | +# make test-sim-multi-seed-short - sims-notify-success: - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ success() }} - steps: - - uses: actions/checkout@v3 - - name: Get previous workflow status - uses: ./.github/actions/last-workflow-status - id: last_status - with: - github_token: ${{ secrets.GITHUB_TOKEN }} +# sims-notify-success: +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ success() }} +# steps: +# - uses: actions/checkout@v3 +# - name: Get previous workflow status +# uses: ./.github/actions/last-workflow-status +# id: last_status +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Notify Slack on success - if: ${{ steps.last_status.outputs.last_status == 'failure' }} - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests release/0.46.x - SLACK_ICON_EMOJI: ":white_check_mark:" - SLACK_COLOR: good - SLACK_MESSAGE: 0.46.x Sims are passing - SLACK_FOOTER: "" +# - name: Notify Slack on success +# if: ${{ steps.last_status.outputs.last_status == 'failure' }} +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests release/0.46.x +# SLACK_ICON_EMOJI: ":white_check_mark:" +# SLACK_COLOR: good +# SLACK_MESSAGE: 0.46.x Sims are passing +# SLACK_FOOTER: "" - sims-notify-failure: - permissions: - contents: none - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ failure() }} - steps: - - name: Notify Slack on failure - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests release/0.46.x - SLACK_ICON_EMOJI: ":skull:" - SLACK_COLOR: danger - SLACK_MESSAGE: 0.46.x Sims are failing - SLACK_FOOTER: "" +# sims-notify-failure: +# permissions: +# contents: none +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ failure() }} +# steps: +# - name: Notify Slack on failure +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests release/0.46.x +# SLACK_ICON_EMOJI: ":skull:" +# SLACK_COLOR: danger +# SLACK_MESSAGE: 0.46.x Sims are failing +# SLACK_FOOTER: "" diff --git a/.github/workflows/sims-047.yml b/.github/workflows/sims-047.yml index c1798be368..7f4f800a5b 100644 --- a/.github/workflows/sims-047.yml +++ b/.github/workflows/sims-047.yml @@ -1,145 +1,145 @@ -name: Sims release/0.47.x -# Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) -# This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed -on: - schedule: - - cron: "0 0,12 * * *" - release: - types: [published] +# name: Sims release/0.47.x +# # Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) +# # This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed +# on: +# schedule: +# - cron: "0 0,12 * * *" +# release: +# types: [published] -concurrency: - group: ci-${{ github.ref }}-sims-047 - cancel-in-progress: true +# concurrency: +# group: ci-${{ github.ref }}-sims-047 +# cancel-in-progress: true -jobs: - build: - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'skip-sims')" - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.47.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - run: make build +# jobs: +# build: +# runs-on: ubuntu-latest +# if: "!contains(github.event.head_commit.message, 'skip-sims')" +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.47.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - run: make build - install-runsim: - permissions: - contents: none - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - name: Install runsim - run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary +# install-runsim: +# permissions: +# contents: none +# runs-on: ubuntu-latest +# needs: build +# steps: +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - name: Install runsim +# run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary - test-sim-import-export: - runs-on: ubuntu-latest - needs: [build, install-runsim] - timeout-minutes: 60 - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.47.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-import-export - run: | - make test-sim-import-export +# test-sim-import-export: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# timeout-minutes: 60 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.47.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-import-export +# run: | +# make test-sim-import-export - test-sim-after-import: - runs-on: ubuntu-latest - needs: [build, install-runsim] - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.47.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-after-import - run: | - make test-sim-after-import +# test-sim-after-import: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.47.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-after-import +# run: | +# make test-sim-after-import - test-sim-multi-seed-short: - runs-on: ubuntu-latest - needs: [build, install-runsim] - steps: - - uses: actions/checkout@v3 - with: - ref: "release/v0.47.x" - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-multi-seed-short - run: | - make test-sim-multi-seed-short +# test-sim-multi-seed-short: +# runs-on: ubuntu-latest +# needs: [build, install-runsim] +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: "release/v0.47.x" +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-multi-seed-short +# run: | +# make test-sim-multi-seed-short - sims-notify-success: - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ success() }} - steps: - - uses: actions/checkout@v3 - - name: Get previous workflow status - uses: ./.github/actions/last-workflow-status - id: last_status - with: - github_token: ${{ secrets.GITHUB_TOKEN }} +# sims-notify-success: +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ success() }} +# steps: +# - uses: actions/checkout@v3 +# - name: Get previous workflow status +# uses: ./.github/actions/last-workflow-status +# id: last_status +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Notify Slack on success - if: ${{ steps.last_status.outputs.last_status == 'failure' }} - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests release/0.47.x - SLACK_ICON_EMOJI: ":white_check_mark:" - SLACK_COLOR: good - SLACK_MESSAGE: 0.47.x Sims are passing - SLACK_FOOTER: "" +# - name: Notify Slack on success +# if: ${{ steps.last_status.outputs.last_status == 'failure' }} +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests release/0.47.x +# SLACK_ICON_EMOJI: ":white_check_mark:" +# SLACK_COLOR: good +# SLACK_MESSAGE: 0.47.x Sims are passing +# SLACK_FOOTER: "" - sims-notify-failure: - permissions: - contents: none - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ failure() }} - steps: - - name: Notify Slack on failure - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests release/0.47.x - SLACK_ICON_EMOJI: ":skull:" - SLACK_COLOR: danger - SLACK_MESSAGE: 0.47.x Sims are failing - SLACK_FOOTER: "" +# sims-notify-failure: +# permissions: +# contents: none +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ failure() }} +# steps: +# - name: Notify Slack on failure +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests release/0.47.x +# SLACK_ICON_EMOJI: ":skull:" +# SLACK_COLOR: danger +# SLACK_MESSAGE: 0.47.x Sims are failing +# SLACK_FOOTER: "" diff --git a/.github/workflows/sims-nightly.yml b/.github/workflows/sims-nightly.yml index 5241516d2c..d562ccbdd9 100644 --- a/.github/workflows/sims-nightly.yml +++ b/.github/workflows/sims-nightly.yml @@ -1,91 +1,91 @@ -name: Sims Nightly (Long) -# Release Sims workflow runs long-lived (multi-seed & large block size) simulations -# This workflow only runs mightly at 8am UTC and on releases -on: - schedule: - - cron: "0 8 * * *" - release: - types: [published] +# name: Sims Nightly (Long) +# # Release Sims workflow runs long-lived (multi-seed & large block size) simulations +# # This workflow only runs mightly at 8am UTC and on releases +# on: +# schedule: +# - cron: "0 8 * * *" +# release: +# types: [published] -permissions: - contents: read +# permissions: +# contents: read -concurrency: - group: ci-${{ github.ref }}-sims-nightly-long - cancel-in-progress: true +# concurrency: +# group: ci-${{ github.ref }}-sims-nightly-long +# cancel-in-progress: true -jobs: - install-runsim: - permissions: - contents: none - runs-on: ubuntu-latest - steps: - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - name: Install runsim - run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary +# jobs: +# install-runsim: +# permissions: +# contents: none +# runs-on: ubuntu-latest +# steps: +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - name: Install runsim +# run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary - test-sim-multi-seed-long: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-multi-seed-long - run: | - make test-sim-multi-seed-long +# test-sim-multi-seed-long: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-multi-seed-long +# run: | +# make test-sim-multi-seed-long - sims-notify-success: - needs: [test-sim-multi-seed-long] - runs-on: ubuntu-latest - if: ${{ success() }} - steps: - - name: Check out repository - uses: actions/checkout@v3 - - name: Get previous workflow status - uses: ./.github/actions/last-workflow-status - id: last_status - with: - github_token: ${{ secrets.GITHUB_TOKEN }} +# sims-notify-success: +# needs: [test-sim-multi-seed-long] +# runs-on: ubuntu-latest +# if: ${{ success() }} +# steps: +# - name: Check out repository +# uses: actions/checkout@v3 +# - name: Get previous workflow status +# uses: ./.github/actions/last-workflow-status +# id: last_status +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Notify Slack on success - if: ${{ steps.last_status.outputs.last_status == 'failure' }} - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests - SLACK_ICON_EMOJI: ":white_check_mark:" - SLACK_COLOR: good - SLACK_MESSAGE: Sims Nightly (Long) are passing - SLACK_FOOTER: "" +# - name: Notify Slack on success +# if: ${{ steps.last_status.outputs.last_status == 'failure' }} +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests +# SLACK_ICON_EMOJI: ":white_check_mark:" +# SLACK_COLOR: good +# SLACK_MESSAGE: Sims Nightly (Long) are passing +# SLACK_FOOTER: "" - sims-notify-failure: - permissions: - contents: none - needs: [test-sim-multi-seed-long] - runs-on: ubuntu-latest - if: ${{ failure() }} - steps: - - name: Notify Slack on failure - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests - SLACK_ICON_EMOJI: ":skull:" - SLACK_COLOR: danger - SLACK_MESSAGE: Sims Nightly (Long) are failing - SLACK_FOOTER: "" +# sims-notify-failure: +# permissions: +# contents: none +# needs: [test-sim-multi-seed-long] +# runs-on: ubuntu-latest +# if: ${{ failure() }} +# steps: +# - name: Notify Slack on failure +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests +# SLACK_ICON_EMOJI: ":skull:" +# SLACK_COLOR: danger +# SLACK_MESSAGE: Sims Nightly (Long) are failing +# SLACK_FOOTER: "" diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index 972241bd08..6899098a01 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -1,130 +1,130 @@ -name: Sims -# Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) -# This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed -on: - schedule: - - cron: "0 */2 * * *" - release: - types: [published] +# name: Sims +# # Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short) +# # This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed +# on: +# schedule: +# - cron: "0 */2 * * *" +# release: +# types: [published] -concurrency: - group: ci-${{ github.ref }}-sims - cancel-in-progress: true +# concurrency: +# group: ci-${{ github.ref }}-sims +# cancel-in-progress: true -jobs: - build: - permissions: - contents: read # for actions/checkout to fetch code - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'skip-sims')" - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - run: make build - - name: Install runsim - run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary +# jobs: +# build: +# permissions: +# contents: read # for actions/checkout to fetch code +# runs-on: ubuntu-latest +# if: "!contains(github.event.head_commit.message, 'skip-sims')" +# steps: +# - uses: actions/checkout@v3 +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - run: make build +# - name: Install runsim +# run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary - test-sim-import-export: - runs-on: ubuntu-latest - needs: [build] - timeout-minutes: 60 - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-import-export - run: | - make test-sim-import-export +# test-sim-import-export: +# runs-on: ubuntu-latest +# needs: [build] +# timeout-minutes: 60 +# steps: +# - uses: actions/checkout@v3 +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-import-export +# run: | +# make test-sim-import-export - test-sim-after-import: - runs-on: ubuntu-latest - needs: [build] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-after-import - run: | - make test-sim-after-import +# test-sim-after-import: +# runs-on: ubuntu-latest +# needs: [build] +# steps: +# - uses: actions/checkout@v3 +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-after-import +# run: | +# make test-sim-after-import - test-sim-multi-seed-short: - runs-on: ubuntu-latest - needs: [build] - timeout-minutes: 60 - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: "1.21" - check-latest: true - - uses: actions/cache@v3 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-runsim-binary - - name: test-sim-multi-seed-short - run: | - make test-sim-multi-seed-short +# test-sim-multi-seed-short: +# runs-on: ubuntu-latest +# needs: [build] +# timeout-minutes: 60 +# steps: +# - uses: actions/checkout@v3 +# - uses: actions/setup-go@v4 +# with: +# go-version: "1.21" +# check-latest: true +# - uses: actions/cache@v3 +# with: +# path: ~/go/bin +# key: ${{ runner.os }}-go-runsim-binary +# - name: test-sim-multi-seed-short +# run: | +# make test-sim-multi-seed-short - sims-notify-success: - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ success() }} - steps: - - name: Check out repository - uses: actions/checkout@v3 - - name: Get previous workflow status - uses: ./.github/actions/last-workflow-status - id: last_status - with: - github_token: ${{ secrets.GITHUB_TOKEN }} +# sims-notify-success: +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ success() }} +# steps: +# - name: Check out repository +# uses: actions/checkout@v3 +# - name: Get previous workflow status +# uses: ./.github/actions/last-workflow-status +# id: last_status +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Notify Slack on success - if: ${{ steps.last_status.outputs.last_status == 'failure' }} - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests - SLACK_ICON_EMOJI: ":white_check_mark:" - SLACK_COLOR: good - SLACK_MESSAGE: Sims are passing - SLACK_FOOTER: "" +# - name: Notify Slack on success +# if: ${{ steps.last_status.outputs.last_status == 'failure' }} +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests +# SLACK_ICON_EMOJI: ":white_check_mark:" +# SLACK_COLOR: good +# SLACK_MESSAGE: Sims are passing +# SLACK_FOOTER: "" - sims-notify-failure: - permissions: - contents: none - needs: - [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] - runs-on: ubuntu-latest - if: ${{ failure() }} - steps: - - name: Notify Slack on failure - uses: rtCamp/action-slack-notify@v2.2.0 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests - SLACK_ICON_EMOJI: ":skull:" - SLACK_COLOR: danger - SLACK_MESSAGE: Sims are failing - SLACK_FOOTER: "" +# sims-notify-failure: +# permissions: +# contents: none +# needs: +# [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] +# runs-on: ubuntu-latest +# if: ${{ failure() }} +# steps: +# - name: Notify Slack on failure +# uses: rtCamp/action-slack-notify@v2.2.0 +# env: +# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} +# SLACK_CHANNEL: sdk-sims +# SLACK_USERNAME: Sim Tests +# SLACK_ICON_EMOJI: ":skull:" +# SLACK_COLOR: danger +# SLACK_MESSAGE: Sims are failing +# SLACK_FOOTER: ""