Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucifergene authored Apr 27, 2024
1 parent c93e5fe commit f0ba048
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 118 deletions.
231 changes: 115 additions & 116 deletions backstage/team-backstage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,122 +32,121 @@ github_data_e+="\n<https://github.com/search?q=repo%3Aredhat-developer%2Fred-hat
echo "Posting on slack"

data='{
"text": 'GitHub Status report',
"blocks": [
{
"type": 'header',
"text": {
"type": 'plain_text',
"text": head
}
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": '*backstage-showcase*'
}
]
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": "'$github_data_a'"
},
]
},
{
"type": 'divider'
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": '*backstage-plugins*'
}
]
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": "'$github_data_b'"
},
]
},
{
"type": 'divider'
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": '*backstage-operator*'
}
]
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": "'$github_data_c'"
},
]
},
{
"type": 'divider'
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": '*janus-idp.github.io*'
}
]
},
{
"type": 'section',
"fields": [
{
"type": 'mrkdwn',
"text": "'$github_data_d'"
},
]
},
{
"type": 'divider'
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
text: "*red-hat-developers-documentation-rhdh*",
},
],
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
text: "'$github_data_e'",
},
],
},
{
"type": "divider",
},
]
"text": "GitHub Status report",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "'$head'"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*backstage-showcase*"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "'$github_data_a'"
}
]
},
{
"type": "divider"
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*backstage-plugins*"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "'$github_data_b'"
}
]
},
{
"type": "divider"
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*backstage-operator*"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "'$github_data_c'"
}
]
},
{
"type": "divider"
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*janus-idp.github.io*"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "'$github_data_d'"
}
]
},
{
"type": "divider"
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*janus-idp.github.io*"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "'$github_data_d'"
}
]
},
{
"type": "divider"
}
]
}'

curl -X POST -H "Content-type:application/json" --data "$data" $1
Expand Down
4 changes: 2 additions & 2 deletions devconsole/forum-devconsole.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ data='{
"text": "'$head'"
}
},
{
{
"type": "section",
"fields": [
{
Expand All @@ -129,7 +129,7 @@ data='{
}
]
},
{
{
"type":"divider",
},
{
Expand Down

0 comments on commit f0ba048

Please sign in to comment.