-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Log (failed) attempt to notify a user with viewer role * Remove https:// prefix from BASE_URL docker env var * Fix cloud heartbeat name * Polishing telegram * Update docker-compose.yml * Update plugin README (#48) * Update README and screenshot, remove plop for build info since version is now displayed prominently * Sign build Co-authored-by: Michael Derynck <[email protected]> * Build actions (#38) * Drone, github action changes * Minor version updates * Update frontend dependencies * Re-enable unit test Co-authored-by: Michael Derynck <[email protected]> * Revert stylelint version (#52) * Revert stylelint version * Build plugin as well as lint * Build in previous step Co-authored-by: Michael Derynck <[email protected]> * Update screenshot (#53) Co-authored-by: Michael Derynck <[email protected]> Co-authored-by: Matias Bordese <[email protected]> Co-authored-by: Matvey Kukuy <[email protected]> Co-authored-by: Innokentii Konstantinov <[email protected]> Co-authored-by: Matvey Kukuy <[email protected]> Co-authored-by: Michael Derynck <[email protected]>
- Loading branch information
1 parent
cc1fc53
commit 66e8cf2
Showing
36 changed files
with
682 additions
and
480 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
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 was deleted.
Oops, something went wrong.
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,56 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
container: python:3.9 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
- name: Build | ||
run: | | ||
pip install $(grep "pre-commit" engine/requirements.txt) | ||
npm install -g yarn | ||
cd grafana-plugin/ | ||
yarn --network-timeout 500000 | ||
yarn build | ||
- name: Lint All | ||
run: | | ||
pre-commit run --all-files | ||
unit-test-backend: | ||
runs-on: ubuntu-latest | ||
container: python:3.9 | ||
env: | ||
DJANGO_SETTINGS_MODULE: settings.ci-test | ||
SLACK_CLIENT_OAUTH_ID: 1 | ||
services: | ||
rabbit_test: | ||
image: rabbitmq:3.7.19 | ||
env: | ||
RABBITMQ_DEFAULT_USER: rabbitmq | ||
RABBITMQ_DEFAULT_PASS: rabbitmq | ||
mysql_test: | ||
image: mysql:5.7.25 | ||
env: | ||
MYSQL_DATABASE: oncall_local_dev | ||
MYSQL_ROOT_PASSWORD: local_dev_pwd | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Unit Test Backend | ||
run: | | ||
apt-get update && apt-get install -y netcat | ||
cd engine/ | ||
pip install -r requirements.txt | ||
./wait_for_test_mysql_start.sh && pytest --ds=settings.ci-test -x |
This file was deleted.
Oops, something went wrong.
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,30 @@ | ||
name: snyk | ||
|
||
on: | ||
push: | ||
branches: [ main,dev ] | ||
pull_request: | ||
branches: [ main,dev ] | ||
|
||
jobs: | ||
security-scan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
- uses: snyk/actions/setup@master | ||
- name: Install Dependencies | ||
run: | | ||
pip install -r engine/requirements.txt | ||
cd grafana-plugin/ | ||
yarn --network-timeout 500000 | ||
- name: Run Snyk | ||
continue-on-error: true | ||
run: snyk test --all-projects --severity-threshold=high | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Change Log | ||
|
||
## 1.0.0 (2022-02-02) | ||
## 0.0.71 (2022-06-06) | ||
|
||
- Initial Release |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.