-
Notifications
You must be signed in to change notification settings - Fork 6
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 Automatic Travis-CI PyPi Deployment #35
Comments
Per travis-ci/dpl#377 it appears that special characters may cause the automatic build to fail. Let's test this. |
Hmm it's right there on https://docs.travis-ci.com/user/deployment/pypi/: |
Closer but still failed:
|
Man I am stuck. I can't figure this out even with the help of:
Tried to add the Current
Any idea @avelis? |
@kb1lqc This is likely a TravisCI config yaml issue. I suggest you contact their support via email and link your travis.yml file. Without seeing any error output it's hard to tell. If I had to guess, try lower casing |
Thanks @avelis I have contacted Travis-CI support via email. I appreciate the help! |
Received a response from Travis-CI. Here is the excerpt that matters:
Let's give this a shot. |
Checked out |
Created a brand new virtual environment and installed the |
Performed
|
Signed into Travis CI with my GitHub account via command line using Two-Factor Authentication (2FA) because everyone should!
|
I'm already in the
|
I followed the Travis CI support instructions exactly except I added the
It appears that the Travis CI support instructions may have forgot to include password= when encrypting? |
OK trying exactly as told:
OK after adding the
|
Trying again with
The resulting
This resulted in https://travis-ci.org/FaradayRF/faradayio/builds/341302134 which failed to deploy
|
I just changed my password to a similar but different password. For reference, here is the password that I have been using to prove it contains no special characters per travis-ci/dpl#327
So far no luck 😦 |
So this might sound dumb, but could it have something to do with the indentations? I've run into issues where indentations in |
That's actually not a crazy idea haha 😉
…---- On Wed, 14 Feb 2018 05:23:02 -0800 [email protected] wrote ----
So this might sound dumb, but could it have something to do with the indentations? I've run into issues where indentations in yml completely crash a program/process.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@kb1lqc Not to ask a naive question but should the secure setting sit outside the deploy area in the config? Is that what TravisCI suggested to do? |
Good point!
-----Original Message-----
From: Andrew Velis <[email protected]>
Reply-to: FaradayRF/faradayio <reply+00050f14ce78b7cf29574bd4738f504501
851d7676884b8392cf00000001169c3ace92a169ce117dc0f8@reply.github.com>
To: FaradayRF/faradayio <[email protected]>
Cc: Bryce Salmi <[email protected]>, Mention <[email protected].
com>
Subject: Re: [FaradayRF/faradayio] Fix Automatic Travis-CI PyPi
Deployment (#35)
Date: Wed, 14 Feb 2018 17:58:40 +0000 (UTC)
@kb1lqc Not to ask a naive question but should the secure setting sit
outside the deploy area in the config? Is that what TravisCI suggested
to do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@avelis @lqdev I attempted a few iterations of indents, I also ensured the Last I attempted to use the following
Note the section of the #Usage text
https://travis-ci.org/FaradayRF/faradayio/builds/341770932 This build is not working, it failed with:
I'm pretty darn stuck on this... travis-ci/dpl#377 and travis-ci/dpl#327 do not appear to be relevant here since my password contains only letters and numbers (lowercase, uppercase, numerical)... |
@kb1lqc (Dominic from Travis CI Support Team here) Sorry for the confusion. In the recipe I sent you, I forgot to mention that the generated encrypted variable should be copy/pasted under deploy:
on:
branch: develop
provider: pypi
user: KB1LQC
password:
secure: q7xbp1N2... You can have more details in our PyPI deployment documentation. Please let me know if this helps! |
Removed from the https://github.com/FaradayRF/faradayio/milestone/2 milestone since this is a persistent issue and should not hold back the next version of |
Ahh that master repo reference might be key here in |
* Per FaradayRF#35 this is a tricky issue. I am removing the deploy code so we can move forward with proper builds in `master` once version `0.0.2` in released.
Per https://travis-ci.org/kb1lqc/faradayio/builds/346682269 this is now building without deploying. When merged with I'm going to figure this out later. I need to move on for the time being. I think @lqdev and @b-schubert were onto something. Likely the Travis encrypt from a non-forked repo as my password is completely alphanumeric. |
Per https://travis-ci.org/FaradayRF/faradayio/builds/336006288 the automatic Travis-CI pypi deployment is not working.
The text was updated successfully, but these errors were encountered: