Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: import common deploy package with absolute path #235

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

kenclary
Copy link
Contributor

fix: import common deploy package with absolute path

another follow-on attempt to fix the gocd pipeline error that does not occur locally.

@@ -4,7 +4,7 @@

import argparse
import logging
from .common.deploy import deploy
from aws.common.deploy import deploy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked at the pipeline output. The command run starts like /bin/bash -c "PYTHONPATH=python-libs python3 scripts/aws/deploy.py -. I'm pretty sure this means that the correct statement here would be from scripts.aws.common.deploy import deploy. Try that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scripts.aws like that doesn't pass pylint.

@@ -4,7 +4,7 @@

import argparse
import logging
from .common.deploy import deploy
from aws.common.deploy import deploy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my comment above - from scripts.aws.common.deploy import deploy

@kenclary kenclary merged commit 9c00fba into master Sep 29, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants