Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
e005fbd
chore: merge master (#2827)
ilgooz Sep 12, 2022
069975a
fix: cli action org in templates (#2834)
tbruyelle Sep 15, 2022
529407a
test: TxService.Broadcast (#2833)
tbruyelle Sep 17, 2022
f5fe088
docs: fix missing err check (#2835)
tbruyelle Sep 19, 2022
e6c6cee
fix(template): seal the capability keeper (#2837)
fadeev Sep 20, 2022
6995021
chore: tooling updates (#2847)
Sep 21, 2022
22163d6
docs: Add section on TS client project setup (#2832)
clockworkgr Sep 22, 2022
9ec59a8
fix: change vuex generation to use a default TS client path (#2831)
Sep 22, 2022
d83ec7a
docs: fix link (#2854)
ilgooz Sep 22, 2022
a50bb0c
refactor(`network`): upgrade `spn` (#2851)
lumtis Sep 23, 2022
857858a
refactor(`network`): improve `chain list` command (#2853)
lumtis Sep 23, 2022
66a49d9
chore: Nodetime updates (#2845)
clockworkgr Sep 23, 2022
9c52458
fix: update package-lock (#2857)
Sep 23, 2022
505f7d5
feat(nodetime): update binaries (#2858)
github-actions[bot] Sep 23, 2022
9a4ff74
fix: nodetime (#2859)
Sep 26, 2022
8d4dbe0
feat(nodetime): update binaries (#2861)
github-actions[bot] Sep 26, 2022
3a32e6b
ci: add cosmoverse release (#2862)
ilgooz Sep 27, 2022
8af8085
fix: Downgrade pkg to 5.6.0. Upgrade ts-proto to highest possible (#2…
clockworkgr Sep 27, 2022
24dbb5c
feat(nodetime): update binaries (#2865)
github-actions[bot] Sep 27, 2022
048b4e9
chore(cosmosclient): switch to `BroadcastModeSync` (#2850)
tbruyelle Sep 27, 2022
35201e3
fix: change faucet to allow C.O.R.S. preflight requests (#2866)
Sep 29, 2022
03e8081
feat(pkg/cosmosanalysis): support discovery of modules defined in a v…
Sep 30, 2022
dd2a7c4
chore: go formatting (#2868)
github-actions[bot] Sep 30, 2022
91abe3c
chore: add a `bug` label to new issues (#2872)
fadeev Oct 3, 2022
ec1406b
test: add integration test to test generated TS client (#2446)
Oct 3, 2022
8df4860
chore: go formatting (#2876)
github-actions[bot] Oct 3, 2022
cf7fb91
test: integration build the ignite binary (#2639)
tbruyelle Oct 4, 2022
3494bb4
remove go.sum from template (#2880)
Oct 4, 2022
a0dc99a
feat: migration system for the config file (#2792)
Oct 4, 2022
992d9a6
chore: change nightly tag format (#2842)
tbruyelle Oct 4, 2022
dd34b8e
chore: remove get-diff action (#2882)
tbruyelle Oct 4, 2022
d780486
refactor(`network`): improve genesis parser (#2846)
lumtis Oct 4, 2022
b08039f
fix: ICA controller wiring (#2884)
tbruyelle Oct 5, 2022
3575a57
chore: update `ibc-go` to `v5` final release (#2874)
Oct 5, 2022
e4fcb43
chore: go formatting (#2881)
github-actions[bot] Oct 5, 2022
e8970aa
test: add TS integration test for a custom module (#2476)
Oct 6, 2022
435e1d8
chore: reveal `network` command (#2889)
tbruyelle Oct 6, 2022
396ecf6
feat: handle module discovery for akash (#2873)
tbruyelle Oct 7, 2022
a7d00a2
chore: go formatting (#2895)
github-actions[bot] Oct 7, 2022
72cc970
docs: initialize a `network` section in the docs (#2893)
lumtis Oct 10, 2022
bdb63ef
feat(`network`): add chain metadata as part of `n chain show info` co…
lumtis Oct 10, 2022
6c81a60
fix: change config migration to void leaving chunks at end of file (#…
Oct 11, 2022
4d855b5
chore: add lubtd as docs codeowner (#2907)
lumtis Oct 12, 2022
0753ef4
docs: fix tabulation in network guide (#2906)
lumtis Oct 12, 2022
6f673b0
refactor: improve generated proto-dir location (#2875)
Oct 12, 2022
3e4356a
refactor(service/chain): avoid direct interaction with Stdout and Std…
ivanovpetr Oct 13, 2022
2a3c5b6
docs: `network` command (#2890)
fadeev Oct 13, 2022
faa0671
feat(pkg): add support to query and save TXs and events (#2528)
Oct 13, 2022
d546742
chore: go formatting (#2916)
github-actions[bot] Oct 13, 2022
481071f
feat(`cosmosanalysis`): detect when proto RPC services are using pag…
Oct 14, 2022
836eb8f
feat: TS Client improvements (#2856)
clockworkgr Oct 14, 2022
ef381c8
feat(`network`): add validator command set (#2909)
lumtis Oct 14, 2022
3d123f0
fix: handle empty keyring message when listing keys (#2919)
Oct 14, 2022
3157894
feat(network): add coordinator command set (#2918)
lumtis Oct 14, 2022
1a41a01
fix: change session print loop to block until all events are handled …
Oct 14, 2022
533b96b
ci/docs: update Firebase settings (#2924)
ilgooz Oct 16, 2022
b25c269
ci/docs: run on self host (#2925)
ilgooz Oct 16, 2022
40907b5
merge master
ilgooz Oct 16, 2022
8f3354b
chore: change firebase project id (#2929)
ilgooz Oct 17, 2022
bca9aa7
chore: tidy and format
ilgooz Oct 17, 2022
683cbe9
chore: merge master
ilgooz Oct 17, 2022
42a4789
feat: move cosmoscmd in templates (#2910)
tbruyelle Oct 17, 2022
4979da1
docs: fix migration docs (#2912)
Oct 17, 2022
83a0746
docs(changelog): fix format (#2932)
ilgooz Oct 17, 2022
59c29d1
Fix: typos (#2936)
omahs Oct 17, 2022
3d9956b
feat: add `--peer-address` flag to `network chain join` command (#2921)
Oct 17, 2022
972a53d
fix(`template`): add baseapp options to template (#2933)
Oct 18, 2022
41b24f2
feat: upgrade `plush` templating dep (#2935)
Oct 18, 2022
e2d49e4
fix: network commands check for latest config version before build (#…
Oct 18, 2022
7996b0a
fix(`network`): spinner issue for validator and coordinator commands …
lumtis Oct 18, 2022
d2b8344
docs: add `cosmostxcollector` package docs (#2940)
Oct 19, 2022
58725ab
fix: change session to use the same spinner reference (#2943)
Oct 19, 2022
c49da6f
chore: update firebase settings (#2952)
ilgooz Oct 19, 2022
57d294f
chore: fix firebase (#2953)
ilgooz Oct 19, 2022
d784891
chore: fix firebase (#2954)
ilgooz Oct 19, 2022
d26a14a
docs(cli): update generated docs (#2855)
github-actions[bot] Oct 20, 2022
f29c966
docs(changelog): add v0.25.0 (#2960)
ilgooz Oct 20, 2022
0969582
chore(templates): adjust cli version (#2961)
ilgooz Oct 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"projects": {
"default": "ignite-hq"
"default": "ignitesrvc"
},
"targets": {
"ignite-hq": {
"ignitesrvc": {
"hosting": {
"docs.ignite.com": [
"ignite-go-docs"
"ignitesrvc-d"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* @ilgooz @lubtd @jeronimoalbi @aljo242 @tbruyelle @fadeev

# Docs
*.md @ilgooz @aljo242
*.md @ilgooz @aljo242 @lubtd
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Ignite CLI bug report
about: Create a report to help us improve
title: ''
labels: report
labels: bug
assignees: ''
---

Expand All @@ -16,4 +16,4 @@ Steps to reproduce the behavior:
**What version are you using?**

Provide the output of the `ignite version` command.


6 changes: 3 additions & 3 deletions .github/workflows/docs-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build_and_deploy:
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- name: Checkout
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNITE_HQ }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNITESRVC }}"
expires: 7d
target: docs.ignite.com
projectId: ignite-hq
projectId: ignitesrvc
8 changes: 4 additions & 4 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on:

jobs:
consecutiveness:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: mktcode/consecutive-workflow-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

build_and_deploy:
runs-on: ubuntu-latest
runs-on: self-hosted
needs: [ consecutiveness ]

steps:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNITE_HQ }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNITESRVC }}"
channelId: live
target: docs.ignite.com
projectId: ignite-hq
projectId: ignitesrvc
4 changes: 2 additions & 2 deletions .github/workflows/gen-docs-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19

- name: Generate CLI Docs
run: ./scripts/gen-cli-docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.18'
go-version: 1.19

- name: Run make format
run: make format
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19

- name: Checkout
uses: actions/checkout@v2
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/release-cosmoverse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Release cosmoverse

on:
push:
branches:
- cosmoverse

jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: mktcode/consecutive-workflow-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

release-cosmoverse:
runs-on: ubuntu-latest
needs: [ consecutiveness ]
env:
working-directory: go/src/github.com/ignite/cli

steps:
- uses: actions/checkout@v2

- name: Delete the cosmoverse release
uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
tag_name: v0.0.0-cosmoverse
delete_release: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Bump version and push tag
uses: mathieudutour/github-tag-action@v6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: v0.0.0-cosmoverse
tag_prefix: ""

- name: Upsert the cosmoverse release
uses: ncipollo/release-action@v1
with:
tag: v0.0.0-cosmoverse
name: cosmoverse
body: "Install and move the CLI to your bin directory: `curl https://get.ignite.com/cli@v0.0.0-cosmoverse! | bash`"
prerelease: true

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18

- name: Checkout
uses: actions/checkout@v2
with:
path: ${{ env.working-directory }}
fetch-depth: 0

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
workdir: ${{ env.working-directory }}
args: release --rm-dist --skip-validate -f .goreleaser.cosmoverse.yml
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

49 changes: 26 additions & 23 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- chore/fix-nightly-builds

jobs:
consecutiveness:
Expand All @@ -25,41 +26,43 @@ jobs:
- name: Delete the nightly release
uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
tag_name: v0.0.0-nightly
tag_name: nightly
delete_release: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Bump version and push tag
- name: Push new nightly tag
uses: mathieudutour/github-tag-action@v6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: v0.0.0-nightly
custom_tag: nightly
tag_prefix: ""

- name: Upsert the nightly release
- name: Create the new nightly release
uses: ncipollo/release-action@v1
with:
tag: v0.0.0-nightly
tag: nightly
name: nightly
body: "Install and move the CLI to your bin directory: `curl https://get.ignite.com/cli@v0.0.0-nightly! | bash`"
body: "Install and move the CLI to your bin directory: `curl https://get.ignite.com/cli@nightly! | bash`"
prerelease: true

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18

- name: Checkout
uses: actions/checkout@v2
with:
path: ${{ env.working-directory }}
fetch-depth: 0

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
releases-binaries:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.31
with:
workdir: ${{ env.working-directory }}
args: release --rm-dist --skip-validate -f .goreleaser.nightly.yml
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
github_token: ${{ secrets.GITHUB_TOKEN }}
project_path: "./ignite/cmd/ignite"
binary_name: "ignite"
asset_name: ignite-nightly-${{ matrix.goos }}-${{ matrix.goarch }}
release_name: "nightly"
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: -s -w -X github.com/ignite/cli/ignite/version.Version=nightly
goversion: "1.19"
19 changes: 4 additions & 15 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- name: Finding files and store to output
id: set-matrix
run: echo "::set-output name=matrix::$({ cd integration && find . -type d -maxdepth 1 -print; } | tail -n +2 | cut -c 3- | jq -R . | jq -cs .)"
run: echo "::set-output name=matrix::$({ cd integration && find . -type d ! -name testdata -maxdepth 1 -print; } | tail -n +2 | cut -c 3- | jq -R . | jq -cs .)"

integration:
name: test ${{ matrix.test-path }}
Expand All @@ -31,30 +31,19 @@ jobs:
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/*
!**/*.md
- uses: actions/cache@v2
if: env.GIT_DIFF
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v2
if: env.GIT_DIFF
- uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Install Ignite CLI
if: env.GIT_DIFF
run: go install ./...
go-version: 1.19
- name: Run Integration Tests
if: env.GIT_DIFF
run: go test -v -timeout 60m ./integration/${{ matrix.test-path }}
run: GOSUMDB=off go test -v -timeout 60m ./integration/${{ matrix.test-path }}

status:
runs-on: ubuntu-latest
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,13 @@ jobs:
timeout-minutes: 6
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Set up Go
uses: actions/setup-go@v2
if: env.GIT_DIFF
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- uses: golangci/golangci-lint-action@master
if: env.GIT_DIFF
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.45.2
version: v1.49.0
args: --timeout 10m
github-token: ${{ secrets.github_token }}
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
- uses: actions/setup-go@v3
with:
PATTERNS: |
**/*
!**/*.md
- uses: actions/setup-go@v2
if: env.GIT_DIFF
with:
go-version: 1.18
go-version: 1.19
- run: ./scripts/test-unit
if: env.GIT_DIFF
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ linters:
# - errcheck
- goconst
- gocritic
- gofmt
- goimports
- gofumpt
- revive
# - gosec
- gosimple
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.nightly.yml → .goreleaser.cosmoverse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ changelog:
skip: true
release:
prerelease: true
name_template: nightly
name_template: cosmoverse
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project_name: ignite
builds:
- main: ./ignite/cmd/ignite
ldflags:
- -s -w -X github.com/ignite/cli/ignite/version.Version={{.Tag}} -X github.com/ignite/cli/ignite/version.Date={{.Date}} -X github.com/ignite/cli/ignite/version.Head={{.FullCommit}}
- -s -w -X github.com/ignite/cli/ignite/version.Version={{.Tag}}
goos:
- linux
- darwin
Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
PROJECT_NAME = ignite
DATE := $(shell date '+%Y-%m-%dT%H:%M:%S')
HEAD = $(shell git rev-parse HEAD)
LD_FLAGS = -X github.com/ignite/cli/ignite/version.Head='$(HEAD)' \
-X github.com/ignite/cli/ignite/version.Date='$(DATE)'
LD_FLAGS =
BUILD_FLAGS = -mod=readonly -ldflags='$(LD_FLAGS)'
BUILD_FOLDER = ./dist

Expand Down Expand Up @@ -41,6 +40,11 @@ govet:
@echo Running go vet...
@go vet ./...

## govulncheck: Run govulncheck
govulncheck:
@echo Running govulncheck...
@go run golang.org/x/vuln/cmd/govulncheck ./...

## format: Install and run goimports and gofumpt
format:
@echo Formatting...
Expand All @@ -65,7 +69,7 @@ test-integration: install
@go test -race -failfast -v -timeout 60m ./integration/...

## test: Run unit and integration tests.
test: govet test-unit test-integration
test: govet govulncheck test-unit test-integration

.PHONY: test-unit test-integration test

Expand Down
Loading