Code Monkey home page Code Monkey logo

Comments (7)

dhimmel avatar dhimmel commented on May 20, 2024

As @gwaygenomics and I just saw, it also seems to be easy for $git_publish_key to leak into the CI log.

This means you would have to redact logs before sharing.

from continuous_analysis.

brettbj avatar brettbj commented on May 20, 2024

Agree. It should be noted that github does deactivate any keys accidentally pushed to a repository but any other way of distributing could result in the key leaking into the log.

I think Drone 0.5 offers the best solution, pushing back to github is a supported workflow. You can also mount local drives. I am working on updating the docs for this but a nice example can be seen at - https://github.com/COMBINE-lab/continuous_analysis_rnaseq

from continuous_analysis.

dhimmel avatar dhimmel commented on May 20, 2024

Cool, so COMBINE-lab/continuous_analysis_rnaseq looks like it uses the Drone git-push plugin that uses SSH keys.

How does the GIT_PUSH_SSH_KEY get set? That wasn't entirely clear to me from the COMBINE-lab/continuous_analysis_rnaseq repo.

from continuous_analysis.

dhimmel avatar dhimmel commented on May 20, 2024

Are you going to update .travis.yml to use deploy keys? I'd be happy to submit a PR.

from continuous_analysis.

brettbj avatar brettbj commented on May 20, 2024

@dhimmel if you want to submit a PR that'd be great

@rob-p would be best to answer the COMBINE-lab example

from continuous_analysis.

rob-p avatar rob-p commented on May 20, 2024

@dhimmel --- The variant of the pipeline I built uses Drone's git_push plugin to push the results. Drone has a notion of "secrets". There is a secret "store" that is managed by the drone command line interface. You simply add the GIT_PUSH_SSH_KEY to the store and then sign your .drone.yml file to propagate the key. You can see an example here.

from continuous_analysis.

brettbj avatar brettbj commented on May 20, 2024

Closed because I think Rob answered the question, and it’s now almost 5 months old so just cleaning. If you want to make a pull request to demonstrate that’d be great but I was afraid it’d be too complicated for the average user (and github does a good job of reducing risk by inactivating any leaky keys)

from continuous_analysis.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.