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

🌱 Run prow triggerable basic e2e on project-infra and fix branch issue #656

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions jenkins/jobs/prow_integration_tests.pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ KUBECTL_SHA256=(env.KUBECTL_SHA256)

script {
UPDATED_REPO = "https://github.com/${env.REPO_OWNER}/${env.REPO_NAME}.git"
echo "Checkout ${UPDATED_REPO} main"
// Set defaults for non-PR jobs
ci_git_url = "https://github.com/metal3-io/project-infra.git"
ci_git_branch = "main"

if ("${PROJECT_REPO_ORG}" == "metal3-io" && "${PROJECT_REPO_NAME}" == "project-infra") {
ci_git_branch = (env.PULL_PULL_SHA) ?: (env.ghprbActualCommit) ?: "main"
} else {
ci_git_branch = "main"
}
echo "Checkout ${ci_git_url} branch ${ci_git_branch}"

def date = new Date()
def dateFormat = new SimpleDateFormat("yyyyMMddHHmmss")
def rand = new Random()
Expand Down
12 changes: 11 additions & 1 deletion prow/manifests/overlays/metal3/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ presubmits:
value: "TRUE"
image: docker.io/golang:1.19
imagePullPolicy: Always
# name: {job_prefix}_{proj}_{capm3_target_branch}_e2e_basic_test_{image_os}
# name: {job_prefix}-{proj}-{capm3_target_branch}-e2e-basic-test-{image_os}
- name: metal3-capm3-main-e2e-basic-test-centos
branches:
- main
Expand All @@ -1149,6 +1149,16 @@ presubmits:
always_run: false
# Until we have checked that it works, keep it optional
optional: true
# name: {job_prefix}-{proj}-{capm3_target_branch}-e2e-basic-test-{image_os}
- name: metal3-project_infra-main-e2e-basic-test-centos
branches:
- main
- release-1.6
kashifest marked this conversation as resolved.
Show resolved Hide resolved
agent: jenkins
# Don't run unless triggered to avoid wasting resources
always_run: false
# Until we have checked that it works, keep it optional
optional: true

metal3-io/community:
- name: markdownlint
Expand Down
Loading