Compare commits
4 Commits
8
.github/workflows/push_master.yml
vendored
8
.github/workflows/push_master.yml
vendored
@@ -58,16 +58,16 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: src
|
||||
path: ./
|
||||
path: ./data/
|
||||
- name: Create zip
|
||||
uses: ihiroky/archive-action@v1
|
||||
with:
|
||||
root_dir: ./
|
||||
root_dir: ./data/
|
||||
file_path: ipsec_exporter_${{ needs.check.outputs.version }}.zip
|
||||
- name: Create tar.gz
|
||||
uses: ihiroky/archive-action@v1
|
||||
with:
|
||||
root_dir: ./
|
||||
root_dir: ./data/
|
||||
file_path: ipsec_exporter_${{ needs.check.outputs.version }}.tar.gz
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
with:
|
||||
tag_name: ${{ needs.check.outputs.version }}
|
||||
release_name: ${{ needs.check.outputs.version }}
|
||||
body_path: ./RELEASE.md
|
||||
body_path: ./data/RELEASE.md
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload zip archive
|
||||
|
||||
@@ -2,4 +2,4 @@ from src.app import App
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = App()
|
||||
app.main()
|
||||
app.main()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from argparse import *
|
||||
from src.prometheus_metrics_server import *
|
||||
from src.metrics_source import *
|
||||
from src.metric import *
|
||||
|
||||
class App:
|
||||
args: Namespace
|
||||
@@ -39,4 +40,4 @@ class App:
|
||||
server.add_metrics_source(custom_metrics_source)
|
||||
|
||||
server.run()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user