bcgov/mines-digital-trust

View on GitHub
Merge pull request #78 from bcgov/gh-pages #249
Lucas O'Neil authored 3 years agob9dbd349
complete00:00:11
Your first build completed successfully!
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2025-03-22T17:43:00.641874 #1]  INFO -- : Skipping file ./services/ghg-orgbook-issuer-controller/app/config.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 35
    def load_resource(path: str) -> TextIO:
                          ^
SyntaxError: invalid syntax


I, [2025-03-22T17:43:00.717387 #1]  INFO -- : Skipping file ./services/ghg-issuer-tools/issue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 61
    print(f"Issuing {len(data)} credentials to '{_url}'")
                                                       ^
SyntaxError: invalid syntax


I, [2025-03-22T17:43:00.729351 #1]  INFO -- : Skipping file ./services/ghg-issuer-tools/parse.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 78
    print(f'CSV File \'{csv_file}\' not found. Exiting.')
                                                       ^
SyntaxError: invalid syntax


I, [2025-03-22T17:43:00.814388 #1]  INFO -- : Skipping file ./services/mp-orgbook-issuer-controller/app/config.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 35
    def load_resource(path: str) -> TextIO:
                          ^
SyntaxError: invalid syntax


I, [2025-03-22T17:43:00.888279 #1]  INFO -- : Skipping file ./ansible/config_extractor.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 66
    with open(f'{DEST_PATH}{config_name}.j2', 'w') as fh:
                                           ^
SyntaxError: invalid syntax

Congratulations

Your first build completed successfully!

See the Results