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

[GHA] chat-opt from main to support/1.2.x [DO NOT SQUASH] #1291

Closed
wants to merge 76 commits into from

Conversation

kuvaldini
Copy link
Contributor

  • [GHA] chat-ops to main
  • [GHA] better chat-ops
  • [GHA] Separate workflows by inkoking events
  • [GHA][Docker] fix clang in iroha-builder
  • [GHA] on pull request get /build spec from commit message
  • [GHA] Use Dockerhub organization 'iroha1' for forks
  • [GHA] clean-up

iceseer and others added 30 commits March 10, 2021 16:57
* subscription: utils

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler queue

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler queue

Signed-off-by: iceseer <iceseer@gmail.com>

* threaded handler queue

Signed-off-by: iceseer <iceseer@gmail.com>

* refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher

Signed-off-by: iceseer <iceseer@gmail.com>

* subscription engine

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* compile-time murmur2

Signed-off-by: iceseer <iceseer@gmail.com>

* engine refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher in engine

Signed-off-by: iceseer <iceseer@gmail.com>

* TID chained

Signed-off-by: iceseer <iceseer@gmail.com>

* dispatcher checks

Signed-off-by: iceseer <iceseer@gmail.com>

* engine multithreaded

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* manager

Signed-off-by: iceseer <iceseer@gmail.com>

* compiled

Signed-off-by: iceseer <iceseer@gmail.com>

* compiled

Signed-off-by: iceseer <iceseer@gmail.com>

* work

Signed-off-by: iceseer <iceseer@gmail.com>

* refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* comments

Signed-off-by: iceseer <iceseer@gmail.com>

* test

Signed-off-by: iceseer <iceseer@gmail.com>

* rollback test

Signed-off-by: iceseer <iceseer@gmail.com>

# Conflicts:
#	irohad/main/application.cpp

* move args

Signed-off-by: iceseer <iceseer@gmail.com>

* thread safe

Signed-off-by: iceseer <iceseer@gmail.com>

* fixup!

Signed-off-by: iceseer <iceseer@gmail.com>

* refactoring

Signed-off-by: iceseer <iceseer@gmail.com>

* format

Signed-off-by: iceseer <iceseer@gmail.com>

* rw object holder

Signed-off-by: iceseer <iceseer@gmail.com>

* rename

Signed-off-by: iceseer <iceseer@gmail.com>

* SE sync call

Signed-off-by: iceseer <iceseer@gmail.com>

* issue fixes

Signed-off-by: iceseer <iceseer@gmail.com>

* revert sync call

Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Add prometheus metrics sample

Issues closes hyperledger#833, closes hyperledger#834

There is a config-file key "metrics" which represents
address:port in one line. Values could be addr:port, port,
or :port. I.e "127.0.0.1:8080", "9090", or ":1234".
See file examples/config.sample. Wrong value disables
Prometheus metrics.

There are two command line options to override config:
--metrics_port http port to listen on, default empty - disabled
--metrics_addr interface address to listen on, default 127.0.0.1

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
Signed-off-by: iceseer <iceseer@gmail.com>
hyperledger#881 Launch from scratch without --drop-state flag

Signed-off-by: kuvaldini <jqyw@ukr.net>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Signed-off-by: kuvaldini <jqyw@ukr.net>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
bind/unbind additional schedulers to dispatcher

Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Signed-off-by: Alexander Lednev <57529355+iceseer@users.noreply.github.com>
Closes hyperledger#868 irohad silently exits with 1 if config file does not exist

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
Signed-off-by: Sara <lira.lemur@gmail.com>
Signed-off-by: Sara <lira.lemur@gmail.com>
Signed-off-by: Sara <lira.lemur@gmail.com>

review fix

Signed-off-by: Sara <lira.lemur@gmail.com>
Signed-off-by: iceseer <iceseer@gmail.com>
Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
Signed-off-by: Sara <lira.lemur@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
@kuvaldini kuvaldini force-pushed the gha-chatops-from-main branch 2 times, most recently from c1fe5d6 to 57316cc Compare July 23, 2021 16:44
@kuvaldini
Copy link
Contributor Author

kuvaldini commented Jul 23, 2021

/build hello

Triggered workflow run https://github.com/hyperledger/iroha/actions/runs/1060366184

Will build: NOTHING

