Skip to content

Commit 550c797

Browse files
committed
Add IBM sections to release downloads and info for 25.3.2+ prod releases
Add IBM section and links to applicable releases
1 parent 8212990 commit 550c797

File tree

7 files changed

+145
-4
lines changed

7 files changed

+145
-4
lines changed

src/current/_data/products.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ advanced: Advanced
1919
public-operator: Public operator
2020

2121
cockroachdb-operator: CockroachDB operator
22+
23+
ibm-cockroachdb: CockroachDB PostgresSQL for IBM
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{% comment %}This include is used only in v23.3.2 and above. Newer versions use release-downloads-docker-image.md. {% endcomment %}
2+
{% assign release = site.data.releases | where_exp: "release", "release.release_name == include.release" | first %}
3+
{% assign version = site.data.versions | where_exp: "version", "version.major_version == release.major_version" | first %}
4+
5+
<h3 id="{{ release.release_name | downcase | replace: ".", "-" }}-downloads">Downloads</h3>{% comment %} take the version name, force it to be lowercase, and replace all periods with hyphens. {% endcomment %}
6+
7+
{% if release.release_type == "Testing" %}
8+
{% include releases/experimental-test-release.md version=release.release_name %}
9+
{% endif %}
10+
11+
{% comment %}No downloads for Cloud-first or withdrawn releases{% endcomment %}
12+
{% if release.cloud_only == true %} {% comment %}Show the Cloud-first info instead of download links {% endcomment %}
13+
{{site.data.alerts.callout_info}}
14+
{{ r.cloud_only_message }}
15+
{{site.data.alerts.end}}
16+
{% elsif release.withdrawn == true % %}{% comment %}If not withdrawn and not Cloud-only, show download links{% endcomment %}
17+
18+
{% include releases/withdrawn.md %}
19+
20+
{% else %}
21+
22+
{{site.data.alerts.callout_info}}
23+
Experimental downloads are not qualified for production use and not eligible for support or uptime SLA commitments, whether they are for testing releases or production releases.
24+
{{site.data.alerts.end}}
25+
26+
{% comment %}Assign the JS for the experimental download prompt and store it in the Liquid variable experimental_download_js {% endcomment %}
27+
{% capture experimental_download_js %}{% include_cached releases/experimental_download_dialog.md %}{% endcapture %}
28+
{% capture onclick_string %}onclick="{{ experimental_download_js }}"{% endcapture %}
29+
{% capture linux_arm_button_text_addendum %}{% if r.linux.linux_arm_experimental == true %}<br />(Experimental){% endif %}{% if r.linux.linux_arm_limited_access == true %}<br />(Limited Access){% endif %}{% endcapture %}
30+
31+
<div><div class="clearfix" markdown="1">
32+
33+
<table style="max-width: 90%;">
34+
<thead>
35+
<tr>
36+
<th>Operating System</th>
37+
<th style="width: 100px !important;">Architecture</th>
38+
<th>Full executable</th>
39+
<th>SQL-only executable</th>
40+
</tr>
41+
</thead>
42+
<tbody>
43+
<tr>
44+
<td rowspan="2">Linux</td>
45+
<td>Intel</td>
46+
<td><a href="https://binaries.cockroachdb.com/cockroach-{{ release.release_name }}.linux-amd64.tgz">cockroach-{{ release.release_name }}.linux-amd64.tgz</a> {% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-{{ r.release_name }}.linux-amd64.tgz.sha256sum" class="binary-link">SHA256</a>){% endif %}</td>
47+
<td>{% if release.has_sql_only == true %}<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ release.release_name }}.linux-amd64.tgz">cockroach-sql-{{ release.release_name }}.linux-amd64.tgz</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ r.release_name }}.linux-amd64.tgz.sha256sum" class="binary-link">SHA256</a>){% endif %}{% endif %}</td>
48+
</tr>
49+
<tr>
50+
<td>ARM</td>
51+
<td><a href="https://binaries.cockroachdb.com/cockroach-{{ release.release_name }}.linux-arm64.tgz" {% if release.linux.linux_arm_experimental == true %}{{ onclick_string }}{% endif %}>cockroach-{{ release.release_name }}.linux-arm64.tgz {{linux_arm_button_text_addendum}}</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-{{ r.release_name }}.linux-arm64.tgz.sha256sum" class="binary-link">SHA256</a>{% endif %})</td>
52+
<td>{% if release.has_sql_only == true %}<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ release.release_name }}.linux-arm64.tgz" {% if release.linux.linux_arm_experimental == true %}{{ onclick_string }}{% endif %}>cockroach-sql-{{ release.release_name }}.linux-arm64.tgz {{linux_arm_button_text_addendum}}</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ r.release_name }}.linux-arm64.tgz.sha256sum" class="binary-link">SHA256</a>){% endif %}{% endif %}</td>
53+
</tr>
54+
<tr>
55+
<td rowspan="2">Mac<br />(Experimental)</td>
56+
<td>Intel</td>
57+
<td><a href="https://binaries.cockroachdb.com/cockroach-{{ release.release_name }}.darwin-10.9-amd64.tgz" {% if release.mac.linux_arm_experimental == true %}{{ onclick_string }}{% endif %}>cockroach-{{ release.release_name }}.darwin-10.9-amd64.tgz</a> {% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-{{ r.release_name }}.darwin-10.9-amd64.tgz.sha256sum" class="binary-link">SHA256</a>){% endif %}</td>
58+
<td>{% if release.has_sql_only == true %}<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ release.release_name }}.darwin-10.9-amd64.tgz" {% if release.mac.linux_arm_experimental == true %}{{ onclick_string }}{% endif %}>cockroach-sql-{{ release.release_name }}.darwin-10.9-amd64.tgz</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ r.release_name }}.darwin-10.9-amd64.tgz.sha256sum" class="binary-link">SHA256</a>){% endif %}{% endif %}</td>
59+
</tr>
60+
<tr>
61+
<td>ARM</td>
62+
<td><a href="https://binaries.cockroachdb.com/cockroach-{{ release.release_name }}.darwin-11.0-arm64.tgz" {{ onclick_string }}>cockroach-{{ release.release_name }}.darwin-11.0-arm64.tgz</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-{{ r.release_name }}.darwin-11.0-arm64.tgz.sha256sum" class="binary-link">SHA256</a>){% endif %}</td>
63+
<td>{% if release.has_sql_only == true %}<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ release.release_name }}.darwin-11.0-arm64.tgz" {% if release.mac.linux_arm_experimental == true %}{{ onclick_string }}{% endif %}>cockroach-sql-{{ release.release_name }}.darwin-11.0-arm64.tgz</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ r.release_name }}.darwin-11.0-arm64.tgz.sha256sum" class="binary-link">SHA256</a>){% endif %}{% endif %}</td>
64+
</tr>
65+
<tr>
66+
<td>Windows<br />(Experimental)</td>
67+
<td>Intel</td>
68+
<td><a {{ onclick_string }} href="https://binaries.cockroachdb.com/cockroach-{{ release.release_name }}.windows-6.2-amd64.zip">cockroach-{{ release.release_name }}.windows-6.2-amd64.zip</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-{{ r.release_name }}.windows-6.2-amd64.zip.sha256sum" class="binary-link">SHA256</a>){% endif %}</td>
69+
<td>{% if release.has_sql_only == true %}<a {{ onclick_string }} href="https://binaries.cockroachdb.com/cockroach-sql-{{ release.release_name }}.windows-6.2-amd64.zip">cockroach-sql-{{ release.release_name }}.windows-6.2-amd64.zip</a>{% if r.has_sha256sum == true %}<br />(<a href="https://binaries.cockroachdb.com/cockroach-sql-{{ r.release_name }}.windows-6.2-amd64.zip.sha256sum" class="binary-link">SHA256</a>){% endif %}{% endif %}</td>
70+
</tr>
71+
</tbody>
72+
</table>
73+
74+
<h3 id="{{ release.release_name | downcase | replace: ".", "-" }}-docker-image">Docker image</h3>
75+
76+
{% if release.docker.docker_arm == true %}
77+
[Multi-platform images](https://docs.docker.com/build/building/multi-platform/) include support for both Intel and ARM. Multi-platform images do not take up additional space on your Docker host.
78+
79+
{% if release.docker.docker_arm_limited_access == true %}
80+
Within the multi-platform image:<ul><li>The ARM image is in **Limited Access**.</li><li>The Intel image is **Generally Available** for production use.</li></ul>
81+
{% elsif release.docker.docker_arm_experimental == true %}
82+
Within the multi-platform image:<ul><li>The ARM image is **Experimental** and not yet qualified for production use and not eligible for support or uptime SLA commitments.</li><li>The Intel image is **Generally Available** for production use.</li></ul>
83+
{% else %}
84+
Within the multi-platform image, both Intel and ARM images are **generally available** for production use.
85+
{% endif %}
86+
87+
To download the Docker image:
88+
{% else %}
89+
To download the Docker image (Intel-only):
90+
{% endif %}
91+
92+
{% include_cached copy-clipboard.html %}
93+
~~~shell
94+
docker pull {{ release.docker.docker_image }}:{{ release.release_name }}
95+
~~~
96+
97+
{% comment %}IBM only releases production versions{% endcomment %}
98+
{% if release.release_type != "Testing" %}
99+
<h3>IBM</h3>
100+
101+
Downloads and documentation for {{ site.data.products.ibm-cockroachdb }} {{ release.release_name }} are available through [IBM Passport Advantage](https://www.ibm.com/software/passportadvantage/pao_customer.html).
102+
{% endif %}
103+
104+
<h3>Source tag</h3>
105+
106+
To view or download the source code for CockroachDB {{ release.release_name }} on Github, visit <a target="_blank" rel="noopener" href="https://github.com/cockroachdb/cockroach/releases/tag/{{ release.release_name }}">{{ release.release_name }} source tag</a>.
107+
108+
{% endif %}
109+
110+
{% if release.previous_release %}
111+
<h3 id="{{ release.release_name | downcase | replace: ".", "-" }}-changelog">Changelog</h3>
112+
View a detailed changelog on GitHub: [{{ release.previous_release }}...{{ release.release_name }}](https://github.com/cockroachdb/cockroach/compare/{{ release.previous_release }}...{{ release.release_name }})
113+
{% endif %}

src/current/_includes/releases/v25.3/v25.3.2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Release Date: September 22, 2025
44

5-
{% include releases/new-release-downloads-docker-image.md release=include.release %}
5+
{% include releases/release-downloads-ibm-and-docker-image.md release=include.release %}
66

77
<h3 id="v25-3-2-general-changes">General changes</h3>
88

src/current/_includes/releases/v25.4/v25.4.0-alpha.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Release Date: September 17, 2025
44

5-
{% include releases/new-release-downloads-docker-image.md release=include.release %}
5+
{% include releases/release-downloads-ibm-and-docker-image.md release=include.release %}
66

77
<h3 id="v25-4-0-alpha-1-security-updates">Security updates</h3>
88

src/current/_includes/releases/v25.4/v25.4.0-alpha.2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Release Date: September 23, 2025
44

5-
{% include releases/new-release-downloads-docker-image.md release=include.release %}
5+
{% include releases/release-downloads-ibm-and-docker-image.md release=include.release %}
66

77
<h3 id="v25-4-0-alpha-2-sql-language-changes">SQL language changes</h3>
88

src/current/_includes/releases/v25.4/v25.4.0-beta.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Release Date: October 1, 2025
44

5-
{% include releases/new-release-downloads-docker-image.md release=include.release %}
5+
{% include releases/release-downloads-ibm-and-docker-image.md release=include.release %}
66

77
<h3 id="v25-4-0-beta-1-sql-language-changes">SQL language changes</h3>
88

src/current/releases/index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,35 @@ Refer to [Major release types](#major-releases) before installing or upgrading f
249249
To learn what's new in this release, refer to [Feature Highlights]({% link releases/{{ v.major_version }}.md %}#feature-highlights).
250250
{% endunless %}
251251

252+
{% comment %} Add IBM tab to non-testing releases since v25.3 {% endcomment %}
253+
{% if v.major_version == 'v23.1' or
254+
v.major_version == 'v23.2' or
255+
v.major_version == 'v23.3' or
256+
v.major_version == 'v23.4' or
257+
v.major_version == 'v24.1' or
258+
v.major_version == 'v24.2' or
259+
v.major_version == 'v24.3' or
260+
v.major_version == 'v24.4' or
261+
v.major_version == 'v25.1' or
262+
v.major_version == 'v25.2' or
263+
released == false %}
264+
<div id="os-tabs" class="filters filters-big clearfix">
265+
<button id="linux" class="filter-button" data-scope="linux">Linux</button>
266+
<button id="mac" class="filter-button" data-scope="mac">Mac</button>
267+
<button id="windows" class="filter-button" data-scope="windows">Windows</button>
268+
<button id="docker" class="filter-button" data-scope="docker">Docker</button>
269+
<button id="source" class="filter-button" data-scope="source">Source</button>
270+
</div>
271+
{% else %}
252272
<div id="os-tabs" class="filters filters-big clearfix">
253273
<button id="linux" class="filter-button" data-scope="linux">Linux</button>
254274
<button id="mac" class="filter-button" data-scope="mac">Mac</button>
255275
<button id="windows" class="filter-button" data-scope="windows">Windows</button>
256276
<button id="docker" class="filter-button" data-scope="docker">Docker</button>
277+
<button id="ibm" class="filter-button" data-scope="ibm">IBM</button>
257278
<button id="source" class="filter-button" data-scope="source">Source</button>
258279
</div>
280+
{% endif %}
259281

260282
{% for s in sections %} {% comment %} For each major version, iterate through the sections. {% endcomment %}
261283

@@ -641,6 +663,10 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi
641663
</table>
642664
</section>
643665

666+
<section class="filter-content" markdown="1" data-scope="ibm">
667+
<p>Downloads and documentation for production releases of {{ site.data.products.ibm-cockroachdb }} {{ r.release_name }} are available through <a href="https://www.ibm.com/software/passportadvantage/pao_customer.html" >IBM Passport Advantage</a></p>
668+
</section>
669+
644670
<section class="filter-content" markdown="1" data-scope="source">
645671
<p>The source code for CockroachDB is hosted in the <a href="https://github.com/cockroachdb/cockroach/releases/" class="binary-link">cockroachdb/cockroach</a> repository on Github.</p>
646672
<table class="release-table">

0 commit comments

Comments
 (0)