diff --git a/.github/workflows/docker_image_for_main_builds.yml b/.github/workflows/docker_image_for_main_builds.yml index 6ae26c6f4..798cb7af4 100644 --- a/.github/workflows/docker_image_for_main_builds.yml +++ b/.github/workflows/docker_image_for_main_builds.yml @@ -65,6 +65,7 @@ jobs: type=ref,event=branch,suffix=-${{ steps.date.outputs.date }} - name: Write app verison info + working-directory: spiffworkflow-frontend run: | touch app_version.json echo '${{ steps.meta.outputs.labels }}' > app_version.json @@ -77,7 +78,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - run: echo 'TAGS' >> "$GITHUB_STEP_SUMMARY" - - run: for tag in ${{ steps.meta.outputs.tags }}; do echo "* $tag"; done >> "$GITHUB_STEP_SUMMARY" + - run: echo 'TAGS ${{ steps.meta.outputs.tags }}' >> "$GITHUB_STEP_SUMMARY" create_backend_docker_image: runs-on: ubuntu-latest @@ -110,6 +111,7 @@ jobs: type=ref,event=branch,suffix=-${{ steps.date.outputs.date }} - name: Write app verison info + working-directory: spiffworkflow-backend run: | touch app_version.json echo '${{ steps.meta.outputs.labels }}' > app_version.json diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py b/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py index 06285eb5c..99226ad2c 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py @@ -187,9 +187,6 @@ def create_app() -> flask.app.Flask: def _setup_prometheus_metrics(app: flask.app.Flask, connexion_app: connexion.apps.flask_app.FlaskApp) -> None: metrics = ConnexionPrometheusMetrics(connexion_app) - info = metrics.info('dynamic_info', 'Something dynamic') - info.set(42.1) - app.config["PROMETHEUS_METRICS"] = metrics app_version_data = {} if os.path.isfile("app_version.json"):