Skip to content

Commit

Permalink
Merge branch 'master' into board
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Feb 7, 2025
2 parents f430b3a + 300c573 commit 8b2adcc
Show file tree
Hide file tree
Showing 19 changed files with 160 additions and 614 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-event-ad-hoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
meeting_desc: ${{ github.event.inputs.desc }}
meeting_banner: ${{ github.event.inputs.meeting_banner }}
host: [email protected]
alternative_host: "[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]"
alternative_host: "[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]"
issue_template_path: .github/workflows/create-event-helpers/issues_templates/ad-hoc.md
create_zoom: true
secrets:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/slack-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "^1.3.7"
terraform_wrapper: false
- name: Deploy changes to Slack
run: |
cd .github/workflows/slack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slack/channels/channels.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ locals {
purpose = lookup(lookup(lookup(wg_data, "slack", {}), "channel", {}), "description", lookup(wg_data, "description", ""))
topic = lookup(lookup(lookup(wg_data, "slack", {}), "channel", {}), "topic", "")

permanent_members = concat([for member in wg_data.chairpersons : member.slack], [for member in wg_data.members : member.slack])
permanent_members = concat([for member in wg_data.chairpersons : lookup(member, "slack", null)], [for member in wg_data.members : lookup(member, "slack", null)])
is_private = false

action_on_destroy = "archive"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slack/groups/groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ locals {

# Handle will be the name of the group in lowercase and with spaces replaced by hyphens succeded by "wg-"
handle = lookup(lookup(lookup(wg_data, "slack", {}), "group", {}), "handle", "${replace(lower(wg_data.name), " ", "-")}-wg")
users = concat([for member in wg_data.chairpersons : member.slack], [for member in wg_data.members : member.slack])
users = concat([for member in wg_data.chairpersons : lookup(member, "slack", null)], [for member in wg_data.members : lookup(member, "slack", null)])
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/slack/users/users.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ locals {
repos = setunion(flatten([for maintainer in local.maintainers_data : maintainer.repos]))
repo_maintainers = {
for repo in local.repos : repo =>
[for maintainer in local.maintainers_data : maintainer.slack if contains(maintainer.repos, repo)]
[for maintainer in local.maintainers_data : lookup(maintainer, "slack", null) if contains(maintainer.repos, repo)]
}
}

output "data_sources" {
value = {
maintainers_user_ids = [for maintainer in local.maintainers_data : maintainer.slack]
tsc_members_user_ids = [for tsc_member in local.tsc_members_data : tsc_member.slack]
maintainers_user_ids = [for maintainer in local.maintainers_data : lookup(maintainer, "slack", null)]
tsc_members_user_ids = [for tsc_member in local.tsc_members_data : lookup(tsc_member, "slack", null)]
repo_maintainers = local.repo_maintainers
}
}
86 changes: 86 additions & 0 deletions .github/workflows/update-docs-in-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Update latest Community documentation in the website

on:
workflow_dispatch:
push:
branches:
- 'master'
paths:
- 'docs/**/*.md'

jobs:
Make-PR:
name: Make PR on website repository with updated latest Community documentation
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Checkout Current repository
uses: actions/checkout@v4
with:
path: community
- name: Checkout Another repository
uses: actions/checkout@v4
with:
repository: asyncapi/website
path: website
token: ${{ env.GITHUB_TOKEN }}
- name: Config git
run: |
git config --global user.name asyncapi-bot
git config --global user.email [email protected]
- name: Create branch
working-directory: ./website
run: |
git checkout -b update-community-docs-${{ github.sha }}
- name: Update edit-page-config.json
uses: actions/github-script@v4
with:
script: |
const fs = require('fs').promises;
const configPath = './website/config/edit-page-config.json';
const configData = require(configPath);
const docsDir = 'community/docs';
async function readDirectories(dirPath) {
const entries = await fs.readdir(dirPath, { withFileTypes: true });
const subdirectories = entries.filter(entry => entry.isDirectory()).map(entry => entry.name);
return subdirectories;
}
async function updateConfigData() {
const subfolders = await readDirectories(docsDir);
for (const subfolder of subfolders) {
const checkSlug = `community/${subfolder}`;
const slug = {
"value": checkSlug,
"href": `https://github.com/asyncapi/community/tree/master/docs/${subfolder}`
};
const entryExists = configData.some(entry => entry.value === checkSlug);
if (!entryExists) {
configData.push(slug);
}
}
await fs.writeFile(configPath, JSON.stringify(configData, null, 2));
}
updateConfigData();
- name: Copy community folder from Current Repo to Another
working-directory: ./website
run: |
find "./markdown/docs/community" -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} +
rm ../community/docs/README.md
mv ../community/docs/* ./markdown/docs/community/
- name: Commit and push
working-directory: ./website
run: |
git add .
git commit -m "docs(community): update latest community docs"
git push https://${{ env.GITHUB_TOKEN }}@github.com/asyncapi/website
- name: Create PR
working-directory: ./website
run: |
gh pr create --title "docs(community): update latest community documentation" --body "Updated community documentation is available and this PR introduces update to community folder on the website" --head "update-community-docs-${{ github.sha }}"
31 changes: 0 additions & 31 deletions AMBASSADORS_MEMBERS.json
Original file line number Diff line number Diff line change
Expand Up @@ -416,37 +416,6 @@
}
]
},
{
"name": "Raphael De Lio",
"github": "raphaeldelio",
"twitter": "raphaeldelio",
"linkedin": "raphaeldelio",
"country": "🇧🇷",
"bio": "Raphael De Lio is a passionate software engineer who loves to think about solutions and ways to improve anything he touches. He was born in Brazil, lived in Portugal for five years, and now works as a consultant in the Netherlands. In his quest for knowledge, Raphael has always valued learning and sharing insights with others. This pursuit not only led him to Xebia, a place where he found a community of engineers who share his enthusiasm for technology and continuous improvement but also to becoming the co-organizer of the Amsterdam Kotlin MeetUp, where he has been able to enable other speakers to share their knowledge as well.",
"company": "Xebia",
"title": "Software Consultant at Xebia",
"img": "https://avatars.githubusercontent.com/u/25641721?v=4",
"contributions": [
{
"type": "article",
"title": "AsyncAPI — A standard specification for documenting Event-Driven Applications",
"date": {
"year": 2024,
"month": "February"
},
"link": "https://medium.com/@raphaeldelio/asyncapi-a-standard-for-documenting-event-driven-applications-8ff657119036"
},
{
"type": "presentation",
"title": "AsyncAPI & Springwolf - Automated documentation (and more)",
"date": {
"year": 2024,
"month": "May"
},
"link": "https://www.youtube.com/watch?v=DylvTW_ia4Y"
}
]
},
{
"name": "Hari Krishnan",
"github": "harikrishnan83",
Expand Down
1 change: 1 addition & 0 deletions Emeritus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ emeritus_tsc:
emeritus_ambassadors:
- jessemenning
- meteatamel
- raphaeldelio
11 changes: 10 additions & 1 deletion MAINTAINERS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@
- java-spring-template
- github-action-for-cli
- .github
- jasyncapi
- vs-asyncapi-preview
- template-for-generator-templates
- community
Expand Down Expand Up @@ -760,3 +759,13 @@
repos:
- conference-website
githubID: 69006513
- name: HariKrishnan
github: harikrishnan83
twitter: harikrishnan83
linkedin: harikrishnan83
slack: U067JPY0UH5
availableForHire: false
isTscMember: true
repos:
- jasyncapi
githubID: 126087
Loading

0 comments on commit 8b2adcc

Please sign in to comment.