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

chore: Merge develop to main #578

Merged
merged 18 commits into from
Mar 28, 2023
Merged

chore: Merge develop to main #578

merged 18 commits into from
Mar 28, 2023

Conversation

ankurdotb
Copy link
Contributor

No description provided.

abdulla-ashurov and others added 18 commits March 3, 2023 20:00
* Generate package and package-lock files.

* Add .releaserc.json.
It needs for starting release API with prefix api/vx.y.z.

* Add releaser-api.yml.
It needs for releasing API package when something change in API package.

* Add releaser-api workflow to dispatch.yml.

* Delete release-api.yml

* Delete package.json

* Delete package-lock.json

* Delete .releaserc.json

* Remove release-api from dispatch

* Update release.yml

* Temporarily turn off dispatch

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Revert temporary changes

* Fix if guard

* Reactivate dispatch

* Disable upgrade tests

---------

Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Add semantic release exec

Update release.yml

Switch keep existing mode

Revert "Add semantic release exec"

This reverts commit 1e0a495.
* chore(deps): Bump golang.org/x/net from 0.6.0 to 0.7.0 in /api

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](golang/net@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update proto.mk

* Update go.work.sum

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.1 to 1.27.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.1...v1.27.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.4 to 2.9.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.8.4...v2.9.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Fix multibase && fix base58 encoding in debug cmd

* Nits + consistency fixes where relevant

* Removed redundant naming mixup

* Switch to backticks

* `gofumpt -ed`

---------

Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Co-authored-by: Tasos Derisiotis <50984242+Eengineer1@users.noreply.github.com>
* chore(deps): Bump bufbuild/buf-setup-action from 1.15.0 to 1.15.1

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.15.0...v1.15.1)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update proto.mk

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
…4.2 (#566)

Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](gabriel-vasile/mimetype@v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.2 to 1.27.4.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.2...v1.27.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 20.1.1 to 20.1.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](semantic-release/semantic-release@v20.1.1...v20.1.3)

