Skip to content

Commit

Permalink
Move to new build system (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: John Mertic <[email protected]>
  • Loading branch information
jmertic authored Aug 27, 2024
1 parent 800fe6b commit 1f01619
Show file tree
Hide file tree
Showing 8 changed files with 167 additions and 56 deletions.
60 changes: 10 additions & 50 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,22 @@
name: Update members
name: Build Landscape from LFX

on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
- cron: "0 4 * * *"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Landscape
uses: actions/checkout@v4
with:
path: landscape
- name: Checkout landscape-tools
uses: actions/checkout@v4
with:
repository: jmertic/landscape-tools
path: landscape-tools
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install --no-deps --require-hashes -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@v4
with:
name: missing-members
path: ./landscape/missing.csv
- name: Checkout landscapeapp
uses: actions/checkout@v4
with:
repository: cncf/landscapeapp
path: landscapeapp
- name: Setup node
uses: actions/setup-node@v4
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
node-version: '18'
- name: Cleanup YAML 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@v6
egress-policy: audit
- uses: jmertic/lfx-landscape-tools@latest
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 }}
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ landscapeMemberClasses:
category: Steering
- name: General Membership
category: General
project: alliance-for-open-usd-fund-aousdf
slug: alliance-for-open-usd-fund-aousdf
landscapeMemberCategory: AOUSD Members
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions hosted_logos/hunan_mango_innocreative_technology_co.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/inter_ikea_systems_b_v.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions hosted_logos/lowe_s_companies_inc.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 1f01619

Please sign in to comment.