Skip to content

Commit

Permalink
python3 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien3d committed Oct 2, 2024
1 parent 47bf421 commit 46d53d1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/docker_builder_kraken_debian11.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# name: Build Navitia Dockers
name: Build Navitia Dockers with Debian 11

# on:
# pull_request:
# push:
# branches:
# - dev
# tags:
# - '*'
on:
push:
branches:
- dev
tags:
- '*'
jobs:
common_variables:
name: Common variables
runs-on: [self-hosted, kraken, sandbox]
outputs:
RELEASE_TAG: ${{ steps.choose_navitia_tag.outputs.navitia_tag }}
steps:
- name: force chown to avoid errors
run: sudo chown -R $USER:$USER .

# jobs:
# common_variables:
# name: Common variables
# runs-on: [self-hosted, kraken, sandbox]
# outputs:
# RELEASE_TAG: ${{ steps.choose_navitia_tag.outputs.navitia_tag }}
# steps:
# - name: force chown to avoid errors
# run: sudo chown -R $USER:$USER .

# - name: Generate github private access token
# id: ci-core-app-token
Expand Down
3 changes: 1 addition & 2 deletions source/monitor/monitor_kraken/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@
from monitor_kraken import response_pb2
from monitor_kraken import type_pb2

# TODO : need to clean that after full migration to python3
try:
import ConfigParser
except:
except ImportError:
import configparser as ConfigParser # type: ignore

app = Flask(__name__)
Expand Down

0 comments on commit 46d53d1

Please sign in to comment.