-
Notifications
You must be signed in to change notification settings - Fork 4
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 process for opbeans #271
Conversation
This reverts commit 4bbf416.
@@ -47,7 +52,7 @@ def call(Map pipelineParams) { | |||
quietPeriod(10) | |||
} | |||
triggers { | |||
issueCommentTrigger('(?i).*(?:jenkins\\W+)?run\\W+(?:the\\W+)?tests(?:\\W+please)?.*') | |||
issueCommentTrigger('(?i).*jenkins\\W+run\\W+(?:the\\W+)?tests(?:\\W+please)?.*') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
force jenkins
within the comment to be triggered. This is not related to this particular PR
} | ||
} | ||
environment { | ||
VERSION = "${env.BRANCH_NAME.equals('master') ? 'latest' : 'agent-' + env.BRANCH_NAME}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Master branch got the docker tag latest
while others are agent-
, where version matches the BRANCH_NAME that matches the regexp 'v\\d+\\.\\d+.*'
and it's triggered from the upstream job which it's the agent pipeline itself
githubNotify(context: "${env.GITHUB_CHECK_ITS_NAME}", description: "${env.GITHUB_CHECK_ITS_NAME} ...", status: 'PENDING', targetUrl: "${env.JENKINS_URL}search/?q=${env.ITS_PIPELINE.replaceAll('/','+')}") | ||
} | ||
|
||
def generateBuildOpts(String repo, String stagingDockerImage) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the method in charge to facilitate what options are required to trigger the APM ITs.
What does this PR do?
Enable the release process for the Opbeans either using the master branch or the tag. Plus enabling the staging environment to publish the docker images.
Why is it important?
Align versioning
Related issues
Caused by https://github.com/elastic/observability-dev/issues/93