---
updated-dependencies:
- dependency-name: semantic-release
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ore robustly [DEV-1900] (#462)

* Refactor code

* Refactor code

* Debug commit

* Do shorter more pythonic statement

* Refactor code

* Refactor code

* Add implementation for creating symlink to cheqd-noded binary

* Add env variable for running fresh installation

* Add env variable DEFAULT_DEBUG_BRANCH

* Set correct testnet chain ID

* Change summary

* Update node-cosmovisor.service

* Update DAEMON settings

* Update template file paths

* Update test.yml

* rename DEFAULT_HOME

* remove DEFAULT_SNAPSHOT_SERVER

* rename CHEQD_NODED_MINIMUM_GAS_PRICES

* rename DEFAULT_LOG_FORMAT

* Add default variables

* rename DEFAULT_CHEQD_HOME_DIR

* set default CHEQD_NODED_MONIKER

* Set defaults for Cosmovisor DAEMON

* Add comments

* Clean up and comment binary install

* Combine binary_path()

* Try and make structure more sensible

* Rename self.setup_system_configs

* Rewrite logging setup

* Replace with logging.info

* Replace failure_exit with logging.exception

* Delete rsyslog_cfg

* Refactor setup_logging_systemd

* Make is_valid_url top level

* Anotate setters

* Try catch interviewer

* Rewrite interviewer

* Delete what Cosmovisor version

* Only keep linter enabled

* Refactor ask for version

* Ask for setup

* Update installer.py

* ask_for_chain

* ask_for_cosmovisor

* ask_for_cosmovisor_bump

* ask_for_daemon_allow_download_binaries

* ask_for_daemon_restart_after_upgrade

* ask_for_moniker

* ask_for_external_address

* P2P and RPC port

* ask_for_persistent_peers

* ask_for_gas_price

* Update installer.py

* Bump mainnet version for docker env

* Update test.yml

* Update go.work.sum

* Add ability to change branch name while in development mode

* Makes changes around sysmted functions

* Fix linter mistakes

* Fix linter mistakes

* Fix linter mistakes

* Add implementation to clarify errors which may be in installer

* Uncomment interactive installer actions

* Remove Value of raiseExceptions because It is true by default

* Fix problem with geting release url

* Change DEFAULT_STANDALONE and DEFAULT_COSMOVISOR vars

* Fix problem with getting node-cosmovisor.service file

* Fix problem with running logratate and rsyslog services

* Add implementation for saving environment variables to /etc/environment file

* Small additions into comments

* Add fixes for snapshots and release url, integration tests

* Get mainnet version back to 0.6.10 for upgrade tests

* Update installer.py

* Standardise test workflow method

* Update test.yml

* Add more comments

* Rename service files

* Rename service files

* Rename files

* Throw exception for invalid release number

* Replace logging.warn with logging.warning

* Rewrite systemd active/enabled check

* Rewrite remove systemd service

* Update installer.py

* Rewrite enabled/active check

* Rewrite enable and disable

* Move to functions which prints error and exit

* Revert "Move to functions which prints error and exit"

This reverts commit cad1383.

* Update installer.py

* raiseExceptions

* Update installer.py

* Update installer.py

* Update installer.py

* Check all URLs before downloading

* Update installer.py

* Move pre_install

* Move remove_safe

* Rewrite pre-install

* Update installer.py

* Switch makedir to Python native

* Rewrite setup_log_dir()

* Update URL checks

* Rewrite setup_node_systemd

* Rewrite logging systemd setup

* Move install function to top

* Move get binary up

* Update installer.py

* Update installer.py

* Rewrite prepare cheqd user

* Move prepare directory tree

* Update installer.py

* Rename post_install to configure_node_settings

* Change get_cosmovisor

* Update get_cosmovisor

* Rename set_env_vars to set_environment variable

* Rewrite set environment variable

* Update installer.py

* Install Cosmovisor binary

* Install Cosmovisor binary and init

* Symlink creation etc for Cosmovisor

* Completed install Cosmovisor

* Remove setup_log_dir

* Switch to tarfile and os.chmod

* Rewrite to remove bump_cosmovisor()

* Rewrite standalone install

* Set cheqd_env_vars

* Update installer.py

* Update installer.py

* Update installer.py

* Removed unnecessary mkdir_p

* Update installer.py

* Do a backup before deleting root dir

* Rewrite logging setup

* Update installer.py

* Rewrite download_snapshot

* Rewrite set_snapshot_url

* Update installer.py

* Revert "Rewrite set_snapshot_url"

This reverts commit de59a0a.

* Rewrite compare_checksum

* Remove unnecessary close statements

* Remove pathlib

* Rewrite extract snapshot

* Update installer.py

* Update install-from-scratch-standalone.txt

* Complete the exit conditions

* Fix Pylint E0704 errors

* Fixed additional E0704 Pylint error

* Bump upgrade-v1 file

* Update package-lock.json

* Pass snapshot URl

* Bump Cosmovisor version

* Fix linter errors

* Update go.work.sum

* Cleaned up interviewer

* Update installer.py

* Add more guards to backup creation

* Fix cosmovisor_download_url

* Fix environment variable

* Fix os.makedirs

* Fix sudo commands

* Set debug messages for home dir and release

* Fix sudo again

* Update installer.py

* Update installer.py

* Fix path issues

* Fix export in /etc/environment file

* Fix source

* Add a debugging message to env var

* Update installer.py

* Update installer.py

* Clarify snapshot download

* Update installer.py

* Update installer.py

* Update installer.py

* Rewrite set env var function

* Update installer.py

* Update installer.py

* Fixed backup conditions

* Fix systemctl commands

* Remove more carefully in setup

* Fix file path passing for archive

* Update mainnet-latest.env

* Update installer.py

* Update installer.py

* Update installer.py

* Merge prepare_cheqd_user and prepare_directory_tree

* environment variable setting

* Update installer.py

* Pass inline for Cosmovisor init

* Switch to bash command for chown

Turns out shutil.chown doesn't do it recursively

* Update installer.py

* Update installer.py

* Create .bashrc

* Rename template

* Rename bash profile

* bash-profile rename

* Create bash_profile and bashrc files

* shutil.chown for standalone file

* Rewrite set_environment_variable

* Fix file response read

* Pass value inline

* Fix local_checksum

* Fix unclosed file exception

* Update installer.py

* Update installer.py

* Path the environment vars while using sudo

* Change broken links

* Change GITHUB_REF to github.ref_name

* Small fixes

* typo

* Create CONTRIBUTING.md

* Update installer.py

* Move to templates

* Move to tests

* Update README.md

* Update package-lock.json

* Bump package

* Update logic for environment variable update

* Fix links

* Update installer.py

* Update installer.py

* Update test.yml

* Update installer.py

* Update is config needed

* Switch order

* Update install-from-scratch-standalone.txt

* Update test cases

* Upgrade tests

* Update debugging statements

---------

Co-authored-by: abdulla-ashurov <abdulla.ashurov@dsr-corporation.com>
Co-authored-by: abdulla-ashurov <99400260+abdulla-ashurov@users.noreply.github.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
* chore(deps): Bump github.com/onsi/ginkgo/v2 from 2.9.1 to 2.9.2

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.9.1...v2.9.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update README.md

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.4 to 1.27.5.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.4...v1.27.5)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…0.2.0 (#569)

chore(deps): Bump github.com/multiformats/go-multibase

Bumps [github.com/multiformats/go-multibase](https://github.com/multiformats/go-multibase) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/multiformats/go-multibase/releases)
- [Commits](multiformats/go-multibase@v0.1.1...v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multibase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@ankurdotb ankurdotb merged commit cf118bb into main Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants