Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rapha/dockerization #1

Open
wants to merge 378 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
378 commits
Select commit Hold shift + click to select a range
4782e1b
feat: add testdata
shifty11 Jan 8, 2024
595e8ce
fix: split yarn commands for kystrap
shifty11 Jan 9, 2024
5e23bd8
chore: update docs in templates
shifty11 Jan 9, 2024
65420b5
chore: update templates
shifty11 Jan 9, 2024
7f223ca
fix: typescript docker build
shifty11 Jan 9, 2024
e9e3d4d
chore: update templates
shifty11 Jan 9, 2024
3b5cfdc
feat: add docker-compose.yml for easier testing
shifty11 Jan 10, 2024
5c1f0ca
chore: update readme's
shifty11 Jan 10, 2024
dcd5d68
Merge branch 'rapha/dockerization-cli' into rapha/dockerization-e2etest
shifty11 Jan 10, 2024
715bb22
feat: support nested REST testdata
shifty11 Jan 10, 2024
872ccd9
chore: refactor test setup
shifty11 Jan 10, 2024
72cc6f2
feat: add more testdata
shifty11 Jan 10, 2024
c4cf040
feat: parallelize tests (part 1)
shifty11 Jan 10, 2024
bdbdccb
fix: use vanilla go tests instead of ginkgo
shifty11 Jan 11, 2024
2492fb0
chore: add setup method
shifty11 Jan 11, 2024
1287e92
fix: loopvar issue
shifty11 Jan 11, 2024
f49c7cb
fix: use zap logger instead of fmt.Println
shifty11 Jan 15, 2024
f3f1f55
chore: refactor code
shifty11 Jan 15, 2024
c59703b
fix: cleanup after tests finish
shifty11 Jan 15, 2024
323cd4e
fix: ambiguous import
shifty11 Jan 15, 2024
473f884
chore: lint & format
shifty11 Jan 15, 2024
2e5c860
feat: add go linter in CI/CD
shifty11 Jan 15, 2024
064b072
feat: add e2e tests in CI/CD
shifty11 Jan 15, 2024
4f9eb53
fix: typo
shifty11 Jan 15, 2024
98939d5
fix: increase verbosity for e2e tests
shifty11 Jan 15, 2024
eab4257
feat: add kystrap integrations
shifty11 Jan 16, 2024
8c9e8d8
fix: add testdata to templates
shifty11 Jan 16, 2024
f576022
fix: validation in go template
shifty11 Jan 16, 2024
b7739fa
fix: increase timeout for e2etest
shifty11 Jan 16, 2024
edff5fa
chore: merge main
shifty11 Jan 16, 2024
9f9e40d
Merge branch 'rapha/dockerization' into rapha/dockerization-cli
shifty11 Jan 16, 2024
ba8a461
Merge branch 'rapha/dockerization-cli' into rapha/dockerization-e2etest
shifty11 Jan 16, 2024
d439c66
chore: use kyve buf registry
shifty11 Jan 16, 2024
95e790c
Merge branch 'rapha/dockerization' into rapha/dockerization-cli
shifty11 Jan 16, 2024
6e9ef7b
Merge branch 'rapha/dockerization-cli' into rapha/dockerization-e2etest
shifty11 Jan 16, 2024
d4648d9
feat: support blobs in testapi
shifty11 Jan 16, 2024
131502c
fix: testdata
shifty11 Jan 16, 2024
5a81978
chore: format
shifty11 Jan 16, 2024
190bdd9
fix: make test
shifty11 Jan 17, 2024
34e7d14
feat: add script to run e2e tests within docker
shifty11 Jan 17, 2024
f365c7e
feat: initial version of kysor (go)
shifty11 Jan 18, 2024
75879ad
feat: parse init params
shifty11 Jan 18, 2024
4ea84c4
feat: save config file
shifty11 Jan 18, 2024
b6c93fc
feat: add version cmd
shifty11 Jan 18, 2024
d521491
fix: interactive mode
shifty11 Jan 18, 2024
077c803
feat: add valaccounts-create cmd
shifty11 Jan 18, 2024
7902183
feat: add validate fn
shifty11 Jan 18, 2024
1e487ac
chore: refactor flags and cmds
shifty11 Jan 22, 2024
2ad90ad
feat: add more flags to "create valaccount"
shifty11 Jan 22, 2024
603db61
feat: add go.work in root
shifty11 Jan 22, 2024
1222e79
fix: typescript linter
shifty11 Jan 23, 2024
dddd8b0
feat: save valaccount configs
shifty11 Jan 23, 2024
40a98fb
chore: update go modules
shifty11 Jan 23, 2024
a303b4c
feat: query pools from chain
shifty11 Jan 23, 2024
a45f6ec
feat: add show-address and show-balance commands
shifty11 Jan 23, 2024
9edf5bc
feat: add transfer and delete commands (valaccounts)
shifty11 Jan 24, 2024
d9ffc41
feat: add params to start command
shifty11 Jan 24, 2024
734a336
feat: implement "cloneRepo" (draft)
shifty11 Jan 24, 2024
01eb6e7
chore: merge main
shifty11 Jan 29, 2024
f79fec1
Merge branch 'rapha/dockerization' into rapha/dockerization-kysor
shifty11 Jan 29, 2024
c0ae390
chore: add todo
shifty11 Jan 29, 2024
1144f07
chore: update cloneRepo
shifty11 Jan 29, 2024
2774be9
chore: move code to kysor
shifty11 Jan 29, 2024
2a8f455
feat: add start and stop of containers
shifty11 Jan 29, 2024
022efd3
fix: tests
shifty11 Jan 30, 2024
ef8e7d8
fix: env file for start cmd
shifty11 Jan 30, 2024
e1c89af
feat: add stop command
shifty11 Jan 30, 2024
796f7df
chore: simplify code
shifty11 Jan 30, 2024
fbbe164
chore: simplify code
shifty11 Jan 30, 2024
6b3d4c3
feat: output more info for start/stop
shifty11 Jan 30, 2024
3caf922
chore: simplify code
shifty11 Jan 30, 2024
7b7a4b0
chore: refactor kysor
shifty11 Jan 31, 2024
1660e2c
chore: update go requirements
shifty11 Jan 31, 2024
9676df8
feat: use kysor-cmd in kystrap
shifty11 Jan 31, 2024
3ee9250
chore: update go.mod's
shifty11 Jan 31, 2024
0ab8fc0
feat: update cmd description
shifty11 Jan 31, 2024
f6606f7
feat: add transfer command
shifty11 Feb 1, 2024
9ddf0d2
chore: improve cmd output
shifty11 Feb 1, 2024
deb8b1a
fix: use docker api negotiation
shifty11 Feb 1, 2024
88e28f6
feat: print docker build output
shifty11 Feb 5, 2024
f8f1ab3
fix: e2e-tests
shifty11 Feb 5, 2024
259c4b2
chore: change output
shifty11 Feb 5, 2024
dacf783
feat: add home flag
shifty11 Feb 5, 2024
fc59898
chore: refactor valaccount config
shifty11 Feb 5, 2024
0157183
feat: add helper methods
shifty11 Feb 5, 2024
1d310d1
feat: add RunPromptCommandE
shifty11 Feb 5, 2024
5d254a7
fix: e2e-tests
shifty11 Feb 5, 2024
86b48fa
chore: run formatter & linter
shifty11 Feb 5, 2024
eee2f75
feat: split common cmd and docker logic into goutils module
shifty11 Feb 6, 2024
fed812c
feat: add root Makefile
shifty11 Feb 6, 2024
7513b53
chore: format & lint
shifty11 Feb 6, 2024
42c2c6c
chore: remove unused files
shifty11 Feb 6, 2024
130d5a2
chore: update go.mod files
shifty11 Feb 6, 2024
1729a80
feat: update readme's
shifty11 Feb 6, 2024
5559bf0
chore: rename start.sh to kystrap.sh
shifty11 Feb 6, 2024
6153138
chore: cleanup main README.md
shifty11 Feb 6, 2024
bcf2da3
feat: add more docs
shifty11 Feb 6, 2024
47d5028
feat: add history for kystrap testing
shifty11 Feb 7, 2024
2b877d3
chore: update templates
shifty11 Feb 7, 2024
b9b10f3
feat: add test script
shifty11 Feb 7, 2024
ea3be82
fix: test script
shifty11 Feb 7, 2024
3665f45
fix: typos
shifty11 Feb 7, 2024
6b2c285
chore: update build and makefile's
shifty11 Feb 8, 2024
fe59e3b
chore: remove go.work in root
shifty11 Feb 8, 2024
9c4b088
feat: update kystrap test
shifty11 Feb 8, 2024
2a09396
chore: refactor test.sh
shifty11 Feb 8, 2024
a54b1ed
feat: run kysor in foreground by default
shifty11 Feb 12, 2024
6ff5462
fix: printing of logs
shifty11 Feb 12, 2024
a1c855d
feat: restart on new version
shifty11 Feb 12, 2024
0155b14
feat: pull repo continuously
shifty11 Feb 12, 2024
102d621
chore: refactor code
shifty11 Feb 12, 2024
796cac7
feat: add protocol- and integration version flags
shifty11 Feb 12, 2024
ad9707f
fix: stopping of containers
shifty11 Feb 12, 2024
68f8714
chore: refactor stopping of containers
shifty11 Feb 13, 2024
e45de46
feat: add valaccount flag to stop
shifty11 Feb 13, 2024
fff7eb1
chore: update deps
shifty11 Feb 13, 2024
34bac29
feat: add extra hosts do docker config
shifty11 Feb 13, 2024
045b0cd
feat: add extra hosts to start
shifty11 Feb 13, 2024
a8fa9e3
chore: update images
shifty11 Feb 13, 2024
2c22318
fix: disable auto-update
shifty11 Feb 13, 2024
706e175
fix: auto-update
shifty11 Feb 13, 2024
580f5ec
fix: config saving
shifty11 Feb 13, 2024
d7200c2
fix: missing port in config
shifty11 Feb 13, 2024
7e7ee79
feat: add docker check
shifty11 Feb 13, 2024
448b249
chore: add go.work
shifty11 Feb 13, 2024
98ed6af
feat: add max size to selection prompt
shifty11 Feb 13, 2024
7449043
chore: use a better ansi color library
shifty11 Feb 13, 2024
6608111
chore: update cli
shifty11 Feb 13, 2024
0f8f0cc
feat: add e2e tests for new integrations
shifty11 Feb 14, 2024
93a7462
chore: update docs for testing
shifty11 Feb 14, 2024
4e9ae68
chore: remove unused testdata
shifty11 Feb 14, 2024
d5a6655
chore: update docs
shifty11 Feb 14, 2024
3abc5bb
fix: copy file permissions in bootstrap command
shifty11 Feb 14, 2024
6f68127
feat: add fetch-testdata.sh script
shifty11 Feb 14, 2024
1ae8171
fix: lots of small fixes
shifty11 Feb 14, 2024
beaddef
chore: update goutils
shifty11 Feb 14, 2024
f88e59d
chore: update SummarizeDataBundle for go template
shifty11 Feb 14, 2024
8a1143f
chore: remove unused stuff
shifty11 Feb 15, 2024
27d21e3
feat: add confirmation prompt to transfer
shifty11 Feb 15, 2024
9c27fc3
chore: remove code complexity
shifty11 Feb 15, 2024
636df52
fix: error handling for new version check
shifty11 Feb 15, 2024
a4ad0fc
chore: add tools to goutils
shifty11 Feb 15, 2024
3a88f18
chore: update cosmos-sdk deps
shifty11 Feb 15, 2024
51afef1
chore: update go.work.sum
shifty11 Feb 15, 2024
b76450d
fix: printLogs loop
shifty11 Feb 15, 2024
c7087a0
fix: go template
shifty11 Feb 15, 2024
0856a39
fix: go template
shifty11 Feb 15, 2024
6870f82
chore: delete typescript stuff in kysor
shifty11 Feb 15, 2024
7e309c1
chore: update Makefiles to support parallel execution of docker build…
shifty11 Feb 15, 2024
ccfed0f
feat: add docker-image to e2etest and kystrap Makefiles
shifty11 Feb 15, 2024
215eee5
feat: add Makefile to typescript integrations
shifty11 Feb 15, 2024
f073663
feat: add Makefile to protocol and sdk
shifty11 Feb 15, 2024
0a1b932
feat: add lint to sdk
shifty11 Feb 15, 2024
0911412
chore: update kysor version handling
shifty11 Feb 19, 2024
d63aa0b
chore: update template
shifty11 Feb 20, 2024
8afef24
chore: remove protocol dependency from typescript integrations
shifty11 Feb 20, 2024
e9a20d8
chore: remove protocol dependency from typescript integrations
shifty11 Feb 20, 2024
392031d
feat: add release script
shifty11 Feb 21, 2024
dfe2fd0
chore: update error message
shifty11 Feb 21, 2024
772c1bf
fix: problems with local git repo handling
shifty11 Feb 22, 2024
23e2120
chore: add some TODO's
shifty11 Feb 22, 2024
def664e
fix: auto-update
shifty11 Feb 22, 2024
a13a9ce
chore: remove sdk and types
shifty11 Feb 22, 2024
c33d3fb
chore: move proto to common folder
shifty11 Feb 22, 2024
427aea9
chore: move protocol to protocol/core
shifty11 Feb 22, 2024
d852af2
chore: move integrations to runtime
shifty11 Feb 22, 2024
05599c1
chore: move e2etest to test/e2e
shifty11 Feb 22, 2024
6da33a9
chore: rename integrations to runtimes in e2etest
shifty11 Feb 22, 2024
43542ce
fix: e2e tests
shifty11 Feb 22, 2024
93737a5
chore: rename integration to runtime in kysor & kystrap
shifty11 Feb 22, 2024
28c8e36
fix: path in proto-gen.sh
shifty11 Feb 22, 2024
92586bc
feat: add new github workflow files
shifty11 Feb 22, 2024
f4203df
feat: add matrix run to docker build (CI/CD)
shifty11 Feb 22, 2024
403df58
fix: typo
shifty11 Feb 22, 2024
7b144c2
chore: trigger CI/CD
shifty11 Feb 26, 2024
d472a30
fix: CI/CD
shifty11 Feb 26, 2024
8a8e9ee
fix: CI/CD
shifty11 Feb 26, 2024
6c1ffd2
fix: CI/CD
shifty11 Feb 26, 2024
0a8a5a3
fix: docker release
shifty11 Feb 26, 2024
03db891
fix: go release
shifty11 Feb 26, 2024
48a0bca
chore: add common to release
shifty11 Feb 26, 2024
0f04e0e
chore: change kyvejs to kyve-rdk in goutils
shifty11 Feb 26, 2024
13b7da3
chore: change kyvejs to kyve-rdk in kysor and kystrap
shifty11 Feb 26, 2024
ff82cee
fix: make kysor work again
shifty11 Feb 26, 2024
f711bd0
chore: remove kyvejs from templates
shifty11 Feb 26, 2024
b9caf54
chore: update runtime.proto
shifty11 Feb 26, 2024
056b262
fix: tags issue in release script
shifty11 Feb 26, 2024
fc661bb
chore: run format & lint
shifty11 Feb 26, 2024
5f12aec
chore: add same info for docker build
shifty11 Feb 26, 2024
9f19e10
fix: e2e tests in go template
shifty11 Feb 26, 2024
083aed8
fix: typescript issues that broke the tests
shifty11 Feb 26, 2024
c83274f
fix: e2e tests
shifty11 Feb 26, 2024
9f6da1c
fix: max size for grpc calls in go
shifty11 Feb 27, 2024
2fcb2a4
feat: pass versions for kysor and go runtimes
shifty11 Feb 27, 2024
0c157a5
fix: go lint issue
shifty11 Feb 27, 2024
73bea7b
feat: add GetFromUrl for go template
shifty11 Feb 27, 2024
16a7435
fix: typo
shifty11 Feb 27, 2024
7fe6838
feat: add protocol-build-dir and runtime-build-dir flags
shifty11 Feb 27, 2024
1be0e10
feat: add PromptYesNo and GetStringFromFlag
shifty11 Feb 27, 2024
5241eef
feat: add AdvancedOptions to "kysor start" cmd
shifty11 Feb 27, 2024
b847949
fix: versioning bug
shifty11 Feb 27, 2024
c58721e
feat: set version in protocol and typescript runtimes
shifty11 Mar 4, 2024
4ddfeb1
fix: kysor build version
shifty11 Mar 4, 2024
6a2cc61
feat: set version in templates
shifty11 Mar 4, 2024
bb44b9e
chore: refactor code
shifty11 Mar 4, 2024
9a9e16a
fix: expose metrics port
shifty11 Mar 4, 2024
f836848
chore: use latest goutil
shifty11 Mar 4, 2024
07e6b31
chore: update go version to 1.22
shifty11 Mar 4, 2024
5aedd08
chore: set default value for docker version
shifty11 Mar 4, 2024
ea6dbfc
fix: e2e tests
shifty11 Mar 4, 2024
d417004
fix: e2e tests
shifty11 Mar 4, 2024
efa0f8f
fix: e2e tests
shifty11 Mar 4, 2024
52f33fb
chore: remove unused properties
shifty11 Mar 5, 2024
0783beb
fix: go caching in CI/CD
shifty11 Mar 5, 2024
a52a9c9
chore: run formatter
shifty11 Mar 5, 2024
351d3c6
chore: remove typescript leftovers
shifty11 Mar 5, 2024
349c6f1
chore: remove AutoDownloadBinaries from kysor config
shifty11 Mar 5, 2024
a134549
fix: go.sum path in CI/CD
shifty11 Mar 5, 2024
09c351c
chore: generate proto files
shifty11 Mar 5, 2024
1ebb445
chore: remove unused files from protocol
shifty11 Mar 5, 2024
bd46f32
fix: yarn in CI/CD pipeline
shifty11 Mar 5, 2024
c0fef82
fix: add direct-channel again (as test file)
shifty11 Mar 5, 2024
f58de74
feat: add status command to kysor
shifty11 Mar 5, 2024
b68b9cb
feat: add search mode in goutils
shifty11 Mar 5, 2024
ce899a1
feat: add search mode in kysor
shifty11 Mar 5, 2024
cf2417c
feat: support multiple rest/rpc endpoints
shifty11 Mar 5, 2024
b01153c
chore: update docs
shifty11 Mar 6, 2024
60f9cf5
feat: add update check to kysor
shifty11 Mar 6, 2024
bf85998
fix: typos
shifty11 Mar 6, 2024
53ae72f
chore: remove unused property
shifty11 Mar 7, 2024
22d544e
fix: kystrap.sh volume mount
shifty11 Mar 7, 2024
25f247f
fix: run-e2e-tests.sh volume mount
shifty11 Mar 7, 2024
e78ed9b
fix: go template import
shifty11 Mar 7, 2024
329bf6a
chore: remove test ci/cd workflow
shifty11 Mar 7, 2024
71e1270
feat: use release-please for CI/CD releases
shifty11 Mar 12, 2024
a9c37d5
feat(kystrap): update release please config when creating new runtimes
shifty11 Mar 12, 2024
d06298d
fix: e2e-tests
shifty11 Mar 12, 2024
8c33be9
fix: only allow lowercase chars for new runtimes
shifty11 Mar 12, 2024
95a5c2d
chore: bump initial version for old tools to 2.0.0
shifty11 Mar 12, 2024
ff2c905
chore: simplify github actions
shifty11 Mar 13, 2024
772c68d
chore: remove "build:docker" from protocol package.json
shifty11 Apr 8, 2024
bb6cf76
chore: change naming of local built docker images
shifty11 Apr 8, 2024
1fb8ec1
chore: delete .DS_Store
shifty11 Apr 8, 2024
b8b4213
fix: separate protocol/runtime versioning
shifty11 Apr 15, 2024
fb84895
fix: gitignore testdata folder for go template
shifty11 Apr 15, 2024
4f3d03e
fix: remove @ from docker image names
shifty11 Apr 15, 2024
a2cac80
fix: always build linux-x64 images
shifty11 Apr 15, 2024
c80f241
fix: always build linux/x86_64 for protocol-node
shifty11 Apr 16, 2024
851855e
chore: remove ensure_version from Makefile
shifty11 Sep 4, 2024
803735c
docs: add DEVELOPMENT-TODO.md
shifty11 Sep 4, 2024
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: 0 additions & 6 deletions .eslintignore

