Giter VIP home page Giter VIP logo

schrodinger's Introduction

schrodinger's People

Contributors

dependabot[bot] avatar grahamleslie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dorucioclea

schrodinger's Issues

Use Dockerfile LABEL instead of comments for schrodinger configuration

Is your feature request related to a problem? Please describe.
Instead of using comments, we should use LABEL for run_args, etc.

Describe the solution you'd like
https://docs.docker.com/engine/reference/builder/#label

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Log Docker commands as multi-line commands for readability

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Docker commands should be run multi
line
so that they are more readable. Lines are way too long when secrets are injected.

Describe alternatives you've considered
N/A

Additional context
N/A

Add an option to push an image as the final Pipeline step

Is your feature request related to a problem? Please describe.
Add an option to push an image as the final Pipeline step.

Describe the solution you'd like

  • Add necessary options to PipelineConfiguration for pushing as the final step.
  • Update RunPipelineJob to support pushing the image as the final step.
  • Reject any Pipelines that try to push and run an image; it's probably a mistake.

Backup sqlite database in Dockerfile

In the Dockerfile, make a copy of the sqlite database as a backup before migrations.

Retain some sensible number of copies.

Note this in the docs.

Add customizable timeout seconds to either Dockerfile environment variable or per Pipeline

Is your feature request related to a problem? Please describe.
Each Pipeline command run has a default timeout of 600s.

Describe the solution you'd like
This should be customizable.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Refresh the page after scanning pipelines

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
Typically some 5-7 seconds after re-scanning, a build will kick-off. We should automatically refresh the page after that typical amount of time to show the newly kicked off build.

Describe alternatives you've considered

Additional context

Add name to Docker containers

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Add name to containers when run

Describe alternatives you've considered
N/A

Additional context
N/A

Customize the final step of a pipeline to run or push the built image

Is your feature request related to a problem? Please describe.
Schrodinger is currently limited to running the built image as the final step of a Pipeline run. It would be nice Pipelines could be customized to let the final step be to run the image, or to push it to an image registry.

Describe the solution you'd like
Use can configure a Pipeline to, as the final step, either:

  • Run the built image.
  • Push the built image to an image registry.

It would be neat if we could encapsulate this configuration in the Dockerfile.schrodinger, so it's checked in to source control. One method that came to mind would be to use a comment block at the top of the file, like a Jekyll post, which has the configuration options. This would keep us from needing to add another configuration file and would be backwards compatible.

Alternatively, we could get rid of the Dockerfile.schrodinger and instead use a yml configuration file which contains the Docker instructions, sort of like Drone CI, but I'm less optimistic about that route. I like the syntax highlighting in the Dockerfile.schrodinger.

Describe alternatives you've considered
N/A

Additional context
N/A

Add some tests

Add tests.

Configure PRs to run rspec tests before allowing merge.

Add a "global" domain

If the domain value for a secret is global, then inject it in to all Pipelines.

Show some documentation about this on the Create Secret view, and in the README.

When replacing an existing container, keep the previous container and append -old

Is your feature request related to a problem? Please describe.
After a bad deploy, a full deploy will need to be repeated to replace the container.

This is a simple stop-gap to at least allow restarting a previously working container and could lay some groundwork for supporting a really simple health check-based rollback next.

Describe the solution you'd like
When replacing an existing container:

  • If a container exists with the name NAME-old, rm it.
  • If a container exists with the name NAME, rename it to NAME-old.
  • Run the new container as NAME.

Describe alternatives you've considered
N/A

Additional context
N/A

Improve data refreshing

Is your feature request related to a problem? Please describe.
We automatically refresh the build log while a build is in progress, but that’s the only view. We also don’t see build output until that entire command is done.

Describe the solution you'd like

  • Poll Docker logs rather than outputting once when build is done and once when run is done.
  • Refresh Pipeline index and show to see build updates.

Describe alternatives you've considered
N/A

Additional context
N/A

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.