Create landscape

This commit is contained in:
Julien Lengrand-Lambert
2025-08-11 13:53:19 +02:00
commit 4f6b9c8613
7 changed files with 253 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
build

60
README.md Normal file
View File

@@ -0,0 +1,60 @@
# 1ES Landscape
This repository contains a landscape visualization for the 1 Engineering System (1ES). It organizes projects, categories, and related data to provide an overview of the 1ES ecosystem.
## Structure
- `data.yml` — Main data source for categories, subcategories, and items.
- `settings.yml` — Configuration for appearance and grouping.
- `guide.yml` — Content for the landscape guide.
- `games.yml` — Data for interactive games and quizzes.
- `build/` — Generated assets and static site output.
## Usage
1. Edit the YAML files (`data.yml`, `settings.yml`, etc.) to update the landscape.
2. Build or serve the site using your preferred static site generator or build process.
## Installing
* Currently, using the `homebrew`install (`brew install cncf/landscape2/landscape2`).
* Probably have to look into using the container setup for production.
## Commands
### Seeding a new landscape (Not needed for 1ES)
```bash
$ landscape2 new --output-dir .
```
### Building
```bash
$ landscape2 build
--data-file data.yml \
--settings-file settings.yml \
--guide-file guide.yml \
--logos-path logos \
--output-dir build
```
### Serving
```bash
$ landscape2 serve --landscape-dir build
```
### Validating
```bash
$ landscape2 validate settings --settings-file settings.yml
$ landscape2 validate games --settings-file games.yml
$ landscape2 validate data --settings-file data.yml
$ landscape2 validate guide --settings-file guide.yml
```
## Resources
- [Landscape documentation](https://github.com/cncf/landscape2?tab=readme-ov-file)

81
data.yml Normal file
View File

@@ -0,0 +1,81 @@
# Landscape2 data
#
# This file contains the data that will be used to generate the landscape.
#
# Reference documentation: https://github.com/cncf/landscape2/blob/main/docs/config/data.yml
categories:
- name: Category 1
subcategories:
- name: Subcategory 1-1
items:
- name: Item 1
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation
description: This is the description of item 1
homepage_url: https://cncf.io
logo: cncf.svg
project: graduated
repo_url: https://github.com/cncf/landscape2
twitter: https://twitter.com/CloudNativeFdn
- name: Item 2
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation
description: This is the description of item 2
homepage_url: https://cncf.io
logo: cncf.svg
project: sandbox
repo_url: https://github.com/cncf/landscape2
twitter: https://twitter.com/CloudNativeFdn
- name: Item 3
description: This is the description of item 3
homepage_url: https://cncf.io
logo: cncf.svg
- name: Subcategory 1-2
items:
- name: Item 4
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation
description: This is the description of item 4
homepage_url: https://cncf.io
logo: cncf.svg
repo_url: https://github.com/cncf/landscape2
twitter: https://twitter.com/CloudNativeFdn
- name: Item 5
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation
description: This is the description of item 5
homepage_url: https://cncf.io
logo: cncf.svg
repo_url: https://github.com/cncf/landscape2
- name: Category 2
subcategories:
- name: Subcategory 2-1
items:
- name: Item 6
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation
description: This is the description of item 6
homepage_url: https://cncf.io
logo: cncf.svg
project: graduated
repo_url: https://github.com/cncf/landscape2
twitter: https://twitter.com/CloudNativeFdn
- name: Item 7
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation
description: This is the description of item 7
homepage_url: https://cncf.io
logo: cncf.svg
project: sandbox
repo_url: https://github.com/cncf/landscape2
twitter: https://twitter.com/CloudNativeFdn
- name: Item 8
description: This is the description of item 8
homepage_url: https://cncf.io
logo: cncf.svg
- name: Subcategory 2-2
items:
- item:
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation
description: This is the description of item 9
homepage_url: https://cncf.io
logo: cncf.svg
name: Item 9
repo_url: https://github.com/cncf/landscape2
twitter: https://twitter.com/CloudNativeFdn

20
games.yml Normal file
View File

@@ -0,0 +1,20 @@
# Landscape2 games data
#
# This file contains the data that will be used in the landscape games.
#
# Reference documentation: https://github.com/cncf/landscape2/blob/main/docs/config/games.yml
quiz:
questions:
- title: "Which of the following items have feature X?"
options:
- item: Item 1
correct: true
- item: Item 2
- item: Item 3
- title: "Please select the item with feature Y"
options:
- item: Item 1
- item: Item 2
- item: Item 3
correct: true

32
guide.yml Normal file
View File

@@ -0,0 +1,32 @@
# Landscape2 guide
#
# This file allows defining the content of the landscape guide.
#
# Reference documentation: https://github.com/cncf/landscape2/blob/main/docs/config/guide.yml
categories:
- category: "Category 1"
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
subcategories:
- subcategory: "Subcategory 1-1"
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- subcategory: "Subcategory 1-2"
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- category: "Category 2"
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
subcategories:
- subcategory: "Subcategory 2-1"
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- subcategory: "Subcategory 2-2"
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

1
logos/cncf.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="-3.48 -3.48 232.70 232.70"><path fill="#cbf4f7" d="M192.85 75.8V33.15h-89.18l-27.99.24-.24-.24H33.15v42.29l.24.36-.24 27.99v43.74c16.48-13.33 32.84-26.54 49.2-39.99 3.27-2.67 5.45-2.67 8.48.48 12 12.36 34.33 34.21 46.45 46.45 2.54 2.67 45.88 47.52 55.33 54.3l.24-86.45V75.79z"/><path fill="#ccc" d="M210.6 224.84l-3.93-60.86-35.28-35.29-53.74 53.74v42.41h92.95z"/><path fill="#00d600" d="M192.85 193.68l-82.67-82.66c-17.38-17.38-45.55-17.38-62.92 0l-32.33 32.33v50.34h177.92z"/><path fill="#0086ff" d="M75.68 205.94v-12.97H33.15v-42.65H1.16v74.52h74.52v-18.9zm149.16-55.62h-32.23l.24.24v42.41h-42.29l-.24-.24v32.11h74.52v-74.52zM14.25 75.8h19.14l-.24-.36V33.15h42.29l.24.24V1.16H1.16V75.8h13.09zm136.07-64.46v21.81h42.53V75.8H224.84V1.16h-74.52v10.18z"/><path fill="#93eaff" d="M75.68 11.34v22.05l27.99-.24h46.65V1.16H75.68v10.18zm74.64 181.39l-28.11.24H75.68V224.84h74.64v-32.11zM208.85 75.8h-16v46.53l-.24 27.38v.61h32.23V75.8h-15.99zm-194.6 74.52H33.15v-46.53l.24-27.99H1.16v74.52h13.09z"/><path fill="#ffce00" d="M142.36 51.2c-12.52 0-22.51 9.99-22.29 22.18.22 12.41 10.1 22.18 22.4 22.18s22.07-10.1 22.07-22.07c0-12.52-9.77-22.4-22.18-22.29z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

58
settings.yml Normal file
View File

@@ -0,0 +1,58 @@
# Landscape2 settings
#
# This settings file allows customizing some aspects of the landscape.
#
# Reference documentation: https://github.com/cncf/landscape2/blob/main/docs/config/settings.yml
foundation: DEMO
url: http://127.0.0.1:8000
colors:
color1: "rgba(0, 107, 204, 1)"
color2: "rgba(255, 0, 170, 1)"
color3: "rgba(96, 149, 214, 1)"
color4: "rgba(0, 42, 81, 0.7)"
color5: "rgba(1, 107, 204, 0.7)"
color6: "rgba(0, 42, 81, 0.7)"
color7: "rgba(180, 219, 255, 1)"
featured_items:
- field: maturity
options:
- value: graduated
order: 1
label: Graduated
footer:
links:
facebook: "https://www.facebook.com/CloudNativeComputingFoundation/"
flickr: "https://www.flickr.com/photos/143247548@N03/albums"
github: "https://github.com/cncf"
homepage: "https://cncf.io"
instagram: "https://www.instagram.com/humans.of.cloudnative/"
linkedin: "https://www.linkedin.com/company/cloud-native-computing-foundation/"
slack: "https://slack.cncf.io/"
twitch: "https://www.twitch.tv/cloudnativefdn"
twitter: "https://twitter.com/cloudnativefdn"
wechat: "https://www.cncf.io/wechat/"
youtube: "https://www.youtube.com/c/cloudnativefdn"
logo: "https://raw.githubusercontent.com/cncf/artwork/master/other/cncf/horizontal/white/cncf-white.svg"
grid_items_size: large
groups:
- name: Some categories
categories:
- Category 1
- Category 2
- name: Only category 2
categories:
- Category 2
header:
links:
github: "https://github.com/cncf/landscape2"
logo: "https://raw.githubusercontent.com/cncf/artwork/master/other/cncf-landscape/horizontal/color/cncf-landscape-horizontal-color.svg"
screenshot_width: 1500