Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
373e265
img and ecosystem-dashboard routing fix
chrismoroney Feb 11, 2026
cf2f6d3
new yml for staging
chrismoroney Feb 11, 2026
324cfb1
Merge pull request #872 from ArmDeveloperEcosystem/akamai-staging-act…
ranimandepudi Feb 11, 2026
b35b069
Merge pull request #873 from ArmDeveloperEcosystem/routing-changes
ranimandepudi Feb 11, 2026
df986f0
fixes for routing in developer.arm
chrismoroney Feb 18, 2026
17b2dae
Merge pull request #881 from ArmDeveloperEcosystem/routing-changes
chrismoroney Feb 18, 2026
2b5b77a
layout and logo not rendering in dev.developer fixes
chrismoroney Feb 18, 2026
66165b6
Merge pull request #882 from ArmDeveloperEcosystem/routing-changes
chrismoroney Feb 18, 2026
2eea420
extra fix 404 stylesheet
chrismoroney Feb 18, 2026
017d459
Merge pull request #883 from ArmDeveloperEcosystem/routing-changes
chrismoroney Feb 18, 2026
b5bd09c
another fix to fix windows on arm software dashboard button
chrismoroney Feb 18, 2026
16c78e1
Merge pull request #884 from ArmDeveloperEcosystem/routing-changes
chrismoroney Feb 18, 2026
651e783
leading slash issue
chrismoroney Feb 18, 2026
a80f188
Merge pull request #885 from ArmDeveloperEcosystem/routing-changes
chrismoroney Feb 18, 2026
1124540
second leading / fix
chrismoroney Feb 18, 2026
6594147
Merge pull request #886 from ArmDeveloperEcosystem/routing-changes
chrismoroney Feb 18, 2026
469cebd
test change for cloudfront routing
chrismoroney Feb 18, 2026
5d43446
Merge pull request #887 from ArmDeveloperEcosystem/routing-changes
chrismoroney Feb 18, 2026
9427bb7
add config.cloudfront.toml for consistency between deploys
chrismoroney Feb 18, 2026
25ccb0d
modify main.yml for cloudfront config
chrismoroney Feb 18, 2026
b8a0cbe
Merge pull request #888 from ArmDeveloperEcosystem/cloudfront-and-aka…
chrismoroney Feb 18, 2026
c2a6533
Revert "Cloudfront and akamai alignment"
chrismoroney Feb 18, 2026
0fd8145
Merge pull request #889 from ArmDeveloperEcosystem/revert-888-cloudfr…
chrismoroney Feb 18, 2026
9652f41
try to fix cloudfront
chrismoroney Feb 18, 2026
4c5f38d
fix main.yml
chrismoroney Feb 18, 2026
dbcba81
Merge branch 'main' into cloudfront-and-akamai-alignment
chrismoroney Feb 18, 2026
ce0e7bd
Merge pull request #890 from ArmDeveloperEcosystem/cloudfront-and-aka…
chrismoroney Feb 18, 2026
2c97458
add log line
chrismoroney Feb 18, 2026
b73b9cb
Merge branch 'cloudfront-and-akamai-alignment' of https://github.com/…
chrismoroney Feb 18, 2026
c9cf6cd
use grep
chrismoroney Feb 18, 2026
44d6134
confirm cloudfront.toml isn't being read
chrismoroney Feb 18, 2026
f636e2f
config.cloudfront.toml got dropped somehow?
chrismoroney Feb 18, 2026
92e70d2
debugging
chrismoroney Feb 18, 2026
d46ebbf
remove debug
chrismoroney Feb 18, 2026
bbe9c6d
Merge pull request #891 from ArmDeveloperEcosystem/cloudfront-and-aka…
chrismoroney Feb 18, 2026
1843548
remove unnecessary filters
chrismoroney Feb 19, 2026
b962659
Merge pull request #897 from ArmDeveloperEcosystem/remove-unused-cate…
chrismoroney Feb 19, 2026
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
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:

# Builds arm-software-developer repo
- name: Build
run: hugo --minify
run: hugo --minify --config config.toml,config.cloudfront.toml

# Deploys website to AWS S3
- name: Deploy to S3
run: hugo deploy --force --maxDeletes -1 --invalidateCDN
run: hugo deploy --force --maxDeletes -1 --invalidateCDN --config config.toml,config.cloudfront.toml
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
67 changes: 67 additions & 0 deletions .github/workflows/staging-content-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# This is a basic workflow to help you get started with Actions

name: staging-content-deploy

