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

added the variable in the heroku deployment env (app.json) and update… #259

Merged
merged 3 commits into from
Mar 22, 2021

Conversation

coderbec
Copy link
Contributor

…d the readme with a link to the docs on how to generate the session

Checklist

  • [ *] I've run bundle exec rspec from the root directory to see all new and existing tests pass
  • [ *] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
  • [ *] I've read the Contribution Guidelines
  • [* ] I've updated the documentation if necessary.

Motivation and Context

The "deploy to Heroku" button does not work if the iTunes connect account is configured for 2FA. This is because the FASTLANE_SESSION variable was not configured as an input variable for Heroku deployment, so it just fails. Existing solutions involve downloading the repo and "manually" deploying to Heroku, rendering the deploy to Heroku button useless.

#242

Description

Have added FASLTANE_SESSION and a description for this variable to app.json which is the file used to configure the heroku deploy. It's set as an optional variable.
Added this variable to the readme, on line 119 with a link to the docs that describes how to generate the session.

Testing Steps

I used this to deploy myself by opening up this link: https://www.heroku.com/deploy?template=https://github.com/coderbec/boarding/tree/2FA-enablement (this is what a deploy to Heroku button links to but configured for my fork)

…d the readme with a link to the docs on how to generate the session
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@coderbec
Copy link
Contributor Author

Have signed a CLA now

README.md Outdated Show resolved Hide resolved
app.json Outdated Show resolved Hide resolved
change per @janpio suggestion

Co-Authored-By: Jan Piotrowski <piotrowski+github@gmail.com>
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@janpio
Copy link
Member

janpio commented Dec 26, 2019

@googlebot I fixed it.

@janpio
Copy link
Member

janpio commented Dec 26, 2019

@googlebot does not seem convinced. Can you take a look @joshdholtz please?

@joshdholtz
Copy link
Member

@coderbec Can you respond with @googlebot I signed it! That is needed to fix the CLA label 🙃

@janpio Can you respond with @googlebot I consent. after that? That should also fix the label with your additional commits

@coderbec
Copy link
Contributor Author

@googlebot I signed it!

@coderbec
Copy link
Contributor Author

btw I don't think any of the invitations from itunes connect are sending for the last few days due to Christmas shutdown. Have just realised they're not coming through. Might need to test again in a couple of days.

@janpio
Copy link
Member

janpio commented Dec 27, 2019

Seems @googlebot don't care @joshdholtz - maybe also on vacation for the holidays.

@avishayil
Copy link

Hi @coderbec I was trying to use your branch on Heroku, notice that iTunes connect password is still required, so I was wondering what to put in there...

Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
Copy link
Member

@joshdholtz joshdholtz left a comment

Choose a reason for hiding this comment

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

Looks good to me! Sorry for the late approval but I appreciate the contribution ❤️

@joshdholtz joshdholtz merged commit 97384cc into fastlane:master Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants