2022-01-13 10:54:20 +00:00
|
|
|
local Pipeline(mariadb_version) = {
|
|
|
|
kind: "pipeline",
|
|
|
|
type: "docker",
|
|
|
|
name: "maria-" + mariadb_version,
|
|
|
|
steps: [
|
|
|
|
{
|
|
|
|
name: "build_and_publish_" + mariadb_version,
|
|
|
|
image: "plugins/docker:linux-amd64",
|
|
|
|
pull: "always",
|
|
|
|
settings: {
|
|
|
|
dockerfile: "Dockerfile",
|
2022-03-01 18:09:58 +00:00
|
|
|
build_args: [
|
|
|
|
"MARIA_VERSION=" + mariadb_version,
|
|
|
|
],
|
2022-01-13 10:54:20 +00:00
|
|
|
registry: "docker.asperti.com",
|
|
|
|
repo: "docker.asperti.com/paspo/mariadb-backup-slave",
|
|
|
|
username: {
|
|
|
|
from_secret: "docker_username",
|
|
|
|
},
|
|
|
|
password: {
|
|
|
|
from_secret: "docker_password",
|
|
|
|
},
|
|
|
|
tags: [ "latest-" + mariadb_version, "maria-" + mariadb_version ],
|
|
|
|
auto_tag: false,
|
|
|
|
force_tag: true,
|
|
|
|
daemon_off: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
trigger: {
|
2022-01-13 13:27:49 +00:00
|
|
|
event: ['tag'],
|
2022-01-13 10:54:20 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
[
|
2023-06-06 09:59:06 +00:00
|
|
|
Pipeline("10.11"),
|
|
|
|
Pipeline("10.10"),
|
|
|
|
Pipeline("10.9"),
|
|
|
|
Pipeline("10.8"),
|
2022-01-13 10:54:20 +00:00
|
|
|
Pipeline("10.7"),
|
|
|
|
Pipeline("10.6"),
|
|
|
|
Pipeline("10.5"),
|
|
|
|
Pipeline("10.4"),
|
|
|
|
Pipeline("10.3"),
|
|
|
|
]
|