Skip to content

Commit

Permalink
Add FreeBSD installation instructions
Browse files Browse the repository at this point in the history
FreeBSD ports for OpenSearch and OpenSearch-Dashboards have been
committed to the FreeBSD ports tree, and packages will be available soon
to FreeBSD users through the regular package management system.

Add FreeBSD to the list of platforms.  Because installation instruction
do not change based on the architecture, add a "All" architecture to
avoid duplicating the same information multiple times.

Also include a link to the port page on FreshPorts which allow to
"conveniently" see the port history (in a more convenient way than
cgit).

While here, adjust the list of all artifacts to order them
alphabetically in the artifacts directory.
  • Loading branch information
smortex committed Sep 20, 2021
1 parent 61f106b commit acceb94
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
role: daemon
artifact_id: opensearch
version: 1.0.1
platform: freebsd
architecture: all
slug: opensearch-1.0.1-freebsd-all
category: opensearch
type: pkg
freebsd_package_name: opensearch
link: https://www.freshports.org/textproc/opensearch
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
role: ui
title: OpenSearch Dashboards
artifact_id: opensearch-dashboards
architecture: all
platform: freebsd
type: pkg
category: opensearch-dashboards
slug: opensearch-dashboards-1.0.1-freebsd-all
version: 1.0.1
freebsd_package_name: opensearch-dashboards
link: https://www.freshports.org/textproc/opensearch-dashboards
---
13 changes: 12 additions & 1 deletion _layouts/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
platforms:
windows: "Windows"
linux: "Linux"
freebsd: "FreeBSD"
macos: macOS
java: "Java"
docker: Docker
Expand All @@ -31,6 +32,7 @@
jar: ".jar"
docker_hub: 'Dockerfile'
architectures:
all: "All"
arm64: "ARM64"
x64: "x64"
jvm: Java Virtual Machine
Expand All @@ -46,11 +48,13 @@
- x64
- arm64
- x86
- all
- jvm

platform_order:
- linux
- docker
- freebsd
- macos
- windows
- java
Expand Down Expand Up @@ -193,6 +197,13 @@ <h3 class="artifact-name" id="{{component.artifact}}">{{ name_pretty }}</h3>
class="cta">Download</a> </div>{% endcapture %}
{% assign artifact_extras = artifact_extras | append: artifact_extra %}
{% endif %}
{% if details.freebsd_package_name %}
{% capture artifact_extra %}<div class="extra_links extra_{{artifact_id}}">
<p>Install from FreeBSD packages:</p>
<pre># pkg install {{details.freebsd_package_name}}</pre>
</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 Expand Up @@ -271,4 +282,4 @@ <h3 class="artifact-name" id="{{component.artifact}}">{{ name_pretty }}</h3>
{% endcapture %}

{% include copy_banner.html %}
{% include base_3col.html %}
{% include base_3col.html %}
4 changes: 2 additions & 2 deletions artifacts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<ul class="tree">
{% for id_group in artifacts_by_id %}
<li id="{{id_group.name}}">{{ id_group.name }}
{% assign artifacts_by_platform = id_group.items | group_by: "platform" %}
{% assign artifacts_by_platform = id_group.items | sort: "platform" | group_by: "platform" %}
<ul class="tree">
{% for platform_group in artifacts_by_platform %}
{% assign architecture_group = platform_group.items | group_by: "architecture" %}
{% assign architecture_group = platform_group.items | sort: "name" | group_by: "architecture" %}
{% for artifacts in architecture_group %}
<li>{{ platform_group.name }}-{{ artifacts.name }}
<ul class="tree">
Expand Down

0 comments on commit acceb94

Please sign in to comment.