This file was deleted.

49 changes: 0 additions & 49 deletions .eslintrc

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/build-check.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Check all

on:
workflow_call:

jobs:
lint:
uses: ./.github/workflows/checks_lint.yml

build-docker-images:
uses: ./.github/workflows/checks_build-docker-images.yml
18 changes: 18 additions & 0 deletions .github/workflows/checks_build-docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build docker images check

on:
workflow_call:

jobs:
build-docker-images:
name: 'build docker images'
runs-on: ubuntu-latest
outputs:
docker: ${{ steps.set-env.outputs.docker }}
steps:
# Checkout the repository
- name: Checkout the repository
uses: actions/checkout@v4
# Build docker images
- name: Build docker images
run: make build-docker-images
33 changes: 33 additions & 0 deletions .github/workflows/checks_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Lint check

on:
workflow_call:

jobs:
lint:
runs-on: ubuntu-latest
env:
npm_config_user: "root"
steps:
# Checkout the repository
- name: Checkout the repository
uses: actions/checkout@v4
# Setup Golang
- name: 🐿 Setup Golang
uses: actions/setup-go@v4
with:
go-version-file: 'tools/kysor/go.mod'
cache-dependency-path: 'tools/kysor/go.sum'
# Install nodejs
- name: Install nodejs
uses: actions/setup-node@v4
# Install yarn
- name: Install yarn
run: npm install --global yarn
# Run yarn install
- name: Run yarn install
run: yarn install
working-directory: protocol/core
# Lint all modules and packages
- name: Lint all
run: make lint
80 changes: 0 additions & 80 deletions .github/workflows/integration-release.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/kysor-release.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/lint-checks.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/on_main_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: On main push

on:
push:
branches: [ main ]

permissions:
contents: write
pull-requests: write

jobs:
release:
name: "Release"
runs-on: ubuntu-latest
outputs:
kysor-released: ${{ steps.release.outputs['tools/kysor--release_created'] }}
kysor-path: ${{ steps.release.outputs['tools/kysor--path'] }}
kysor-version: ${{ steps.release.outputs['tools/kysor--version'] }}
kysor-tag-name: ${{ steps.release.outputs['tools/kysor--tag_name'] }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release

release-kysor:
name: "Release kysor"
needs: release
if: ${{ needs.release.outputs.kysor-released }}
uses: ./.github/workflows/releases_go.yml
with:
working-dir: ${{ needs.release.outputs.kysor-path }}
version: ${{ needs.release.outputs.kysor-version }}
tag-name: ${{ needs.release.outputs.kysor-tag-name }}
Loading