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

[ci] Fix MariaDB bump #1713

Merged
merged 10 commits into from
Jun 7, 2024
14 changes: 11 additions & 3 deletions ci/pipelines/backup-and-restore-sdk-release/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ resources:
- name: mariadb-10-6-blob
type: ftp
source:
url: https://mirror.mariadb.org/mariadb-10.6.*/bintar-linux-systemd-x86_64/
version_regex: "mariadb-(?P<version>10.6.[0-9]*)-linux-systemd-x86_64.tar.gz$"
url: https://archive.mariadb.org/mariadb-10.6.*/source/
version_regex: "mariadb-(?P<version>10.6.[0-9]*).tar.gz$"
- name: ncurses-blob
type: ftp
source:
Expand Down Expand Up @@ -1659,6 +1659,7 @@ jobs:
input_mapping:
source-repo: backup-and-restore-sdk-release-write-only
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *ruby-bump-branch
LABELS: dependencies
Expand Down Expand Up @@ -1691,7 +1692,7 @@ jobs:
GIT_EMAIL: *github_email
GIT_BRANCH: &bump-mariadb-10-6-branch bump-mariadb-10-6-to-((.:mariadb-10-6-version))
BLOB_NAME: mariadb
BLOB_EXTENSION: linux-systemd-x86_64.tar.gz
BLOB_EXTENSION: .tar.gz
BLOB_DIRECTORY: mariadb/
UPDATE_REFERENCES: only-variable-name:MARIADB_VERSION
- put: backup-and-restore-sdk-release-write-only
Expand All @@ -1703,6 +1704,7 @@ jobs:
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *bump-mariadb-10-6-branch
LABELS: ci,bump-mariadb
Expand Down Expand Up @@ -1753,6 +1755,7 @@ jobs:
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *bump-ncurses-branch
LABELS: ci,bump-ncurses
Expand Down Expand Up @@ -1804,6 +1807,7 @@ jobs:
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *bump-postgres-11-branch
LABELS: ci,bump-postgres
Expand Down Expand Up @@ -1856,6 +1860,7 @@ jobs:
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *bump-postgres-13-branch
LABELS: ci,bump-postgres
Expand Down Expand Up @@ -1907,6 +1912,7 @@ jobs:
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *bump-postgres-15-branch
LABELS: ci,bump-postgres
Expand Down Expand Up @@ -1959,6 +1965,7 @@ jobs:
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *bump-libpcre2-branch
LABELS: ci,bump-libpcre2
Expand Down Expand Up @@ -2010,6 +2017,7 @@ jobs:
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
params:
GH_TOKEN: *git_token
BASE: main
BRANCH: *bump-mysql-server-8-branch
LABELS: ci,bump-mysql
Expand Down
2 changes: 1 addition & 1 deletion packages/database-backup-restorer-mariadb/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cp -r /var/vcap/packages/libpcre2/bin/* /usr/local/bin/
cp -r /var/vcap/packages/libpcre2/include/* /usr/local/include


tar xzf mariadb/mariadb-${MARIADB_VERSION}*.tar.gz
tar xzf mariadb/mariadb-${MARIADB_VERSION}.tar.gz
(
set -e
cd mariadb-${MARIADB_VERSION}*
Expand Down
Loading