Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade python from 3.11-slim to 3.13.0rc2-slim #12

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: "main"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

## v2.0.0
- Complete rewrite of evm collector to use web3.py library.
- Introducing limited support for Conflux, Solana and Cardano
- Introducing limited support for Conflux, Solana and Cardano
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim AS base
FROM python:3.13.0rc2-slim AS base

WORKDIR /opt/brpc
COPY requirements.txt .
Expand Down
4 changes: 2 additions & 2 deletions config/exporter_example/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ connection_parameters:
collector: "evm" # This will load different collectors based on what mode exporter will run with Supported modes are: "evm", "solana", "conflux", "cardano", "bitcoin"
endpoints: # List of endpoints with their metadata.
- url: wss://example-rpc-1.com/ws # RPC Endpoint websocket endpoint (Must start with wss:// or https://)
provider: Provider1 # Provider (Must be present in allowed providers list. Please check src/settings.py line 24) The purpose is to make sure we do not have same providers spelled differently
provider: Provider1 # Provider (Must be present in allowed providers list. Please check src/settings.py line 24) The purpose is to make sure we do not have same providers spelled differently
- url: wss://example-rpc-2.com/ws
provider: Provider2
- url: wss://example-rpc-3.com/ws
Expand All @@ -25,4 +25,4 @@ endpoints: # List of endpoints with their metadata.



##
##
2 changes: 1 addition & 1 deletion config/grafana/provisioning/dashboards/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ providers:
editable: true
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards
path: /etc/grafana/provisioning/dashboards
2 changes: 1 addition & 1 deletion config/grafana/provisioning/dashboards/demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -778,4 +778,4 @@
"uid": "7ATCvsYnz",
"version": 13,
"weekStart": ""
}
}
2 changes: 1 addition & 1 deletion config/grafana/provisioning/datasources/datasources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ datasources:
url: http://prometheus:9090
basicAuth: false
isDefault: true
editable: true
editable: true
2 changes: 1 addition & 1 deletion config/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ scrape_configs:
- job_name: "exporter"
scrape_interval: 5s
static_configs:
- targets: ["exporter:8000"]
- targets: ["exporter:8000"]
Loading