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

enable opbeans pipeline #230

Merged
merged 8 commits into from
Sep 20, 2019
Merged

enable opbeans pipeline #230

merged 8 commits into from
Sep 20, 2019

Conversation

v1v
Copy link
Member

@v1v v1v commented Sep 19, 2019

Causes by https://github.com/elastic/observability-dev/issues/137

Highlights

  • One pipeline for all the opbeans.
  • Enable a common class to set all the mocks.
  • Enable the release being automated when running the master branch.
  • Simplify the node allocation to be just one, at the top level.

Tasks

  • Enable to mock the when/branch

@v1v v1v self-assigned this Sep 19, 2019
@v1v v1v mentioned this pull request Sep 19, 2019
1 task
@v1v v1v marked this pull request as ready for review September 20, 2019 06:50
@@ -16,7 +16,7 @@ repos:
- id: check-xml
exclude: ^target/
- id: end-of-file-fixer
exclude: (^src/test/resources/preCommitToJunit/output|^target/)
exclude: (^src/test/resources/preCommitToJunit/output|^target/|^vars/README.md)
Copy link
Member Author

Choose a reason for hiding this comment

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

The automation to generate the README.md should not be affected by this hook.

def script = loadScript(scriptName)
script.call()
printCallStack()
assertTrue(helper.callStack.findAll { call -> call.methodName == 'stage' }.any { call ->
Copy link
Contributor

Choose a reason for hiding this comment

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

NOTE: we will have to refactor this calls to grab stages, steps, whatever we need on a helper class (on in this PR).

env.BRANCH_NAME = 'master'
binding.setVariable('env', env)

registerDeclarativeMethods()
Copy link
Contributor

Choose a reason for hiding this comment

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

Loved this separation of concerns!!

@v1v v1v merged commit 5efc5bc into elastic:master Sep 20, 2019
@v1v v1v deleted the feature/opbeans branch September 20, 2019 12:40
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