# Controls when the workflow will run
on:
# Triggers the workflow on push to production branch
push:
branches: [ production ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build_and_deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo Themes
fetch-depth: 0

# Sets Up Hugo
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.98.0'
extended: true

# Post-CSS install
- name: Install Post-CSS
run: npm install postcss-cli

# Builds ecosystem-dashboard-for-arm repo
- name: Build
run: |
export HUGO_PRODUCTION=true
hugo --minify


# Copy SSH Key
- name: copy key
run: |
echo $SSH_KEY | xargs -n 1 > tmpkey
base64 -d < tmpkey > key
chmod 400 key
shell: bash
env:
SSH_KEY: ${{secrets.SSH_KEY}}

# SCP Site contents to netstorage
- name: copy site content
run: |
cd public
zip -r dev-public.zip .
cd ..
scp -i key -o StrictHostKeyChecking=accept-new -oHostKeyAlgorithms=+ssh-dss -r public/dev-public.zip $USR@$HOST:/$ID/
shell: bash
env:
USR: ${{secrets.SSH_USERNAME}}
HOST: ${{secrets.SSH_HOST}}
ID: ${{secrets.ID}}
4 changes: 4 additions & 0 deletions config.cloudfront.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
baseURL = "https://d1jmgdpytvgwdc.cloudfront.net/"

[params]
dashboard_base_path = ""
3 changes: 2 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ cloudFrontDistributionID = "EBSHXJ6P4DYP8"
[params]
# location of assets
assetsDir = "assets"
dashboard_base_path = "/ecosystem-dashboard"

# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
github_repo = "https://github.com/ArmDeveloperEcosystem/ecosystem-dashboard-for-arm"
Expand All @@ -33,4 +34,4 @@ arm_url = "https://developer.arm.com/ecosystem-dashboard/"
title = 'Software Ecosystem Dashboard for Arm'
description = 'Discover what software packages work on Arm servers and how to get started. A great resource for migrating to Arm.'
social_image = '/ecosystem-dashboard/img/social-image.jpg'
twitter_handle = '@ArmSoftwareDev'
twitter_handle = '@ArmSoftwareDev'
2 changes: 1 addition & 1 deletion content/linux/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ title: Cloud Software Ecosystem Dashboard for Arm
os: Linux
backgroundColor: 3c5610 # green
textColor: 95D629 # DBFF89 # green
logo: /img/LinuxLogo.svg
logo: img/LinuxLogo.svg
---
2 changes: 1 addition & 1 deletion content/windows/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ title: Windows on Arm Software Dashboard
os: Windows
backgroundColor: 002B49 # blue
textColor: 92D2FF # light blue
logo: /img/WindowsLogo.svg
logo: img/WindowsLogo.svg
---
2 changes: 1 addition & 1 deletion themes/arm-design-system-hugo-theme/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div style="margin-bottom: 150px;"></div>

<script>
window.location.replace("/linux/");
window.location.replace("{{ "linux/" | relURL }}");
</script>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,28 @@

</div>
<div class="c-col u-hide lg:u-display-block lg:c-col-4 xxl:c-col-3" style="margin:auto; text-align: center;">
<img src="{{.Params.logo}}" alt="OS Logo" style="max-width: 200px; max-height: 200px;" />
{{- $logo_src := .Params.logo | absURL -}}
{{- if eq .Site.BaseURL "/" -}}
{{- $base_path := (.Site.Params.dashboard_base_path | default "/ecosystem-dashboard") | strings.TrimRight "/" -}}
{{- if eq $base_path "" -}}
{{- $logo_src = printf "/%s" .Params.logo -}}
{{- else -}}
{{- $logo_src = printf "%s/%s" $base_path .Params.logo -}}
{{- end -}}
{{- end -}}
<img src="{{ $logo_src }}" alt="OS Logo" style="max-width: 200px; max-height: 200px;" />
</div>
<div class="c-col u-display-block lg:u-hide c-col-12 u-margin-top-1/2">
<img src="{{.Params.logo}}" alt="OS Logo" style="max-width: 200px; max-height: 200px;" />
{{- $logo_src := .Params.logo | absURL -}}
{{- if eq .Site.BaseURL "/" -}}
{{- $base_path := (.Site.Params.dashboard_base_path | default "/ecosystem-dashboard") | strings.TrimRight "/" -}}
{{- if eq $base_path "" -}}
{{- $logo_src = printf "/%s" .Params.logo -}}
{{- else -}}
{{- $logo_src = printf "%s/%s" $base_path .Params.logo -}}
{{- end -}}
{{- end -}}
<img src="{{ $logo_src }}" alt="OS Logo" style="max-width: 200px; max-height: 200px;" />
</div>
</div>
</div>
Expand All @@ -39,9 +57,25 @@
// Add event listener on click of switch-dashboards ads-cta button to navigate to appropriate dashboard
document.getElementById('switch-dashboards').addEventListener('click', function() {
{{if eq .Params.os "Linux"}}
window.location.href = '{{ "/windows/" | relURL }}';
{{- $base := .Site.BaseURL | strings.TrimRight "/" -}}
{{- if eq $base "" -}}
{{- $base = (.Site.Params.dashboard_base_path | default "/ecosystem-dashboard") | strings.TrimRight "/" -}}
{{- end -}}
{{- if eq $base "" -}}
window.location.href = '/windows';
{{- else -}}
window.location.href = '{{ printf "%s/windows" $base }}';
{{- end -}}
{{else if eq .Params.os "Windows"}}
window.location.href = '{{ "/linux/" | relURL }}';
{{- $base := .Site.BaseURL | strings.TrimRight "/" -}}
{{- if eq $base "" -}}
{{- $base = (.Site.Params.dashboard_base_path | default "/ecosystem-dashboard") | strings.TrimRight "/" -}}
{{- end -}}
{{- if eq $base "" -}}
window.location.href = '/linux';
{{- else -}}
window.location.href = '{{ printf "%s/linux" $base }}';
{{- end -}}
{{else}}

{{end}}
Expand All @@ -51,4 +85,4 @@
window.open('{{printf "%s/%s" site.Params.github_repo "#readme"}}', '_blank');
});

</script>
</script>
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@

<script type="text/javascript" src='{{ "js/eco-dashboard/search.js" | relURL }}' defer></script>
<script type="text/javascript" src='{{ "js/eco-dashboard/table_functionality.js" | relURL }}' defer></script>
<script type="text/javascript" src='{{ "js/eco-dashboard/filter-and-navigate-mobile-behavior.js" | relURL }}' defer></script>
<script type="text/javascript" src='{{ "js/anonymous-analytics.js" | relURL }}' defer></script>
{{- $js_search := "js/eco-dashboard/search.js" -}}
{{- $js_table := "js/eco-dashboard/table_functionality.js" -}}
{{- $js_mobile := "js/eco-dashboard/filter-and-navigate-mobile-behavior.js" -}}
{{- $js_analytics := "js/anonymous-analytics.js" -}}

{{- if eq (getenv "HUGO_PRODUCTION") "true" -}}
<script type="text/javascript" src='{{ $js_search | relURL | replaceRE "^/" "" }}' defer></script>
<script type="text/javascript" src='{{ $js_table | relURL | replaceRE "^/" "" }}' defer></script>
<script type="text/javascript" src='{{ $js_mobile | relURL | replaceRE "^/" "" }}' defer></script>
<script type="text/javascript" src='{{ $js_analytics | relURL | replaceRE "^/" "" }}' defer></script>
{{- else -}}
<script type="text/javascript" src='{{ $js_search | relURL }}' defer></script>
<script type="text/javascript" src='{{ $js_table | relURL }}' defer></script>
<script type="text/javascript" src='{{ $js_mobile | relURL }}' defer></script>
<script type="text/javascript" src='{{ $js_analytics | relURL }}' defer></script>
{{- end -}}


<!-- OneTrust Cookies Consent Notice start for arm.com -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,18 @@
{{ $css_file_location := $css_home.Permalink}}


{{/* ONLY INCLUDE THIS BASE URL IF PUSHING TO PRODUCTION SERVER. OTHERWISE, IGNORE */}}
{{- if eq (getenv "HUGO_PRODUCTION") "true" -}}
<base href="https://developer.arm.com/ecosystem-dashboard/">
{{/* ONLY INCLUDE THIS BASE URL IF PUSHING TO PRODUCTION SERVER OR BASEURL POINTS TO ECOSYSTEM-DASHBOARD */}}
{{- if or (eq (getenv "HUGO_PRODUCTION") "true") (in .Site.BaseURL "developer.arm.com/ecosystem-dashboard") -}}
{{- $base_href := .Site.BaseURL -}}
{{- $base_path := (.Site.Params.dashboard_base_path | default "/ecosystem-dashboard") | strings.TrimRight "/" -}}
{{- if eq $base_href "/" -}}
{{- if eq $base_path "" -}}
{{- $base_href = "/" -}}
{{- else -}}
{{- $base_href = printf "%s/" $base_path -}}
{{- end -}}
{{- end -}}
<base href="{{ $base_href }}">

{{/* CSS file update to without leading slash */}}
{{ $css_file_location = trim $css_home.Permalink "/"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@

<!-- Define opensource vs commercial filter -->
{{ $filter_licenses := slice "All" "Open source" "Commercial" }}
{{ $filter_categories := (slice "All") | append .context.Site.Data.category_data.groups}}
{{ $filter_categories_all := (slice "All") | append .context.Site.Data.category_data.groups}}
{{ $filter_categories := $filter_categories_all }}
{{ if eq .OS "Windows" }}
{{/* Only show Windows categories that have packages */}}
{{ $filter_categories = slice "All" "AI/ML" "Cloud-native" "Database" "Languages" "Media" "Networking" "Security" "Web" "Miscellaneous" }}
{{ end }}
{{/*******************************************************
*******************************************************/}}

Expand Down Expand Up @@ -117,5 +122,3 @@ <h2 id="recently-added-note" class="minhang-mist-text">Most recently added packa
{{ partial "eco-dashboard/scripts-for-three-ctas.html"}}
*/}}