Skip to content

Commit

Permalink
v1.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyorlando authored Aug 20, 2024
2 parents de0d625 + 4a39518 commit d4458bd
Show file tree
Hide file tree
Showing 26 changed files with 409 additions and 1,771 deletions.
1 change: 0 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ jobs:

- name: Tilt CI - standard E2E tests
shell: bash
if: ${{ inputs.run-expensive-tests == false }}
env:
GRAFANA_VERSION: ${{ inputs.grafana_version }}
BROWSERS: ${{ inputs.browsers }}
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/expensive-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,8 @@ jobs:
strategy:
matrix:
grafana_version:
# OnCall doesn't work on the following versions of Grafana
# - 8.5.22
# - 9.0.0
# - 9.1.0

# 10.0.11 is the earliest version where things work
# - 9.2.20
# - 9.3.16
# - 9.4.13
# - 9.5.7
- 10.1.7
- 10.3.3
# TODO: fix issues with running e2e tests against Grafana v10.2.x and v10.3.x
# - 10.2.4
# - latest
fail-fast: false
# Run one version at a time to avoid the issue when SMS notification are bundled together for multiple versions
# running at the same time (the affected test is in grafana-plugin/e2e-tests/alerts/sms.test.ts)
Expand All @@ -37,10 +24,6 @@ jobs:
with:
grafana_version: ${{ matrix.grafana_version }}
run-expensive-tests: true
# TODO: fix issues with some tests on firefox and webkit
# example CI build with firefox/webkit failing tests
# https://github.com/grafana/oncall/actions/runs/8022194346/job/21915964672#step:19:905
# browsers: "chromium firefox webkit"
browsers: "chromium"
secrets: inherit

Expand Down
7 changes: 6 additions & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ DOCKER_REGISTRY = "localhost:63628/"

load("ext://docker_build_sub", "docker_build_sub")

grafana_deps = ["grafana-oncall-app-provisioning-configmap", "build-ui", "build-oncall-plugin-backend"]

def get_profiles():
profiles = os.getenv('ONCALL_PROFILES', 'grafana,plugin,backend,tests')
return profiles.split(',')
Expand All @@ -38,6 +40,9 @@ def extra_env():
"ONCALL_API_URL": "http://oncall-dev-engine:8080"
}

def extra_deps():
return grafana_deps


allow_k8s_contexts(["kind-kind"])

