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

feature: 回滚功能支持 #172

Merged

Conversation

hanshuaikang
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

❗ No coverage uploaded for pull request base (develop@4471229). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 604dacb differs from pull request most recent head c3d8cd3. Consider uploading reports for the commit c3d8cd3 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #172   +/-   ##
==========================================
  Coverage           ?   88.79%           
==========================================
  Files              ?       61           
  Lines              ?     3310           
  Branches           ?        0           
==========================================
  Hits               ?     2939           
  Misses             ?      371           
  Partials           ?        0           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4471229...c3d8cd3. Read the comment docs.

@hanshuaikang hanshuaikang changed the title feature: 支持token注入 feature: 回滚功能支持 Sep 21, 2023
bamboo_engine/builder/builder.py Outdated Show resolved Hide resolved
@@ -94,6 +95,174 @@ def build_tree(start_elem, id=None, data=None):
return tree


def _get_next_node(node, pipeline_tree):
Copy link
Member

Choose a reason for hiding this comment

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

都是 token分发的代码,写在一个类中

bamboo_engine/builder/builder.py Show resolved Hide resolved
bamboo_engine/builder/builder.py Show resolved Hide resolved
bamboo_engine/engine.py Outdated Show resolved Hide resolved
runtime/bamboo-pipeline/pipeline/contrib/rollback/tasks.py Outdated Show resolved Hide resolved
runtime/bamboo-pipeline/pipeline/contrib/rollback/tasks.py Outdated Show resolved Hide resolved
runtime/bamboo-pipeline/pipeline/contrib/rollback/tasks.py Outdated Show resolved Hide resolved
@normal-wls
Copy link
Member

需要补充 pipeline_use的集成测试样例

@normal-wls
Copy link
Member

需要补充文档

@hanshuaikang hanshuaikang changed the base branch from master to develop October 18, 2023 03:10
@hanshuaikang hanshuaikang merged commit 17c21ec into TencentBlueKing:develop Oct 18, 2023
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.

2 participants