Skip to content

Commit 8b2adcc

Browse files
authored
Merge branch 'master' into board
2 parents f430b3a + 300c573 commit 8b2adcc

File tree

19 files changed

+160
-614
lines changed

19 files changed

+160
-614
lines changed

.github/workflows/create-event-ad-hoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
meeting_desc: ${{ github.event.inputs.desc }}
3131
meeting_banner: ${{ github.event.inputs.meeting_banner }}
3232
33-
33+
3434
issue_template_path: .github/workflows/create-event-helpers/issues_templates/ad-hoc.md
3535
create_zoom: true
3636
secrets:

.github/workflows/slack-integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17+
- name: Install terraform
18+
uses: hashicorp/setup-terraform@v3
19+
with:
20+
terraform_version: "^1.3.7"
21+
terraform_wrapper: false
1722
- name: Deploy changes to Slack
1823
run: |
1924
cd .github/workflows/slack

.github/workflows/slack/channels/channels.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ locals {
5757
purpose = lookup(lookup(lookup(wg_data, "slack", {}), "channel", {}), "description", lookup(wg_data, "description", ""))
5858
topic = lookup(lookup(lookup(wg_data, "slack", {}), "channel", {}), "topic", "")
5959

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

6363
action_on_destroy = "archive"

.github/workflows/slack/groups/groups.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ locals {
5959

6060
# Handle will be the name of the group in lowercase and with spaces replaced by hyphens succeded by "wg-"
6161
handle = lookup(lookup(lookup(wg_data, "slack", {}), "group", {}), "handle", "${replace(lower(wg_data.name), " ", "-")}-wg")
62-
users = concat([for member in wg_data.chairpersons : member.slack], [for member in wg_data.members : member.slack])
62+
users = concat([for member in wg_data.chairpersons : lookup(member, "slack", null)], [for member in wg_data.members : lookup(member, "slack", null)])
6363
}
6464
}
6565
}

.github/workflows/slack/users/users.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ locals {
1717
repos = setunion(flatten([for maintainer in local.maintainers_data : maintainer.repos]))
1818
repo_maintainers = {
1919
for repo in local.repos : repo =>
20-
[for maintainer in local.maintainers_data : maintainer.slack if contains(maintainer.repos, repo)]
20+
[for maintainer in local.maintainers_data : lookup(maintainer, "slack", null) if contains(maintainer.repos, repo)]
2121
}
2222
}
2323

2424
output "data_sources" {
2525
value = {
26-
maintainers_user_ids = [for maintainer in local.maintainers_data : maintainer.slack]
27-
tsc_members_user_ids = [for tsc_member in local.tsc_members_data : tsc_member.slack]
26+
maintainers_user_ids = [for maintainer in local.maintainers_data : lookup(maintainer, "slack", null)]
27+
tsc_members_user_ids = [for tsc_member in local.tsc_members_data : lookup(tsc_member, "slack", null)]
2828
repo_maintainers = local.repo_maintainers
2929
}
3030
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: Update latest Community documentation in the website
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- 'master'
8+
paths:
9+
- 'docs/**/*.md'
10+
11+
jobs:
12+
Make-PR:
13+
name: Make PR on website repository with updated latest Community documentation
14+
runs-on: ubuntu-latest
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
17+
steps:
18+
- name: Checkout Current repository
19+
uses: actions/checkout@v4
20+
with:
21+
path: community
22+
- name: Checkout Another repository
23+
uses: actions/checkout@v4
24+
with:
25+
repository: asyncapi/website
26+
path: website
27+
token: ${{ env.GITHUB_TOKEN }}
28+
- name: Config git
29+
run: |
30+
git config --global user.name asyncapi-bot
31+
git config --global user.email [email protected]
32+
- name: Create branch
33+
working-directory: ./website
34+
run: |
35+
git checkout -b update-community-docs-${{ github.sha }}
36+
- name: Update edit-page-config.json
37+
uses: actions/github-script@v4
38+
with:
39+
script: |
40+
const fs = require('fs').promises;
41+
const configPath = './website/config/edit-page-config.json';
42+
const configData = require(configPath);
43+
const docsDir = 'community/docs';
44+
45+
async function readDirectories(dirPath) {
46+
const entries = await fs.readdir(dirPath, { withFileTypes: true });
47+
const subdirectories = entries.filter(entry => entry.isDirectory()).map(entry => entry.name);
48+
return subdirectories;
49+
}
50+
51+
async function updateConfigData() {
52+
const subfolders = await readDirectories(docsDir);
53+
54+
for (const subfolder of subfolders) {
55+
const checkSlug = `community/${subfolder}`;
56+
const slug = {
57+
"value": checkSlug,
58+
"href": `https://github.com/asyncapi/community/tree/master/docs/${subfolder}`
59+
};
60+
61+
const entryExists = configData.some(entry => entry.value === checkSlug);
62+
if (!entryExists) {
63+
configData.push(slug);
64+
}
65+
}
66+
67+
await fs.writeFile(configPath, JSON.stringify(configData, null, 2));
68+
}
69+
updateConfigData();
70+
71+
- name: Copy community folder from Current Repo to Another
72+
working-directory: ./website
73+
run: |
74+
find "./markdown/docs/community" -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} +
75+
rm ../community/docs/README.md
76+
mv ../community/docs/* ./markdown/docs/community/
77+
- name: Commit and push
78+
working-directory: ./website
79+
run: |
80+
git add .
81+
git commit -m "docs(community): update latest community docs"
82+
git push https://${{ env.GITHUB_TOKEN }}@github.com/asyncapi/website
83+
- name: Create PR
84+
working-directory: ./website
85+
run: |
86+
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 }}"

AMBASSADORS_MEMBERS.json

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -416,37 +416,6 @@
416416
}
417417
]
418418
},
419-
{
420-
"name": "Raphael De Lio",
421-
"github": "raphaeldelio",
422-
"twitter": "raphaeldelio",
423-
"linkedin": "raphaeldelio",
424-
"country": "🇧🇷",
425-
"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.",
426-
"company": "Xebia",
427-
"title": "Software Consultant at Xebia",
428-
"img": "https://avatars.githubusercontent.com/u/25641721?v=4",
429-
"contributions": [
430-
{
431-
"type": "article",
432-
"title": "AsyncAPI — A standard specification for documenting Event-Driven Applications",
433-
"date": {
434-
"year": 2024,
435-
"month": "February"
436-
},
437-
"link": "https://medium.com/@raphaeldelio/asyncapi-a-standard-for-documenting-event-driven-applications-8ff657119036"
438-
},
439-
{
440-
"type": "presentation",
441-
"title": "AsyncAPI & Springwolf - Automated documentation (and more)",
442-
"date": {
443-
"year": 2024,
444-
"month": "May"
445-
},
446-
"link": "https://www.youtube.com/watch?v=DylvTW_ia4Y"
447-
}
448-
]
449-
},
450419
{
451420
"name": "Hari Krishnan",
452421
"github": "harikrishnan83",

Emeritus.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ emeritus_tsc:
2222
emeritus_ambassadors:
2323
- jessemenning
2424
- meteatamel
25+
- raphaeldelio

MAINTAINERS.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@
227227
- java-spring-template
228228
- github-action-for-cli
229229
- .github
230-
- jasyncapi
231230
- vs-asyncapi-preview
232231
- template-for-generator-templates
233232
- community
@@ -760,3 +759,13 @@
760759
repos:
761760
- conference-website
762761
githubID: 69006513
762+
- name: HariKrishnan
763+
github: harikrishnan83
764+
twitter: harikrishnan83
765+
linkedin: harikrishnan83
766+
slack: U067JPY0UH5
767+
availableForHire: false
768+
isTscMember: true
769+
repos:
770+
- jasyncapi
771+
githubID: 126087

0 commit comments

Comments
 (0)