Errors,Warnings:
::error::Unknown /build argument 'hello'
::error::MATRIX is empty!
EXAMPLE build_spec:
/build ubuntu release gcc10
/build macos llvm release
/build all
AVAILABLE build_spec keywords:
sed: -e expression #1, char 9: Unmatched ) or )

TODO Status: report status here

@kuvaldini
Copy link
Contributor Author

kuvaldini commented Jul 23, 2021

/build asdfgh

Triggered workflow run https://github.com/hyperledger/iroha/actions/runs/1060554414

Will build: NOTHING

Errors,Warnings:

::error::Unknown /build argument 'asdfgh'
::error::MATRIX is empty!
EXAMPLE build_spec:
   /build ubuntu release gcc10
   /build macos llvm release
   /build all
AVAILABLE build_spec keywords:
   ubuntu|linux
   macos
   windows
   normal
   burrow
   ursa
   release|Release
   debug|Debug
   gcc|gcc-9|gcc9
   gcc-10|gcc10
   clang|clang-10|clang10
   llvm
   clang
   msvc
   mingw
   cygwin
   dockerpush
   nodockerpush
   all|everything|before_merge|before-merge```

TODO **Status:** report status here

@kuvaldini
Copy link
Contributor Author

/build do not

@kuvaldini
Copy link
Contributor Author

/build testmesg

@kuvaldini
Copy link
Contributor Author

/build 444

@kuvaldini
Copy link
Contributor Author

/build 555

@kuvaldini
Copy link
Contributor Author

kuvaldini commented Jul 23, 2021

/build 666


Triggered workflow run https://github.com/hyperledger/iroha/actions/runs/1060657444

Will build:

Errors,Warnings:

::error::Unknown /build argument '666'
::error::MATRIX is empty!
EXAMPLE build_spec:
 /build ubuntu release gcc10
 /build macos llvm release
 /build all
AVAILABLE build_spec keywords:
 ubuntu|linux
 macos
 windows
 normal
 burrow
 ursa
 release|Release
 debug|Debug
 gcc|gcc-9|gcc9
 gcc-10|gcc10
 clang|clang-10|clang10
 llvm
 clang
 msvc
 mingw
 cygwin
 dockerpush
 nodockerpush
 all|everything|before_merge|before-merge

TODO Status:

report status here

@kuvaldini
Copy link
Contributor Author

kuvaldini commented Jul 23, 2021

/build 777 fgh


Triggered workflow run https://github.com/hyperledger/iroha/actions/runs/1060672158

Will build:

NOTHING

Errors,Warnings:

::error::Unknown /build argument '777'
::error::MATRIX is empty!
EXAMPLE build_spec:
 /build ubuntu release gcc10
 /build macos llvm release
 /build all
AVAILABLE build_spec keywords:
 ubuntu|linux
 macos
 windows
 normal
 burrow
 ursa
 release|Release
 debug|Debug
 gcc|gcc-9|gcc9
 gcc-10|gcc10
 clang|clang-10|clang10
 llvm
 clang
 msvc
 mingw
 cygwin
 dockerpush
 nodockerpush
 all|everything|before_merge|before-merge

TODO Status:

report status here

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
@kuvaldini kuvaldini force-pushed the gha-chatops-from-main branch 2 times, most recently from 71e884b to 5fc550e Compare July 24, 2021 08:34
@kuvaldini
Copy link
Contributor Author

Report workflow run https://github.com/hyperledger/iroha/actions/runs/1062120761

Docker image has been pushed successfully with tags:
iroha1/iroha-burrow:pr-1291-debug
iroha1/iroha-burrow:7ff10bafa7ca60f3a62ff9790b60eb1be300793a84ba122be46a5b9c30b1bbd9-debug

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
@kuvaldini kuvaldini force-pushed the gha-chatops-from-main branch 2 times, most recently from f4e3ece to 7dd91ea Compare July 24, 2021 20:48
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
@kamilsa kamilsa marked this pull request as draft August 18, 2021 10:08
@kuvaldini kuvaldini closed this Sep 2, 2021
@kuvaldini kuvaldini deleted the gha-chatops-from-main branch September 2, 2021 12:50
@kuvaldini kuvaldini restored the gha-chatops-from-main branch September 3, 2021 12:50
@kuvaldini kuvaldini reopened this Sep 3, 2021
@kuvaldini kuvaldini changed the base branch from support/1.2.x to develop November 6, 2021 15:20
@kuvaldini kuvaldini closed this Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants