Giter Site home page Giter Site logo

ansible-switches-auto-deploy's People

Contributors

hakasapl avatar tssala23 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tssala23 larsks

ansible-switches-auto-deploy's Issues

Restructure repository

It would be nice to restructure this repository to have a more conventional project layout. That might look something like:

.
├── Containerfile
├── README.md
├── requirements.txt
├── slack_notifier
│   ├── __init__.py
│   ├── github.py
│   ├── notifier.py
│   └── slack.py
├── test-requirements.txt
└── tests
    ├── test_github.py
    ├── test_notifier.py
    └── test_slack.py

Along with the reorganization we should add a pyproject.toml so that the project can be installed using pip install.

Add github workflow to build and publish container image

We will ultimately be deploying this project in OpenShift, which means we'll need a source for an appropriate container image.

Add a GitHub workflow to the project that will build and publish a new container image whenever a commit merges to the main branch. Consider also adopting a versioning strategy (e.g., semantic versioning) and tagging images appropriately when there is a new release.

Once this workflow is in place we can reference the published image in the kubernetes manifests.

Add github workflow to perform basic linting

"Linting" is the process of analyzing code for syntax errors, formatting issues, and other minor problems. We should add a github workflow that will perform these simple tests for any pull requests.

We typically use pre-commit to manage this sort of process. A typical configuration would include something like flake8 for linting and black for formatting, although recently there has been a lot of excitement around ruff, which can do both.

As part of implementing this feature, you will want to arrange to run these tools automatically in your local repository before creating a pull request (ideally, before every commit); this helps avoid a variety of problems.

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.