Expand Down Expand Up @@ -107,7 +112,7 @@ def load_grafana():
context="grafana-plugin",
plugin_files=["grafana-plugin/src/plugin.json"],
namespace="default",
deps=["grafana-oncall-app-provisioning-configmap", "build-ui", "build-oncall-plugin-backend"],
deps=grafana_deps,
extra_env={
"GF_SECURITY_ADMIN_PASSWORD": "oncall",
"GF_SECURITY_ADMIN_USER": "oncall",
Expand Down
14 changes: 9 additions & 5 deletions engine/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ asgiref==3.7.2
# django
celery-types==0.18.0
# via -r requirements-dev.in
certifi==2024.2.2
certifi==2024.7.4
# via
# -c requirements.txt
# requests
Expand All @@ -25,14 +25,14 @@ django==4.2.15
# django-stubs-ext
django-filter-stubs==0.1.3
# via -r requirements-dev.in
django-stubs[compatible-mypy]==4.2.2
django-stubs==4.2.2
# via
# -r requirements-dev.in
# django-filter-stubs
# djangorestframework-stubs
django-stubs-ext==4.2.7
# via django-stubs
djangorestframework-stubs[compatible-mypy]==3.14.2
djangorestframework-stubs==3.14.2
# via
# -r requirements-dev.in
# django-filter-stubs
Expand All @@ -52,7 +52,7 @@ httpretty==1.1.4
# via -r requirements-dev.in
identify==2.5.34
# via pre-commit
idna==3.6
idna==3.7
# via
# -c requirements.txt
# requests
Expand Down Expand Up @@ -96,7 +96,7 @@ pytest-django==4.8.0
# via -r requirements-dev.in
pytest-factoryboy==2.7.0
# via -r requirements-dev.in
pytest-xdist[psutil]==3.6.1
pytest-xdist==3.6.1
# via -r requirements-dev.in
python-dateutil==2.8.2
# via
Expand All @@ -110,6 +110,10 @@ requests==2.32.3
# via
# -c requirements.txt
# djangorestframework-stubs
setuptools==73.0.0
# via
# -c requirements.txt
# nodeenv
six==1.16.0
# via
# -c requirements.txt
Expand Down
4 changes: 4 additions & 0 deletions engine/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ whitenoise==5.3.0
google-api-python-client==2.122.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
# we are manually pinning idna to 3.7 to fix CVE-2024-3651
# requests==2.32.3 is installing idna==3.6 but supports idna>=2.5,<4
# https://github.com/psf/requests/blob/v2.32.3/setup.py#L63
idna==3.7
16 changes: 11 additions & 5 deletions engine/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ cachetools==4.2.2
# via
# google-auth
# python-telegram-bot
celery[redis]==5.3.1
celery==5.3.1
# via -r requirements.in
certifi==2024.2.2
certifi==2024.7.4
# via
# python-telegram-bot
# requests
Expand Down Expand Up @@ -157,7 +157,7 @@ firebase-admin==5.4.0
# via fcm-django
flask==3.0.2
# via slack-export-viewer
google-api-core[grpc]==2.17.0
google-api-core==2.17.0
# via
# firebase-admin
# google-api-python-client
Expand Down Expand Up @@ -224,8 +224,10 @@ icalendar==5.0.10
# -r requirements.in
# recurring-ical-events
# x-wr-timezone
idna==3.6
# via requests
idna==3.7
# via
# -r requirements.in
# requests
importlib-metadata==6.11.0
# via opentelemetry-api
inflection==0.5.1
Expand Down Expand Up @@ -415,6 +417,10 @@ rsa==4.9
# via google-auth
s3transfer==0.10.0
# via boto3
setuptools==73.0.0
# via
# apscheduler
# opentelemetry-instrumentation
six==1.16.0
# via
# apscheduler
Expand Down
5 changes: 3 additions & 2 deletions grafana-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"watch": "NODE_ENV=development webpack -w -c ./webpack.config.ts --env development",
"sign": "npx --yes @grafana/sign-plugin@latest",
"start": "yarn watch",
"plop": "plop",
"setversion": "setversion",
"typecheck": "tsc --noEmit",
"typecheck:watch": "yarn typecheck --watch --preserveWatchOutput false",
Expand Down Expand Up @@ -105,7 +104,6 @@
"mailslurp-client": "^15.14.1",
"moment-timezone": "^0.5.35",
"openapi-typescript": "^7.0.0-next.4",
"plop": "^2.7.4",
"postcss-loader": "^7.0.1",
"prettier": "^2.8.7",
"react-test-renderer": "^18.0.2",
Expand Down Expand Up @@ -177,5 +175,8 @@
"throttle-debounce": "^2.1.0",
"tinycolor2": "^1.6.0",
"tslib": "2.5.3"
},
"resolutions": {
"braces": "3.0.3"
}
}
33 changes: 0 additions & 33 deletions grafana-plugin/plopfile.js

This file was deleted.

29 changes: 0 additions & 29 deletions grafana-plugin/tools/plop/generators/createComponentFiles.js

This file was deleted.

29 changes: 0 additions & 29 deletions grafana-plugin/tools/plop/generators/createContainerFiles.js

This file was deleted.

22 changes: 0 additions & 22 deletions grafana-plugin/tools/plop/generators/createModelFiles.js

This file was deleted.

10 changes: 0 additions & 10 deletions grafana-plugin/tools/plop/helpers/configNeeded.js

This file was deleted.

12 changes: 0 additions & 12 deletions grafana-plugin/tools/plop/prompts/componentPrompts.js

This file was deleted.

12 changes: 0 additions & 12 deletions grafana-plugin/tools/plop/prompts/containerPrompts.js

This file was deleted.

8 changes: 0 additions & 8 deletions grafana-plugin/tools/plop/prompts/modelPrompts.js

This file was deleted.

This file was deleted.

Loading

0 comments on commit d4458bd

Please sign in to comment.