Skip to content

Commit

Permalink
Merge pull request #1 from jmertic/main
Browse files Browse the repository at this point in the history
Move to landscape2
  • Loading branch information
riaankleinhans authored Oct 24, 2024
2 parents fb0860b + ac7c2e2 commit 3d995b6
Show file tree
Hide file tree
Showing 65 changed files with 2,128 additions and 479 deletions.
64 changes: 9 additions & 55 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,18 @@
name: Update members
name: Build Landscape from LFX

on:
workflow_dispatch:
# Uncomment to schedule builds
# schedule:
#- cron: '0 1 * * *'
schedule:
- cron: "0 4 * * *"

jobs:
build:
runs-on: ubuntu-latest

runs-on: ubuntu-24.04
steps:
- name: Checkout landscape
uses: actions/checkout@v3
with:
path: landscape
- name: Checkout landscape-tools
uses: actions/checkout@v3
with:
repository: jmertic/landscape-tools
path: landscape-tools
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r landscape-tools/requirements.txt
- name: Run build
working-directory: ./landscape
run: |
../landscape-tools/landscapemembers.py
- name: Save missing.csv file
uses: actions/upload-artifact@v3
with:
name: missing-members
path: ./landscape/missing.csv
- name: Checkout landscapeapp
uses: actions/checkout@v3
with:
repository: cncf/landscapeapp
path: landscapeapp
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: cleanup yml files
working-directory: ./landscapeapp
run: |
node tools/removePuppeteer
npm install
PROJECT_PATH=../landscape node tools/removeQuotes
PROJECT_PATH=../landscape node tools/pruneExtraEntries
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
- uses: jmertic/lfx-landscape-tools@main
with:
project_processing: skip
env:
token: ${{ secrets.PAT }}
branch-suffix: timestamp
path: ./landscape
title: Update members
labels: automated-build
commit-message: Update members
repository: ${{ github.repository }}
ref: ${{ github.ref }}
26 changes: 26 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Validate

on:
merge_group:
pull_request:
branches:
- main
- master

jobs:
validate-landscape:
runs-on: ubuntu-latest
name: "Validate landscape.yml file"
steps:
- uses: actions/checkout@v3
- uses: cncf/landscape2-validate-action@v2
with:
target_kind: data
target_path: ./landscape.yml
- uses: pascalgn/[email protected]
if: success()
env:
GITHUB_TOKEN: "${{ secrets.PAT }}"
MERGE_LABELS: "automated-build"
MERGE_RETRY_SLEEP: 300000
MERGE_METHOD: "squash"
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,19 @@ data.json
preview.json
lookup.json
landscapeapp
missing.csv
landscape.sqlite
githubapi.sqlite
missing-projects.csv
build/

# data files used by scripts
tooling/*.csv
tooling/*.yml
tooling/*.yaml
tooling/*.txt
tooling/*.json

build/
landscape.sqlite
githubapi.sqlite
1 change: 0 additions & 1 deletion INSTALL.md

This file was deleted.

15 changes: 0 additions & 15 deletions INSTRUCTIONS.md

This file was deleted.

Empty file removed cached_logos/.gitkeep
Empty file.
21 changes: 0 additions & 21 deletions config.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
landscapeMemberClasses:
- name: Premier Membership
category: Premier
- name: General Membership
category: General
- name: Associate Membership
category: Associate
- name: Startup
category: Startup
slug: ccc
landscapeMemberCategory: Confidential Computing Consortium Member Company
4 changes: 4 additions & 0 deletions hosted_logos/acurast.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions hosted_logos/advanced_micro_devices_amd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions hosted_logos/ampere_computing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3d995b6

Please sign in to comment.