mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
container: Ignore flake8 error 'line too long' in bash script text
Also add container script to flake8 test in gitlab-ci. Signed-off-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
bd71f9667c
commit
12d02fecfb
@ -16,7 +16,7 @@ code-quality:
|
||||
stage: test
|
||||
needs: []
|
||||
script:
|
||||
- python3 -m flake8 --exclude actions/domainname-change,actions/dynamicdns,actions/hostname-change,actions/networks plinth actions/*
|
||||
- python3 -m flake8 --exclude actions/domainname-change,actions/dynamicdns,actions/hostname-change,actions/networks container plinth actions/*
|
||||
|
||||
unit-tests:
|
||||
stage: test
|
||||
|
||||
@ -177,7 +177,7 @@ sudo chmod --recursive --silent a+w htmlcov
|
||||
sudo chmod --silent a+w .coverage
|
||||
|
||||
exit 0
|
||||
'''
|
||||
''' # noqa
|
||||
|
||||
SETUP_AND_RUN_TESTS_SCRIPT = '''
|
||||
set -x
|
||||
@ -917,9 +917,8 @@ def _get_ssh_command(ip_address, distribution):
|
||||
return [
|
||||
'ssh', '-Y', '-C', '-t', '-i',
|
||||
str(public_key), '-o', 'LogLevel=error', '-o',
|
||||
'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null',
|
||||
'-o', 'IdentitiesOnly=yes',
|
||||
f'fbx@{ip_address}'
|
||||
'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o',
|
||||
'IdentitiesOnly=yes', f'fbx@{ip_address}'
|
||||
]
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user