forked from mattermost/mattermost-plugin-zoom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MI-1996]: Resolved the bug in use PMI feature of zoom plugin
1. Resolved the problem of 500 internal server error which we were getting on clicking create new meeting when our use PMI was set to ask 2. Added c.apiURL in URL 3. Added auto suggestion for use PMI
- Loading branch information
1 parent
ba74224
commit a80b373
Showing
6 changed files
with
176 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Continuous Integration Workflow to check pushes to master and pull requests: | ||
# - code style guidelines are followed (make check-style) | ||
# - tests pass (make test) | ||
# - code builds (make dist) | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
ci: | ||
name: Check style; build; test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set up Go v1.16.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16.x | ||
|
||
- name: Set up Node.js v14.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
registry-url: https://npm.pkg.github.com/ | ||
|
||
- name: Install golangci | ||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.36.0 | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache go modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Cache node modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Install webapp dependencies | ||
run: make webapp/node_modules | ||
env: | ||
TERM: dumb | ||
|
||
- name: check style | ||
run: make check-style | ||
env: | ||
TERM: dumb | ||
|
||
- name: run tests | ||
run: make test | ||
env: | ||
TERM: dumb | ||
|
||
- name: Build and bundle the plugin | ||
id: build | ||
run: | | ||
make dist | ||
echo ::set-output name=BUNDLE_NAME::$(cd dist; ls *.tar.gz) | ||
env: | ||
TERM: dumb | ||
|
||
- name: Upload the built plugin as an artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ steps.build.outputs.BUNDLE_NAME }} | ||
path: dist/${{ steps.build.outputs.BUNDLE_NAME }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
build_and_release: | ||
name: Build and release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go v1.16.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16.x | ||
|
||
- name: Set up Node.js v14.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
registry-url: https://npm.pkg.github.com/ | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache go modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Cache node modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Build and bundle the plugin | ||
id: build | ||
run: | | ||
make dist | ||
echo ::set-output name=BUNDLE_NAME::$(cd dist; ls *.tar.gz) | ||
env: | ||
TERM: dumb | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Release Assets | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: dist/${{ steps.build.outputs.BUNDLE_NAME }} | ||
asset_name: ${{ steps.build.outputs.BUNDLE_NAME }} | ||
asset_content_type: application/gzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters