Comments (7)
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.
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.
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.
Are you going to update .travis.yml
to use deploy keys? I'd be happy to submit a PR.
from continuous_analysis.
@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.
@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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from continuous_analysis.