Skip to content

Commit 83db435

Browse files
tegiozcynthia-sg
andauthored
Setup LFEdge landscape (#162)
Signed-off-by: Sergio Castaño Arteaga <[email protected]> Signed-off-by: Cintia Sánchez García <[email protected]> Co-authored-by: Cintia Sánchez García <[email protected]>
1 parent c562cce commit 83db435

File tree

3 files changed

+376
-0
lines changed

3 files changed

+376
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: LFEdge build and deploy
2+
3+
on:
4+
schedule:
5+
- cron: "30 2 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-landscape:
10+
uses: cncf/landscape2-sites/.github/workflows/build-and-deploy.yml@main
11+
with:
12+
foundation: lfedge
13+
repository: State-of-the-Edge/lfedge-landscape
14+
secrets: inherit
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: LFEdge validate settings
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths:
8+
- lfedge/settings.yml
9+
10+
jobs:
11+
validate-landscape-settings:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: cncf/landscape2-validate-action@v2
16+
with:
17+
target_kind: settings
18+
target_path: lfedge/settings.yml

lfedge/settings.yml

+344
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,344 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/cncf/landscape2/refs/heads/main/docs/config/schema/settings.schema.json
2+
3+
# Landscape2 settings
4+
#
5+
# This settings file allows customizing some aspects of the landscape.
6+
7+
# Foundation (required)
8+
#
9+
# Name of the foundation. This value is used in some labels, so we recommended
10+
# to keep it as short as possible.
11+
#
12+
# foundation: <FOUNDATION_NAME>
13+
#
14+
foundation: LFEdge
15+
16+
# Url (required)
17+
#
18+
# Url where the landscape will be hosted.
19+
#
20+
# url: <LANDSCAPE_URL>
21+
#
22+
url: https://lfedge.landscape2.io
23+
24+
# Analytics (optional)
25+
#
26+
# Analytics providers configuration. When an analytics provider is set up, some
27+
# additional code from the provider will be injected into the web application.
28+
#
29+
# analytics:
30+
# gtm: # Google Tag Manager configuration
31+
# container_id: <CONTAINER_ID> # Landscape web application container ID
32+
#
33+
34+
# Base path (optional)
35+
#
36+
# Base path where the landscape will be hosted. By default the generated
37+
# landscape is prepared to be hosted at the root of the domain. However, if the
38+
# landscape will be hosted in a subpath, this value must be set accordingly.
39+
#
40+
# base_path: /<BASE_PATH>
41+
#
42+
43+
# Categories (optional)
44+
#
45+
# Categories information is read from the `landscape.yml` data file. The way
46+
# categories are displayed in the web application is computed dynamically based
47+
# on the number of categories and subcategories, as well as the number of items
48+
# on each. Sometimes, however, we may want subcategories to be displayed in a
49+
# specific order within a category (this happens often in the Members category).
50+
# In those cases, it is possible to define that order by overriding a category.
51+
#
52+
# This option can also be used to not display one or more subcategories in some
53+
# sections of the landscape [*]. To achieve that, we only need to exclude the
54+
# subcategory from the subcategories list when overriding a category.
55+
#
56+
# [*]
57+
# - Grid mode: excluded subcategories won't be displayed
58+
# - Card mode: items in excluded subcategories won't be displayed when
59+
# filtering by group or classifying by category
60+
#
61+
# categories:
62+
# - name: <CATEGORY_NAME>
63+
# subcategories:
64+
# - <SUBCATEGORY1_NAME>
65+
# - <SUBCATEGORY2_NAME>
66+
#
67+
categories:
68+
- name: LF Edge Member Company
69+
subcategories:
70+
- Premier
71+
- General
72+
- Associate
73+
74+
# Colors (optional)
75+
#
76+
# Colors used across the landscape UI. The colors section is optional but, when
77+
# provided, *all colors must be provided*. Colors must be specified using the
78+
# following format: "rgba(<RED>, <GREEN>, <BLUE>, <ALPHA>)".
79+
#
80+
# colors:
81+
# color1: <COLOR1> # Buttons, groups, links
82+
# color2: <COLOR2> # Some highlighted items like filters button, search icon
83+
# color3: <COLOR3> # Participation stats bars, spinners, modal titles
84+
# color4: <COLOR4> # Categories titles in filters, fieldset in filters modal
85+
# color5: <COLOR5> # Categories and subcategories frames (odd)
86+
# color6: <COLOR6> # Categories and subcategories frames (even)
87+
# color7: <COLOR7> # Borders, shadows and options boxes in games
88+
#
89+
colors:
90+
color1: "rgba(0, 154, 222, 1)"
91+
color2: "rgba(183, 5, 143, 1)"
92+
color3: "rgba(0, 55, 120, 1)"
93+
color4: "rgba(0, 55, 120, 0.7)"
94+
color5: "rgba(0, 55, 120, 0.8)"
95+
color6: "rgba(0, 154, 222, 0.8)"
96+
color7: "rgba(246, 252, 255, 1)"
97+
98+
# End user (optional)
99+
#
100+
# This section allows defining what items should be marked as `end user` based
101+
# on the category and subcategory they belong to. If the `enduser` field has
102+
# been set on a given item, that value will take precedence.
103+
#
104+
# enduser:
105+
# - category: <CATEGORY1> (required)
106+
# subcategories: (optional)
107+
# - <SUBCATEGORY1>
108+
# - category: <CATEGORY2>
109+
#
110+
111+
# Featured items (optional)
112+
#
113+
# This section allows highlighting items that match certain criteria. You can
114+
# define a list of rules and the matching items will be featured in a special
115+
# way in the landscape.
116+
#
117+
# Each rule must define a field for the check as well as the values that will
118+
# trigger a match. At the moment the fields supported are:
119+
#
120+
# - maturity
121+
# - subcategory
122+
#
123+
# When a given item's field matches any of the values provided, it will be
124+
# considered a featured item. For each option, it is possible to also define an
125+
# order (which item would be displayed first) and a label for the item.
126+
#
127+
# featured_items:
128+
# - field: subcategory
129+
# options:
130+
# - value: <SUBCATEGORY1_NAME>
131+
# - value: <SUBCATEGORY2_NAME>
132+
#
133+
featured_items:
134+
- field: subcategory
135+
options:
136+
- value: Premier
137+
138+
# Footer (optional)
139+
#
140+
# This section allows customizing some aspects of the footer.
141+
#
142+
# footer:
143+
# links:
144+
# facebook: <FACEBOOK_URL>
145+
# flickr: <FLICKR_URL>
146+
# github: <GITHUB_URL>
147+
# homepage: <HOMEPAGE_URL>
148+
# instagram: <INSTAGRAM_URL>
149+
# linkedin: <LINKEDIN_URL>
150+
# slack: <SLACK_URL>
151+
# twitch: <TWITCH_URL>
152+
# twitter: <TWITTER_URL>
153+
# wechat: <WECHAT_URL>
154+
# youtube: <YOUTUBE_URL>
155+
# logo: <LOGO_URL> # Foundation logo featured on the footer
156+
# text: <TEXT> # Copyright notice, for example
157+
#
158+
footer:
159+
links:
160+
homepage: "https://lfedge.org"
161+
github: "https://github.com/lf-edge"
162+
linkedin: "https://www.linkedin.com/company/lf-edge"
163+
slack: "https://slack.lfedge.org/"
164+
twitter: "https://twitter.com/lf_edge"
165+
youtube: "https://www.youtube.com/channel/UCY7H1oSt8gvXNdXH9wrNq5Q"
166+
logo: "https://lfedge.org/wp-content/uploads/sites/24/2023/05/footer_logo.svg"
167+
text: |
168+
Copyright © 2024 The Linux Foundation®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our [Trademark Usage page](https://www.linuxfoundation.org/trademark-usage). Linux is a registered trademark of Linus Torvalds. [Privacy Policy](https://www.linuxfoundation.org/privacy) and [Terms of Use](https://www.linuxfoundation.org/terms). This website contains data received from Crunchbase. This data is not licensed pursuant to the Apache License. It is subject to Crunchbase's Data Access Terms, available at <https://data.crunchbase.com/docs/terms>, and is only permitted to be used with Linux Foundation landscape projects.
169+
170+
# Grid items size (optional)
171+
#
172+
# Defines the preferred size of the landscape items in the grid mode. When the
173+
# landscape contains many items, it is recommended to use the `small` size.
174+
# However, if there aren't many items, choosing `medium` or `large` may make
175+
# the landscape look nicer. Users will still be able to adjust the items size
176+
# from the UI using the zoom controls.
177+
#
178+
# grid_items_size: <small|medium|large>
179+
#
180+
grid_items_size: large
181+
182+
# Groups (optional)
183+
#
184+
# In some cases, specially when a landscape contains lots of items, it may be
185+
# interesting to organize them in groups. Each group will be displayed on a
186+
# different tab in the landscape web application. Each entry must contain the
187+
# name of the group (it will be displayed as is) and a list with the categories
188+
# (as defined in the landscape.yml data file) that will be part of this group.
189+
#
190+
# When groups are used, categories not listed in any group won't be displayed
191+
# in the grid mode.
192+
#
193+
# groups:
194+
# - name: <GROUP_NAME>
195+
# categories:
196+
# - <CATEGORY1_NAME>
197+
# - <CATEGORY2_NAME>
198+
#
199+
groups:
200+
- name: Projects and products
201+
categories:
202+
- .ORG
203+
- Traffic Routing
204+
- Platforms
205+
- Security
206+
- Networking
207+
- Infrastructure
208+
- Other Edge Related Software
209+
- Hardware
210+
- Edge OEMs
211+
- Wireless & Wireline
212+
- Real Estate / Land
213+
- Services / System Integrators
214+
- name: Members
215+
categories:
216+
- LF Edge Member Company
217+
218+
# Header (optional)
219+
#
220+
# This section allows customizing some aspects of the header.
221+
#
222+
# header:
223+
# links:
224+
# github: <GITHUB_URL>
225+
# logo: <LOGO_URL> # Foundation logo featured on the header
226+
#
227+
header:
228+
links:
229+
github: "https://github.com/State-of-the-Edge/lfedge-landscape"
230+
logo: "https://lfedge.org/wp-content/uploads/sites/24/2023/07/lfedge-logo.svg"
231+
232+
# Images (optional)
233+
#
234+
# Urls of some images used in the landscape UI.
235+
#
236+
# images:
237+
# favicon: <FAVICON_URL>
238+
# open_graph: <OPEN_GRAPH_IMAGE_URL>
239+
#
240+
images:
241+
favicon: "https://lfedge.org/wp-content/uploads/sites/24/2023/05/favicon.png"
242+
open_graph: "https://lfedge.org/wp-content/uploads/sites/24/2023/05/favicon.png"
243+
244+
# Logos viewbox (optional)
245+
#
246+
# In order to display the logos as large as possible in the landscape, during
247+
# the build process we try to update their viewbox if `adjust` is set to true
248+
# (by default it is when this setting is not provided). However, sometimes this
249+
# does not help and logos may not be displayed correctly. In those cases, it is
250+
# possible to exclude some of them from being adjusted by adding the logo(s)
251+
# file name to the `exclude` list.
252+
#
253+
# logos_viewbox:
254+
# adjust: true
255+
# exclude:
256+
# - logo1.svg
257+
# - logo2.svg
258+
#
259+
260+
# Name of the members category (optional)
261+
#
262+
# Landscapes usually have a special category dedicated to the members of the
263+
# corresponding foundation. It is possible to use any name for that category,
264+
# but it is important that we define it here as there are some special
265+
# operations that depend on it.
266+
#
267+
# members_category: <CATEGORY_NAME>
268+
#
269+
members_category: LF Edge Member Company
270+
271+
# Osano (optional)
272+
#
273+
# Osano cookies consent form configuration. When the Osano configuration is
274+
# provided, some additional code will be injected into the web application.
275+
#
276+
# The `customer_id` and `customer_configuration_id` fields values can be
277+
# obtained from the url in the configuration script code available on the Osano
278+
# site:
279+
#
280+
# https://cmp.osano.com/<CUSTOMER_ID>/<CUSTOMER_CONFIGURATION_ID>/osano.js
281+
#
282+
# osano:
283+
# customer_id: <CUSTOMER_ID>
284+
# customer_configuration_id: <CUSTOMER_CONFIGURATION_ID>
285+
#
286+
287+
# Screenshot width (optional)
288+
#
289+
# Width of the landscape screenshots automatically generated (in pixels).
290+
# Screenshots won't be taken if this value is not provided.
291+
#
292+
# screenshot_width: <WIDTH_IN_PIXELS>
293+
#
294+
screenshot_width: 1500
295+
296+
# TAGs (optional)
297+
#
298+
# Projects items can specify which TAG owns them in the `landscape.yml` file
299+
# (by using the `tag` field in the `extra` item's section). However, sometimes
300+
# this information is not available at the item level. This configuration
301+
# section provides a mechanism to automatically assign a TAG to projects items
302+
# based on the categories and subcategories they belong to.
303+
#
304+
# For example, we can define that all projects in the category <CATEGORY1> are
305+
# owned by <TAG1>. When the items are processed, the corresponding TAG will be
306+
# set in the items that match the rule defined. The TAG defined at the item
307+
# level always takes precedence, so when it's present it won't be replaced.
308+
#
309+
# NOTE: TAGs names should only use lowercase case letters and hyphens (no
310+
# spaces or other characters), and should not be prefixed with "tag". The
311+
# subcategories field is optional and, when omitted, all of them will be
312+
# included.
313+
#
314+
# tags:
315+
# <TAG1>:
316+
# - category: <CATEGORY1>
317+
# subcategories:
318+
# - <SUBCATEGORY1>
319+
# - <SUBCATEGORY2>
320+
# <TAG2>:
321+
# - category: <CATEGORY2>
322+
#
323+
324+
# Upcoming event (optional)
325+
#
326+
# This section allows configuring an upcoming event that will be featured on
327+
# the landscape web application. Expired events won't be displayed.
328+
#
329+
# upcoming_event:
330+
# name: <NAME> # Event name (required)
331+
# start: <START_DATE> # Start date: (required, format: YYYY-MM-DD)
332+
# end: <END_DATE> # End date: (required, format: YYYY-MM-DD)
333+
# banner_url: <URL> # Event banner image url (required, recommended dimensions: 2400x300)
334+
# details_url: <URL> # Event details URL (required)
335+
#
336+
337+
# View mode (optional)
338+
#
339+
# This section allows customizing the default view mode of the landscape web
340+
# application. The view mode can be set to either `grid` or `card`. When
341+
# omitted, the default view mode is `grid`.
342+
#
343+
# view_mode: <grid|card>
344+
#

0 commit comments

Comments
 (0)