Git Product home page Git Product logo

learn-maintenance's People

Contributors

bquan0 avatar gonuke avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bquan0 gonuke

learn-maintenance's Issues

Add an ignore file

Most repo have a .gitignore file that tells git to not even try to include certain files. You can find some standard ones for python, but in this case, we want to ignore things like build, __pycache__, */*.egg-info

Build a docker image to use for testing in Github Actions

You have successfully made a dockerfile that generates a docker image that can be used locally for testing.

This step is to make a dockerfile that generates a docker image that installs all the dependencies and stops short of actually running the tests. Then you push this docker image to the Github Container Registry and then use that docker image, instead of ubuntu-latest to run your tests, and no longer need to install numpy, pytest, coverage.

  1. write a new Dockerfile
  2. write a new action that will build and push this docker image when the Dockerfile changes
  3. change existing action to use the new docker image

Resolve inconsistencies and errors in build image workflow

The REGISTRY and IMAGE_NAME are defined in the environment, but used inconsistently or not used where appropriate. Specifically, the tag of the docker image that is build/pushed should derive from these.

Currently the push of the image fails in this merged upstream version because the image is tagged with github.actor instead of github.repository (I think). We won't be able to test that without another merge.

Test ability for cache and image repository to work together

We know how to use the github actions cache to make an existing docker image available to streamline the building of a docker image with similar instructions.

We know how to pull an image from the image repository on a local machine to streamline the building of a docker image with similar instructions.

Can we pull an image from the image repository into a github actions cache to streamline things?

How to test:

  1. a small dockerfile with at least 3 stages
  2. a github action that build and pushes the docker images using three different jobs, one for each stage, and relying on the cache

Goal: github action doesn't repeat docker work for steps that have not changed.

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.