-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update manifest update workflow to use latest almalinux8 image and tw…
…eak jenkins workflow Signed-off-by: Peter Zhu <[email protected]>
- Loading branch information
1 parent
f2d7b9c
commit 1af42eb
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ pipeline { | |
agent { | ||
docker { | ||
label 'Jenkins-Agent-AL2023-X64-C54xlarge-Docker-Host' | ||
image 'opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3' | ||
image 'opensearchstaging/ci-runner:ci-runner-almalinux8-opensearch-build-v1' | ||
args '-e JAVA_HOME=/opt/java/openjdk-11' | ||
registryUrl 'https://public.ecr.aws/' | ||
alwaysPull true | ||
|
@@ -32,6 +32,8 @@ pipeline { | |
withCredentials([usernamePassword(credentialsId: 'jenkins-github-bot-token', passwordVariable: 'GITHUB_TOKEN', usernameVariable: 'GITHUB_USER')]) { | ||
try { | ||
sh """ | ||
set +x | ||
source /etc/profile.d/java_home.sh | ||
git remote set-url origin https://opensearch-ci:${GITHUB_TOKEN}@github.com/opensearch-project/opensearch-build | ||
git config user.email "[email protected]" | ||
git config user.name "opensearch-ci" | ||
|