Skip to content

Commit

Permalink
chore(release): 4.9.0 (#989)
Browse files Browse the repository at this point in the history
* Task: Update version number (#951)

* Task: telemetry capture English theme names only (#958)

* Feature: add telemetry middleware (#961)

* Task: Capture deployed version of application for all telemetry data collected (#964)

* Task: Enable autocollection of unhandled exceptions (#963)

* Fix: prevent running empty requests (#972)

* Task: add code-owners (#969)

* Task: send notification when release is created (#967)

* Fix: interaction in progress (#976)

* Feature: Display Graph Explorer Version (#977) [Disabled]

* Feature: show delta links when property is present (#978)

* Fix: mgt story links (#981)

* Task: Update README.md for Azure auth steps (#982)
  • Loading branch information
thewahome authored Jun 10, 2021
1 parent 40d8316 commit e0ef4a4
Show file tree
Hide file tree
Showing 50 changed files with 1,229 additions and 585 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @thewahome @ElinorW @adhiambovivian @millicentachieng @ddyett @bettirosengugi
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Build And Deploy
env:
REACT_APP_CLIENT_ID: ${{ secrets.REACT_APP_CLIENT_ID }}
REACT_APP_INSTRUMENTATION_KEY: ${{ secrets.REACT_APP_STAGING_INSTRUMENTATION_KEY }}
id: builddeploy
uses: Azure/static-web-apps-deploy@v0.0.1-preview
with:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish release

on:
release:
types: [published]

jobs:
send_message_job:
runs-on: ubuntu-latest
name: Publish release
steps:
- name: Send a message to Microsoft Teams
uses: aliencube/microsoft-teams-actions@v0.8.0
with:
webhook_uri: ${{ secrets.TEAMS_WEBHOOK_URL}}
title: New release ${{ github.event.release.name }} from ${{ github.event.repository.name }}
summary: A new release (${{ github.event.release.tag_name }}) has been created
text: ${{ github.event.release.body }}
theme_color: 0000FF
actions: '[{"@type": "OpenUri", "name": "View release", "targets": [{ "os": "default", "uri": "${{ github.event.release.html_url }}"}]}]'

- name: Send a message to Microsoft Outlook
uses: aliencube/microsoft-teams-actions@v0.8.0
with:
webhook_uri: ${{ secrets.OUTLOOK_WEBHOOK_URL}}
title: New release ${{ github.event.release.name }} from ${{ github.event.repository.name }}
summary: A new release (${{ github.event.release.tag_name }}) has been created
text: ${{ github.event.release.body }}
theme_color: 0000FF
actions: '[{"@type": "OpenUri", "name": "View release", "targets": [{ "os": "default", "uri": "${{ github.event.release.html_url }}"}]}]'
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ The Graph Explorer is written in [TypeScript](https://www.typescriptlang.org/) a
* `npm start` starts the TypeScript compiler in watch mode and the local server. It should open your browser automatically with the Graph Explorer at [http://localhost:3000/](http://localhost:3000).

#### Enabling authentication with your own credentials
* Signing to your Microsoft account or Create one if you don't have.
* In the Dashboard, click `Add an app in the Azure portal`. You will be redirected to the Microsoft Azure portal where you Register an application.
Set Redirect URI to `http://localhost:3000`.You can also set it from authentication tab in the app you have just created.
* Create a `.env` file at the root of the project and add the following keys.
* Sign in to your Microsoft account (or Create one) at the [Microsoft Azure Portal](https://ms.portal.azure.com/).
* Find the Azure service named App registrations. If you haven't used this service before, you might need to search for it in the search bar.
* In the App registrations page, click `+ New registration`. You will be redirected to a form in the Microsoft Azure portal where you Register an application. Fill out the form and set the Redirect URI to a `Single-page application (SPA)` with `http://localhost:3000`. You can also set it from authentication tab in the app you have just created.
* Create a `.env` file at the root of the project/repo and add the following keys.
- REACT_APP_CLIENT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- REACT_APP_INSTRUMENTATION_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Where `REACT_APP_CLIENT_ID` is the `Application (client) ID` from the Azure portal and `REACT_APP_INSTRUMENTATION_KEY` is the `Object ID` from the portal.

## Other commands
Expand Down
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
- job: One
displayName: 'Build and test validation'
steps:
- task: CredScan@2
inputs:
toolMajorVersion: 'V2'

- task: NodeTool@0
inputs:
versionSpec: '12.x'
Expand Down
Loading

0 comments on commit e0ef4a4

Please sign in to comment.