question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updating Continuous Deployment

See original GitHub issue

Both are taken from beartype\.github\workflows\pythonrelease.yml

on:
  push:
    #FIXME: Uncomment after determining why this induces critical failures on
    #"git push --tags" attempts with remote error messages resembling:
    #    error: dst refspec refs/heads/master matches more than one
    #    error: failed to push some refs to 'git@github.com:beartype/beartype.git'
    #See also: https://github.com/actions/create-release/issues/13
    # branches: [ master ]

    # Sequence of glob expressions matched against "refs/tags" pushed to the
    # branches above.
    tags:
      - 'v*'   # Match "v"-prefixed tags (e.g., "v6.9.6").
      #FIXME: Enable after integrating this "pypi" job into the "release" job
      #above. In theory, this should be trivial. Let's test this later, eh?
      # - name: "Publishing GitHub release assets from tag..."
      #   uses: actions/upload-release-asset@v1.0.1
      #   env:
      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      #   with:
      #     upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, 
                                                                       # referencing it's ID to get its outputs object, 
                                                                       # which include an `upload_url`. 
                                                                       # See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
      #     asset_path: "dist/beartype-${{ github.ref }}.zip"
      #     asset_name: "beartype-${{ github.ref }}.zip"
      #     asset_content_type: application/zip

An update from the repository of the referenced issue notes it is no longer actively maintained and “In the last year or two since we originally published this, a large number of really good community Actions have appeared on the Marketplace for doing this.”

Thus, resolution of creating a release via Github actions will almost certainly require researching alternative solutions on the Github Marketplace.

Additional Links: Windows Package Manager (Chocolatey) PyPi Deployment Github Deployments Semaphore

See also #20 covering improvements to CI

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
leyceccommented, Mar 4, 2021

I’d intended to delay this migration until after publishing our next stable release, because I am intrinsically lazy. But the author of create-release effectively just archived that repository, which inspires justifiable fear rather than unshakeable confidence.

We’re immediately migrating to @ncipollo’s release-action, which appears to be the sanest, most configurable, and best maintained release action. Thanks, @ncipollo! Have all our grateful repository stars. 🌟

0reactions
leyceccommented, Mar 4, 2021

Resolved by 3dd551e. Thanks for all the quality assurance, @Heliotrop3! You keep us honest, even when we’d rather not be. 🥰

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Continuous Delivery? – Amazon Web Services
Continuous delivery is a software development practice where code changes are automatically prepared for a release to production.
Read more >
Continuous Deployment-as-a-Service, Continuous Update
Solution: When deploying CD-as-a-Service now looks at the amount of resources HPA has scaled for your application and makes sure that both the ......
Read more >
Continuous integration vs. delivery vs. deployment - Atlassian
Continuous delivery is an extension of continuous integration since it automatically deploys all code changes to a testing and/or production environment after ...
Read more >
5 Reasons Why You Should Continuously Update Your Product
So the first shift in mindset required for continuous deployment is this: if a change is supposedly “side effect free,” release it immediately....
Read more >
Continuous Deployment: Only for Unicorns? - Codefresh
Continuous deployment (CD) is a software release method that automates the entire process from code commit through to testing and deployment. Once a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found