Skip to content

Conversation

@Szarny
Copy link
Contributor

@Szarny Szarny commented May 31, 2022

What this PR does / why we need it:

Add feature to restart piped via web console.

How to use this feature

  1. Activate PipeCD control plane and Piped (using launcher).

  2. After your Piped is activated, select the Restart item from the Piped settings menu.
    スクリーンショット 2022-05-31 15 41 28

  3. The following log message is output from Piped.

LAUNCHER: will relaunch a new Piped because a restart request was sent
  1. You can confirm its restart by looking at the Started At column in the web console.
    スクリーンショット 2022-05-31 15 43 41

Which issue(s) this PR fixes:

Fixes #3524

Does this PR introduce a user-facing change?:

Able to restart Piped via web console

@Szarny Szarny requested a review from nghialv as a code owner May 31, 2022 05:55
@Szarny Szarny self-assigned this May 31, 2022
@Szarny Szarny requested review from khanhtc1202 and knanao as code owners May 31, 2022 05:55
@Szarny Szarny marked this pull request as draft May 31, 2022 05:56
@Szarny
Copy link
Contributor Author

Szarny commented May 31, 2022

/wip

@Szarny
Copy link
Contributor Author

Szarny commented May 31, 2022

now it's ready for review!

@Szarny Szarny marked this pull request as ready for review May 31, 2022 07:01
@nghialv
Copy link
Member

nghialv commented May 31, 2022

@Szarny Great work!

As our conventions, I recommend breaking this huge PR into some smaller PRs to be more readable.
For example, instead of this, we can have:

  • a PR to add the definition of gRPC
  • a PR to implement the API
  • a PR to implement the restart in Piped
  • a PR to update the web console

@Szarny
Copy link
Contributor Author

Szarny commented May 31, 2022

I will divide this PR into some smaller ones 🙏

@nghialv
Copy link
Member

nghialv commented Jun 1, 2022

I will divide this PR into some smaller ones 🙏

Thank you.

@Szarny Szarny marked this pull request as draft June 1, 2022 08:23
Tsubasa Umeuchi added 2 commits June 1, 2022 18:02
# Conflicts:
#	pkg/app/server/grpcapi/piped_api.go
#	pkg/app/server/service/pipedservice/service.pb.go
#	pkg/datastore/datastoretest/datastore.mock.go
#	pkg/datastore/pipedstore.go
#	pkg/model/piped.pb.go
@Szarny Szarny changed the base branch from master to feature/3534-restart-piped-master June 1, 2022 09:05
@Szarny Szarny changed the base branch from feature/3534-restart-piped-master to master June 1, 2022 09:05
@Szarny
Copy link
Contributor Author

Szarny commented Jun 1, 2022

Move to new PR

@Szarny Szarny closed this Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants