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

Release v0.50.1 #5498

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Release v0.50.1 #5498

merged 1 commit into from
Jan 21, 2025

Conversation

Warashi
Copy link
Contributor

@Warashi Warashi commented Jan 21, 2025

What this PR does:

This PR updates the RELEASE file and docs.

Why we need it:

I want to release v0.50.1

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Copy link
Contributor

RELEASE

The following 1 GitHub releases will be created once this pull request got merged.

Release v0.50.1 with changes since v0.50.0

Internal Changes

  • Release v0.50.1
  • Implement MigrateDatabase RPC (#5497)
  • Implemented the backend of Metadata APIs as MetadataStoreRegistry (#5471)
  • [Wait] Implemented the core of executing Wait with WaitStageOptions (#5456)
  • Add 'unsupported' flag in DetermineStrategyResponse (#5474)
  • Add MigrateDatabase RPC to APIService for database migration functionality (#5476)
  • Bump golang.org/x/net from 0.27.0 to 0.33.0 (#5492)
  • Bump golang.org/x/net from 0.23.0 to 0.33.0 in /tool/actions-gh-release (#5491)
  • Update codeql version to v3 (#5488)
  • Update softprops/action-gh-release to version v2.2.1 (#5490)
  • Update pipe-cd/actions-gh-release to version v2.6.0 (#5489)
  • Update setup-helm version to v4 (#5487)
  • Bump golang.org/x/crypto in /tool/actions-gh-release (#5485)
  • Update actions/cache to v4 (#5486)
  • Update CODEOWNERS (#5484)
  • Update workflow running containers to ubuntu-24.04 (#5483)
  • Do not remove resources which is not managed by piped (#5481)
  • Remove git option to do partial clone (#5482)
  • Update copyright year format in golangci configuration (#5480)
  • Move sync / rollback method to the separate file (#5479)
  • Add optional username and email fields to repo for commits (#5477)
  • Implement resource pruning in k8s plugin (#5455)
  • Use plugin registry instead of pluginClients and stageBasedPluingsMap in the controller, scheduler, and planner (#5472)
  • Add MetadataStore methods to PipedService (#5469)
  • Move plugin registry under the pkg/app/pipedv1/plugin (#5470)
  • Move PipedPluginService definition to the under the pkg/plugin (#5468)
  • Add plugin registry (#5467)
  • Add default envs in ScriptRunStage: SR_TRIGGERED_COMMANDER, SR_IS_ROLLBACK (#5464)
  • [bot] Update contributors (#5465)
  • Rename server.go to plugin.go in the k8s plugin's main package (#5463)
  • Refactor wait plugin: rename package and file (#5462)
  • fixed to certainly store the startTime (#5461)
  • Set fail_on_error in the lint/go workflow (#5460)
  • Determine app health status for plugin architecture (#5454)
  • Fix image link (#5459)
  • Add deployment tracing intro blog (#5458)
  • Add deploy target name to the resource state (#5453)
  • Add livestatereporter for the plugin architecture (#5452)
  • Reduce ResourceKey's responsibility (#5451)
  • Remove key field from provider.Manifest in the k8s plugin (#5446)
  • Init grpc server of wait stage plugin (#5445)
  • Update rfc for the livestate feature (#5448)
  • Rename deploysource's revision to commit_hash (#5450)
  • Fix web test warning (#5449)
  • Add rpc interface for livestate in plugin architecture (#5447)
  • Copy .git in deploysource provider (#5442)
  • Make k8s plugin fields private (#5441)
  • Enhance logging in EventWatcher (#5443)
  • Regenerate mock file using uber-go mock (#5437)
  • Add test for executing K8S_SYNC stage at the kubernetes plugin (#5431)
  • Fix to parse protoreflect.Message instead of parsing protoreflect.Message.String() (#5436)
  • Use linter goheader to ensure license header exists (#5435)
  • Pass secret decrypter to pipedv1 schedulers and planners (#5433)
  • Bump the golangci-lint version (#5434)
  • Run missing make update/go-deps command (#5432)
  • Migrate to use uber gomock (#5426)
  • Bump golang.org/x/crypto in /tool/actions-plan-preview (#5428)
  • Add k8s e2e test (#5399)
  • chore: update to RELEASE.2024-12-13T22-19-12Z (#5427)
  • [ECS] Enabled to configure/update PropagateTags and EnableECSManagedTags (#5425)
  • Add calling annotateConfigHash and refactor unmarshaling deploy target (#5421)
  • [ECS] Support 5 missing fields in TaskDefinition (#5424)
  • Add workaround for aarch64 container image build (#5423)
  • feat: added arm64 build (#5420)
  • Implement preparing the deploy source in pipedv1 planner / scheduler (#5410)
  • Implement adding config hash annotation to deployments (#5418)
  • Use git partial clone and worktree to reduce network/file io (#5412)
  • fix: docs/Dockerfile to reduce vulnerabilities (#5406)
  • Implement hashing functions for Kubernetes manifests and add tests (#5417)
  • fix: tool/piped-base/Dockerfile to reduce vulnerabilities (#5405)
  • fix: cmd/helloworld/Dockerfile to reduce vulnerabilities (#5408)
  • fix: cmd/pipectl/Dockerfile to reduce vulnerabilities (#5407)
  • fix: cmd/pipecd/Dockerfile to reduce vulnerabilities (#5404)
  • Update make build/plugin command (#5416)
  • Move toolregistry package to pkg/plugin (#5415)
  • Remove decryption grpc from pipedv1 plugin api (#5414)
  • Implement functions to find referencing ConfigMaps and Secrets in Kubernetes manifests (#5409)
  • Fix kubectl download URL in install script (#5411)
  • Fix publish_tool ci (#5403)
  • Add plugins build command to makefile (#5402)
  • Fix the piped to correct invoking the k8s plugin (#5401)
  • PoC k8s plugin start entrypoint (#5400)
  • added arm64 build for piped-base and other images (#5395)
  • Add metrics_generator_processors config to manifest (#5397)
  • Update lifecycle.DownloadBinary to work with local file (#5398)
  • Update Grafana Tempo helm chart (#5396)
  • PoC pipedv1 starts plugins (#5394)
  • Update pipedv1 source code to use only configv1 (#5392)
  • Implement rollback stage for kubernetes plugin (#5390)
  • Update status of ECS deployments to Beta (#5391)
  • Using backoff Do instead of WaitNext function to avoid potential panic (#5388)
  • Implement preparing manifest applier in kubernetes plugin (#5389)
  • Implement initialization of piped service client in k8s plugin (#5387)
  • [Snyk] Security upgrade golang from 1.22.5-alpine3.20 to 1.23.3-alpine3.20 (#5335)
  • Fix missing call to cancel context in backoff test (#5386)
  • Implement applier for the kubernetes plugin (#5385)
  • Add context to RunBinary interface (#5384)
  • Refactor the k8s plugin (#5381)
  • Implement Kubectl command wrapper with apply, create, replace, and delete functionalities (#5380)
  • [bot] Publish quickstart manifests (#5383)

@Warashi Warashi marked this pull request as ready for review January 21, 2025 04:46
@@ -108,10 +108,12 @@ You can use the envrionment values related to the deployment.
|SR_APPLICATION_NAME| The application name | example |
|SR_TRIGGERED_AT| The timestamp when the deployment is triggered | 1719571113 |
|SR_TRIGGERED_COMMIT_HASH| The commit hash that triggered the deployment | 2bf969a3dad043aaf8ae6419943255e49377da0d |
|SR_TRIGGERED_COMMANDER| The ID of user who triggered the deployment via UI. This is APIKey's ID if it was triggered via `pipectl sync`. This is empty if it was triggered by your piped. | userid |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from: #5464

|SR_REPOSITORY_URL| The repository url configured in the piped config | [email protected]:org/repo.git, https://github.com/org/repo |
|SR_SUMMARY| The summary of the deployment | Sync with the specified pipeline because piped received a command from user via web console or pipectl|
|SR_CONTEXT_RAW| The json encoded string of above values | {"deploymentID":"877625fc-196a-40f9-b6a9-99decd5494a0","applicationID":"8d7609e0-9ff6-4dc7-a5ac-39660768606a","applicationName":"example","triggeredAt":1719571113,"triggeredCommitHash":"2bf969a3dad043aaf8ae6419943255e49377da0d","repositoryURL":"[email protected]:org/repo.git","labels":{"env":"example","team":"product"}} |
|SR_LABELS_XXX| The label attached to the deployment. The env name depends on the label name. For example, if a deployment has the labels `env:prd` and `team:server`, `SR_LABELS_ENV` and `SR_LABELS_TEAM` are registered. | prd, server |
|SR_IS_ROLLBACK| This is `true` if the deployment is rollbacking. Otherwise, this is `false`. | false |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from: #5464

@@ -531,15 +531,12 @@ There are some restrictions in configuring a service definition file.
- `deploymentController` is required and must be `EXTERNAL`.
- `loadBalancers` is not supported. Use `targetGroups` in [ECSDeploymentInput](#ecsdeploymentinput) instead.
- `platformFamily` is not supported.
- `propagateTags` is always set as `SERVICE`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from: #5425

Comment on lines -541 to -542
- `placementConstraints` is not supported.
- `proxyConfiguration` is not supported.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from: #5424

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.32%. Comparing base (1fef133) to head (5e22ca1).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5498   +/-   ##
=======================================
  Coverage   26.31%   26.32%           
=======================================
  Files         462      462           
  Lines       49569    49569           
=======================================
+ Hits        13043    13047    +4     
+ Misses      35492    35489    -3     
+ Partials     1034     1033    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Warashi Warashi merged commit fc508bb into master Jan 21, 2025
19 checks passed
@Warashi Warashi deleted the release-v0-50-1 branch January 21, 2025 04:52
github-actions bot pushed a commit that referenced this pull request Jan 21, 2025
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>
Warashi added a commit that referenced this pull request Jan 21, 2025
* [ECS] Support 5 missing fields in TaskDefinition (#5424)

* Add missing fields in RegisterTaskDef

Signed-off-by: t-kikuc <[email protected]>

* remove two restrictions

Signed-off-by: t-kikuc <[email protected]>

---------

Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>

* [ECS] Enabled to configure/update `PropagateTags` and `EnableECSManagedTags` (#5425)

* Enable updating PropagateTags and specifying other than SERVICE

Signed-off-by: t-kikuc <[email protected]>

* Enable updating EnableECSManagedTags

Signed-off-by: t-kikuc <[email protected]>

* Remove default PropagateTags: unnecessary

Signed-off-by: t-kikuc <[email protected]>

* support propagateTags other than SERVICE

Signed-off-by: t-kikuc <[email protected]>

---------

Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>

* Enhance logging in EventWatcher (#5443)

* Add logger.Error() before returning for detailed logs

Signed-off-by: t-kikuc <[email protected]>

* Enhance error logging in event watcher with additional context for push and commit failures

Signed-off-by: t-kikuc <[email protected]>

---------

Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>

* fixed to certainly store the startTime (#5461)

Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>

* Add default envs in ScriptRunStage: SR_TRIGGERED_COMMANDER, SR_IS_ROLLBACK (#5464)

* Add TriggeredCommandar

Signed-off-by: t-kikuc <[email protected]>

* add isRollback

Signed-off-by: t-kikuc <[email protected]>

* update docs

Signed-off-by: t-kikuc <[email protected]>

* fix name->id

Signed-off-by: t-kikuc <[email protected]>

* fix env name

Signed-off-by: t-kikuc <[email protected]>

* fix: specify isRollback since deployment.Status is always Planned

Signed-off-by: t-kikuc <[email protected]>

* fix typo

Signed-off-by: t-kikuc <[email protected]>

* Add case of `pipectl sync`

Signed-off-by: t-kikuc <[email protected]>

---------

Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>

* Release v0.50.1 (#5498)

Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>

---------

Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: pipecd-bot <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Co-authored-by: Tetsuya KIKUCHI <[email protected]>
Co-authored-by: Shinnosuke Sawada-Dazai <[email protected]>
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.

3 participants