diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 099db02d8a..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,64 +0,0 @@ -version: 2.1 - -executors: - docs: - docker: - - image: tendermintdev/docker-website-deployment - environment: - AWS_REGION: us-east-1 - -commands: - make: - parameters: - description: - type: string - target: - type: string - steps: - - attach_workspace: - at: /tmp/workspace - - restore_cache: - name: "Restore source code cache" - keys: - - go-src-v1-{{ .Revision }} - - checkout - - restore_cache: - name: "Restore go modules cache" - keys: - - go-mod-v2-{{ checksum "go.sum" }} - - run: - name: << parameters.description >> - command: | - make << parameters.target >> - -jobs: - build-docs: - executor: docs - steps: - - checkout - - run: - name: "Build docs" - command: make build-docs LEDGER_ENABLED=false - - run: - name: "Upload docs to S3" - command: make sync-docs LEDGER_ENABLED=false - -workflows: - version: 2 - test-suite: - jobs: - - build-docs: - context: docs-deployment-master - filters: - branches: - only: - - docs-staging - - build-docs: - context: docs-deployment-release - filters: - branches: - only: - - master - tags: - only: - - /v.*/ diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index dc6f4859a8..0000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,13 +0,0 @@ -# CODEOWNERS: https://help.github.com/articles/about-codeowners/ - -# NOTE: Order is important; the last matching pattern takes the -# most precedence. - -# Secondary repo maintainers, substitutes of the primary -# maintainers when they become MIA -* @cwgoes @sunnya97 - -# Primary repo maintainers -* @aaronc @alexanderbez @alessio - - diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 01cfd4f0e0..0000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,29 +0,0 @@ - - -## Description - - - -closes: #XXXX - ---- - -Before we can merge this PR, please make sure that all the following items have been -checked off. If any of the checklist items are not applicable, please leave them but -write a little note why. - -- [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting)) -- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work. -- [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md). -- [ ] Wrote unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing) -- [ ] Updated relevant documentation (`docs/`) or specification (`x//spec/`) -- [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code). -- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md` -- [ ] Re-reviewed `Files changed` in the Github PR explorer -- [ ] Review `Codecov Report` in the comment section below once CI passes diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 3a21afd512..0000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: 2 -updates: -- package-ecosystem: github-actions - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 -- package-ecosystem: gomod - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 - reviewers: - - alexanderbez - - fedekunze - labels: - - automerge - - dependencies -- package-ecosystem: npm - directory: "/docs" - schedule: - interval: daily - open-pull-requests-limit: 10 - reviewers: - - fadeev diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml deleted file mode 100644 index 0ed0b48a95..0000000000 --- a/.github/workflows/build_and_test.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Build and test -on: - push: - branches: - - master - - next - - release/* - pull_request: - branches: - - master - - next - - release/* - -jobs: - build-and-test: - runs-on: ubuntu-18.04 - timeout-minutes: 15 - - steps: - - uses: actions/checkout@v2 - - name: Build Docker container - run: | - docker build \ - --no-cache \ - --progress plain \ - --tag fetch_cosmos_sdk:$GITHUB_SHA \ - --file ./ci.Dockerfile \ - ./ - - name: Run make test - run: | - docker run --rm fetch_cosmos_sdk:$GITHUB_SHA \ - make test diff --git a/.github/workflows/proto-docker.yml b/.github/workflows/proto-docker.yml deleted file mode 100644 index 7e6b5e6576..0000000000 --- a/.github/workflows/proto-docker.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Build & Push SDK Proto Builder -on: - push: - branches: - - master - paths: - - "contrib/devtools/dockerfile" - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Prepare - id: prep - run: | - DOCKER_IMAGE=tendermintdev/sdk-proto-gen - VERSION=noop - if [[ $GITHUB_REF == refs/tags/* ]]; then - VERSION=${GITHUB_REF#refs/tags/} - elif [[ $GITHUB_REF == refs/heads/* ]]; then - VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g') - if [ "${{ github.event.repository.default_branch }}" = "$VERSION" ]; then - VERSION=latest - fi - fi - TAGS="${DOCKER_IMAGE}:${VERSION}" - echo ::set-output name=tags::${TAGS} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUBTM_USERNAME }} - password: ${{ secrets.DOCKERHUBTM_TOKEN }} - - - name: Publish to Docker Hub - uses: docker/build-push-action@v2 - with: - context: ./docker-build-sdk-proto - file: ./docker-build-sdk-proto/Dockerfile - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.prep.outputs.tags }} diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 13f05c131a..6020d49aa8 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -13,9 +13,10 @@ jobs: - uses: actions/checkout@master - name: lint run: make proto-lint - breakage: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: check-breakage - run: make proto-check-breaking + # disabled until stargate land on master + # breakage: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@master + # - name: check-breakage + # run: make proto-check-breaking diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 79b54186ee..2aa64d5c89 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,18 +1,18 @@ -name: "Close stale issues & pull requests" -on: - schedule: - - cron: "0 0 * * *" +# name: "Close stale issues & pull requests" +# on: +# schedule: +# - cron: "0 0 * * *" -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-pr-message: "This pull request has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions." - days-before-stale: 45 - days-before-close: 6 - exempt-pr-labels: "pinned, security, proposal, blocked" +# jobs: +# stale: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/stale@v3 +# with: +# repo-token: ${{ secrets.GITHUB_TOKEN }} +# stale-pr-message: "This pull request has been automatically marked as stale because it has not had +# recent activity. It will be closed if no further activity occurs. Thank you +# for your contributions." +# days-before-stale: 45 +# days-before-close: 6 +# exempt-pr-labels: "pinned, security, proposal, blocked" diff --git a/Makefile b/Makefile index d72d69f20d..5a9757a7e6 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ BINDIR ?= $(GOPATH)/bin BUILDDIR ?= $(CURDIR)/build SIMAPP = ./simapp MOCKS_DIR = $(CURDIR)/tests/mocks -HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git +HTTPS_GIT := https://github.com/fetchai/cosmos-sdk.git DOCKER := $(shell which docker) DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf