Skip to content

Commit

Permalink
Fix approvers
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Mar 3, 2023
1 parent ba50c71 commit ce9fcca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
approvers: ${{ steps.get_approvers.outputs.approvers }}
minimum-approvals: 1
issue-title: 'Release opensearch-net'
issue-body: "Please approve or deny the release of opensearch-net **TAG**: ${{ github.ref_name }} **COMMIT**: ${{ github.sha }}"
issue-body: "Please approve or deny the release of opensearch-net \n **TAG**: ${{ github.ref_name }} \n **COMMIT**: ${{ github.sha }}"
# exclude-workflow-initiator-as-approver: true
- name: Release
uses: softprops/action-gh-release@v1
Expand Down
8 changes: 4 additions & 4 deletions jenkins/release.jenkinsFile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
lib = library(identifier: 'jenkins@test-net', retriever: modernSCM([
lib = library(identifier: 'jenkins@2.0.2', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/gaiksaya/opensearch-build-libraries.git',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
]))

standardReleasePipelineWithGenericTrigger(
overrideDockerImage: 'opensearchstaging/ci-runner:release-centos7-clients-v2',
tokenIdCredential: 'jenkins-opensearch-net-generic-webhook-token',
causeString: 'A tag was cut on opensearch-project/opensearch-net repository causing this workflow to run',
overrideDockerImage: 'sayaligaikawad/clients:latest',
publishRelease: true) {
publishToNuget(
repository: 'https://github.com/opensearch-project/opensearch-net',
tag: "$tag",
solutionFilePath: 'OpenSearch.sln',
apiKeyCredentialId: 'jenkins-opensearch-net-generic-webhook-token'
apiKeyCredentialId: 'jenkins-opensearch-net-api-key'
)
}

0 comments on commit ce9fcca

Please sign in to comment.