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 process for opbeans #271

Merged
merged 16 commits into from
Nov 27, 2019
Merged

release process for opbeans #271

merged 16 commits into from
Nov 27, 2019

Conversation

v1v
Copy link
Member

@v1v v1v commented Nov 20, 2019

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

@v1v v1v added enhancement New feature or request automation ci labels Nov 20, 2019
@v1v v1v self-assigned this Nov 20, 2019
@@ -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)?.*')
Copy link
Member Author

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}"
Copy link
Member Author

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) {
Copy link
Member Author

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.

@v1v v1v marked this pull request as ready for review November 20, 2019 16:57
@v1v v1v merged commit e777f80 into master Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation ci enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants