Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaMadhushan committed Jun 30, 2023
2 parents 73b1a31 + d9ed87c commit 6ee6366
Show file tree
Hide file tree
Showing 16 changed files with 3,455 additions and 365 deletions.
227 changes: 195 additions & 32 deletions .github/workflows/daily-full-build-2201.3.x.yml

Large diffs are not rendered by default.

230 changes: 193 additions & 37 deletions .github/workflows/daily-full-build-2201.4.x.yml

Large diffs are not rendered by default.

265 changes: 229 additions & 36 deletions .github/workflows/daily-full-build-2201.5.x.yml

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions .github/workflows/daily-full-build-2201.6.x.yml

Large diffs are not rendered by default.

499 changes: 499 additions & 0 deletions .github/workflows/daily-full-build-2201.7.x.yml

Large diffs are not rendered by default.

287 changes: 251 additions & 36 deletions .github/workflows/daily-full-build-master.yml

Large diffs are not rendered by default.

378 changes: 318 additions & 60 deletions .github/workflows/full_build_pipeline.yml

Large diffs are not rendered by default.

77 changes: 31 additions & 46 deletions .github/workflows/trigger-ballerinax-connectors-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,80 +6,65 @@ on:
- cron: '30 18 * * *' # 00:00 in LK time (GMT+5:30)

jobs:
trigger_repository_disptach:
get_connector_list:
name: Get connector repository names
if: github.repository_owner == 'ballerina-platform'
runs-on: ubuntu-latest
steps:
- name: Get extended library names
id: set-matrix
run: |
curl https://raw.githubusercontent.com/ballerina-platform/ballerina-release/master/dependabot/resources/ballerina_connector_list.json | jq '.ballerinax_connectors | .[] | {name}' > modules.txt
cat modules.txt | jq -s '.' | sed "s: ::g" | tr -d '\n' > processed.txt
echo "::set-output name=matrix::{\"include\":$(cat processed.txt)}"
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}

trigger_repository_disptach_in_connectors:
name: Trigger repository dispatch in ballerinax connector repos
if: github.repository_owner == 'ballerina-platform'
needs: get_connector_list
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
modules:
- aws.dynamodb
- aws.s3
- aws.ses
- aws.simpledb
- aws.sns
- aws.sqs
- azure-cosmosdb
- azure-service-bus
- azure-storage-service
- azure.ad
- azure.eventhub
- cdata.connect
- github
- googleapis.calendar
- googleapis.drive
- googleapis.gmail
- googleapis.people
- googleapis.sheets
- microsoft.excel
- microsoft.onedrive
- microsoft.onenote
- microsoft.outlook.calendar
- microsoft.outlook.mail
- microsoft.teams
- mongodb
- netsuite
- peoplehr
- sfdc
- slack
- snowflake
- twilio
- twitter
runs-on: ubuntu-latest
matrix: ${{fromJSON(needs.get_connector_list.outputs.matrix)}}
steps:
- name: dispatch build request
- name: Trigger repository dispatch
run: |
curl --request \
POST 'https://api.github.com/repos/ballerina-platform/module-ballerinax-${{matrix.modules}}/dispatches' \
POST 'https://api.github.com/repos/ballerina-platform/${{matrix.modules}}/dispatches' \
--header 'Accept: application/vnd.github.v3+json' \
--header 'Content-Type: application/json' \
--header 'Authorization: token ${{secrets.BALLERINA_BOT_TOKEN}}' \
--data-raw '{
"event_type":"check_connector_for_breaking_changes"
}'
get_extended_library_modules:
name: Get extended library repos names
get_extended_library_list:
name: Get extended library repository names
if: github.repository_owner == 'ballerina-platform'
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- id: set-matrix
- name: Get extended library names
id: set-matrix
run: |
curl https://raw.githubusercontent.com/ballerina-platform/ballerina-release/master/dependabot/resources/extensions.json | jq '.extended_library | .[] | {name}' > modules.txt
cat modules.txt | jq -s '.' | sed "s: ::g" | tr -d '\n' > processed.txt
echo "::set-output name=matrix::{\"include\":$(cat processed.txt)}"
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}

trigger_repository_disptach_in_extended_library_modules:
name: Trigger repository dispatch in extended standard library repos
if: github.repository_owner == 'ballerina-platform'
needs: get_extended_library_modules
needs: get_extended_library_list
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJSON(needs.get_extended_library_modules.outputs.matrix)}}
fail-fast: false
matrix: ${{fromJSON(needs.get_extended_library_list.outputs.matrix)}}
steps:
- run: |
- name: Trigger repository dispatch
run: |
curl --request \
POST 'https://api.github.com/repos/ballerina-platform/${{matrix.name}}/dispatches' \
--header 'Accept: application/vnd.github.v3+json' \
Expand Down
28 changes: 16 additions & 12 deletions README.md

Large diffs are not rendered by default.

28 changes: 18 additions & 10 deletions dashboard/stdlib_graph.gv
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ digraph "Stdlib Dependency Graph" {
subgraph cluster_1 {
node [color=white style=filled]
color=lightgrey style=filled
constraint
io
"jballerina.java.arrays"
regex
Expand All @@ -14,12 +13,13 @@ digraph "Stdlib Dependency Graph" {
subgraph cluster_2 {
node [color=white style=filled]
color=lightgrey style=filled
constraint
crypto
log
os
persist
protobuf
random
serdes
task
xslt
label="level 2"
Expand All @@ -32,7 +32,7 @@ digraph "Stdlib Dependency Graph" {
ftp
mime
nats
stan
"persist.inmemory"
tcp
udp
uuid
Expand All @@ -45,6 +45,8 @@ digraph "Stdlib Dependency Graph" {
email
jwt
oauth2
toml
yaml
label="level 4"
}
subgraph cluster_5 {
Expand All @@ -68,6 +70,7 @@ digraph "Stdlib Dependency Graph" {
color=lightgrey style=filled
graphql
kafka
"persist.googlesheets"
rabbitmq
sql
label="level 7"
Expand All @@ -79,27 +82,27 @@ digraph "Stdlib Dependency Graph" {
mssql
mysql
oracledb
persist
"persist.sql"
postgresql
label="level 8"
}
constraint -> cache
constraint -> nats
io -> log
io -> os
io -> serdes
io -> xslt
time -> constraint
time -> crypto
time -> file
time -> persist
time -> protobuf
time -> random
time -> task
url -> oauth2
constraint -> cache
constraint -> nats
crypto -> auth
crypto -> jwt
crypto -> nats
crypto -> oauth2
crypto -> stan
crypto -> tcp
crypto -> uuid
log -> auth
Expand All @@ -109,10 +112,12 @@ digraph "Stdlib Dependency Graph" {
log -> mime
log -> nats
log -> oauth2
log -> stan
log -> tcp
log -> udp
os -> file
persist -> "persist.googlesheets"
persist -> "persist.inmemory"
persist -> "persist.sql"
protobuf -> grpc
random -> grpc
random -> kafka
Expand All @@ -126,6 +131,8 @@ digraph "Stdlib Dependency Graph" {
cache -> oauth2
file -> email
file -> http
file -> toml
file -> yaml
mime -> email
mime -> http
uuid -> grpc
Expand All @@ -142,13 +149,14 @@ digraph "Stdlib Dependency Graph" {
http -> websub
http -> websubhub
transaction -> kafka
transaction -> "persist.googlesheets"
transaction -> rabbitmq
transaction -> sql
websocket -> graphql
sql -> "java.jdbc"
sql -> mssql
sql -> mysql
sql -> oracledb
sql -> persist
sql -> "persist.sql"
sql -> postgresql
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
},
{
"username": "ThisaruGuruge"
},
{
"username": "udda1996"
}
]
}
Loading

0 comments on commit 6ee6366

Please sign in to comment.