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

Add Arch Linux artifacts #642

Closed
Closed
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
5 changes: 3 additions & 2 deletions _artifacts/_README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ role: cli
artifact_id: opensearch-cli
# `version` is the semver version
version: 1.0.0
# `platform` is the identifier for the OS or platform. Should be `linux`, `windows`,`macos`,`freebsd`
# `platform` is the identifier for the OS or platform. Should be `linux`, `windows`,`macos`,`freebsd`,`archlinux`
platform: linux
# `architecture` should be `arm64`,`x86`,`x64`
architecture: arm64
Expand All @@ -31,8 +31,9 @@ type: zip
# `signature` is the download link to the signature file
signature: https://artifacts.opensearch.org/opensearch-clients/opensearch-cli/opensearch-cli-1.0.0-linux-arm64.zip.sig
# others:
# `link` used for `docker_hub` and `freebsd_package_name`, the page that has information non-artifact
# `link` used for `docker_hub`, `freebsd_package_name` and `archlinux_package_name`, the page that has information non-artifact
# `freebsd_package_name` the `pkg` name, used in the template only for freebsd
# `archlinux_package_name` the `pkg` name, used in the template only for Arch Linux

---
```
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
role: daemon
artifact_id: opensearch
version: 2.0.1
platform: archlinux
architecture: x64
slug: opensearch-2.0.1-archlinux-x86_64
category: opensearch
type: system-package
archlinux_package_name: opensearch
link: https://archlinux.org/packages/community/x86_64/opensearch/
---

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
role: daemon
artifact_id: opensearch-min
version: 2.0.1
platform: archlinux
architecture: x64
slug: opensearch-2.0.1-min-archlinux-x86_64
category: opensearch
type: system-package
archlinux_package_name: opensearch
link: https://archlinux.org/packages/community/x86_64/opensearch/
security_warning: true
---

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
role: ui
title: OpenSearch Dashboards
artifact_id: opensearch-dashboards
architecture: x64
platform: archlinux
type: system-package
category: opensearch-dashboards
slug: opensearch-dashboards-2.0.1-archlinux-x64
version: 2.0.1
archlinux_package_name: opensearch-dashboards
link: https://archlinux.org/packages/community/x86_64/opensearch-dashboards/
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
role: ui
title: OpenSearch Dashboards
artifact_id: opensearch-dashboards-min
architecture: x64
platform: archlinux
type: system-package
category: opensearch-dashboards
slug: opensearch-dashboards-2.0.1-min-archlinux-x64
version: 2.0.1
archlinux_package_name: opensearch-dashboards
link: https://archlinux.org/packages/community/x86_64/opensearch-dashboards/
security_warning: true
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
role: cli
artifact_id: opensearch-cli
version: 1.1.0
platform: archlinux
architecture: x64
slug: opensearch-cli-1.1.0-archlinux-x64
category: opensearch
type: system-package
archlinux_package_name: opensearch-cli
link: https://archlinux.org/packages/community/x86_64/opensearch-cli/
---
17 changes: 17 additions & 0 deletions _layouts/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
windows: "Windows"
linux: "Linux"
freebsd: "FreeBSD"
archlinux: "Arch Linux"
macos: macOS
java: "Java"
docker: Docker
Expand Down Expand Up @@ -59,6 +60,7 @@
- linux
- docker
- freebsd
- archlinux
- macos
- windows
- java
Expand Down Expand Up @@ -210,6 +212,21 @@ <h3 class="artifact-name" id="{{component.artifact}}">{{ name_pretty }}</h3>
</div>{% endcapture %}
{% assign artifact_extras = artifact_extras | append: artifact_extra %}
{% endif %}
{% if details.archlinux_package_name %}
{% capture artifact_extra %}<div class="extra_links extra_{{artifact_id}}">
<p>Install from Community packages:</p>
<pre># pacman -Syu {{details.archlinux_package_name}}</pre>
{% if details.artifact_id == "opensearch" %}
<p>The package is provided without any plugins, those are available as additional packages:</p>
<pre># pacman -Sqs "opensearch.*plugin" | grep -v dashboards</pre>
{% endif %}
{% if details.artifact_id == "opensearch-dashboards" %}
<p>The package is provided without any plugins, those are available as additional packages:</p>
<pre># pacman -Sqs "opensearch-dashboards.*plugin"</pre>
{% endif %}
</div>{% endcapture %}
{% assign artifact_extras = artifact_extras | append: artifact_extra %}
{% endif %}
{% if details.link %}
{% capture artifact_extra %}<div class="extra_links extra_{{artifact_id}}">
<a href="{{details.link}}" target="_blank" class="cta">Get it</a>
Expand Down