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

[master] Jenkinsfile: add parameters to allow overriding common.mk options #667

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

def branch = env.CHANGE_TARGET ?: env.BRANCH_NAME

properties(
[
parameters([
string(name: 'GO_VERSION', description: 'Version of Go to use to build.'),
string(name: 'DOCKER_CLI_REPO', description: 'Docker CLI git source repository.'),
string(name: 'DOCKER_CLI_REF', description: 'Docker CLI reference to build from (usually a branch).'),
string(name: 'DOCKER_ENGINE_REPO', description: 'Docker Engine git source repository.'),
string(name: 'DOCKER_ENGINE_REF', description: 'Docker Engine reference to build from (usually a branch).'),
string(name: 'DOCKER_SCAN_REPO', description: 'Docker Scan git source repository.'),
string(name: 'DOCKER_SCAN_REF', description: 'Docker Scan reference to build from (usually a branch).'),
string(name: 'DOCKER_COMPOSE_REPO', description: 'Docker Compose git source repository.'),
string(name: 'DOCKER_COMPOSE_REF', description: 'Docker Compose reference to build from (usually a branch).'),
string(name: 'DOCKER_BUILDX_REPO', description: 'Docker Buildx git source repository.'),
string(name: 'DOCKER_BUILDX_REF', description: 'Docker Buildx reference to build from (usually a branch).'),
string(name: 'CONTAINERD_VERSION', description: 'Containerd version to build for the static packages. Leave empty to build the default version as specified in the Dockerfile in moby/moby.'),
string(name: 'RUNC_VERSION', description: 'Runc version to build for the static packages. Leave empty to build the default version as specified in the Dockerfile in moby/moby.'),
])
]
)

def pkgs = [
[target: "centos-7", image: "centos:7", arches: ["amd64", "aarch64"]], // (EOL: June 30, 2024)
[target: "centos-8", image: "quay.io/centos/centos:stream8", arches: ["amd64", "aarch64"]],
Expand Down