Giter VIP home page Giter VIP logo

devops's Introduction

coala/devops

This repository contains docker compose setups that solar uses to run its servers or services.

More information about solar.coala.io and other stuff are available inside the wiki

devops's People

Contributors

adhikasp avatar adi23arora avatar adtac avatar andrewda avatar ankitxjoshi avatar asnelchristian avatar hemangsk avatar ishansrt avatar jayvdb avatar ksdme avatar li-boxuan avatar makman2 avatar meetmangukiya avatar nemani avatar niklasmm avatar nkprince007 avatar nosferatul avatar nvzard avatar palash25 avatar rj722 avatar rohanvb avatar saksham189 avatar sangamcse avatar satwikkansal avatar sils avatar soumya-ranjan7 avatar techievena avatar udayan12167 avatar yukiisbored avatar yzgyyang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devops's Issues

Add ISSUE_TEMPLATE.md

Add a file named ISSUE_TEMPLATE.md which includes general information and guidelines for issue reporter, you can see ISSUE_TEMPLATE.md of coala repository for reference.
label: initiatives/gci
Opened by @Monal5031 at gitter//Monal5031

Create a dynamic page for coala shortlinks

Currently, the "page" for the list of short links is the coala.io configuration file. It would be pretty neat to have a better looking page for this. The main problem for creating something like this is over-complicating it (like for example, using PHP to generate it would result having a full PHP fpm setup).

Abandon mailman

Mailman is an attempt to get proper mailing lists in coala. Due to inexperience in handling mailman, it's better to abandon it and use services like Google Groups until an actual reason for the need of our own mailing list or someone who's experienced in handling mailman can help us maintain it.

Integrate rultor for deployment

I'm personally lazy have to pull changes and restart containers manually. This is a nice addition to make the work a bit more efficient.

Create an improved web page for solar.coala.io

Currently the web page for solar.coala.io is a plain old html file. It'll be nice to have the same styles as the new website. I'm thinking about having it as a portal for the various services we provide.

Add coala and CI

coala is needed to test if the config files are using the proper guidelines and CI is needed to enforce coala.

Abandon cobot

corobo is deprecating cobot. It should be abandon especially due to it's CPU utilization habits and excessive use of memory.

Of course, this will be done when corobo is mature. Right now, corobo still have some bugs that needs to be fixed.

Abandon Mumble

The mumble server is hardly used and I think it's better to abadon it.

Make sure none of the containers are running as root

Running as root inside a container is as bad as running root on host. Since containers on Linux isn't as fully isolated as Jails on FreeBSD. It's honestly a really good idea to make sure none of these are running as root.

Fix venus cronjob

Venus cronjob is broken, most likely due to it not having an executable flag.

Short-URL for cEPs broken

right now the only shortURL that works
is this one ---> coala.io/cep5

all the othere; i.e. coala.io/cep#

where # is 0 to 4 or 6 are re-directed to cEP-0000

From coala/cEPs#65

Venus: Add proper emoji support with twemoji

Some of our GSoC students uses Emojis on their blog posts, it'll be a good idea to have good emoji support with twemoji.

What do you mean by emoji support?

Not a lot of browsers/operating system can show emoji properly and they end up being tofu or black and white emoji if you have good fonts like Noto.

make cobot join private chat with all coala members

@yukiisbored here is the script that you'd have to run.
It will need:

  • cobot gitter token
  • cobot github token

You can just join one user by using it like this python3 join_coalaians.py --user <username>

I'd prefer that you make SEND_MESSAGE True which will send a message to all the people with whom cobot will join rooms that cobot is accessible on private chats from now on...
NOTE 1: ^^ If you run the script again, then it'll send the message again to that person, so if possible allow script to run completely, on all members.

NOTE 2: Please have a look at the logs once and join rooms with users that were not able to join with python3 join_coalaians.py --user <username>

NOTE 3: Please restart cobot after running this script

Thanks! cobot is accessible on Private chats as well, now! ๐ŸŽ‰

Opened via gitter by @meetmangukiya

Setup Monitoring

It'll be nice to have monitoring on the server level instead of external http checks like status.coala.io.
The reason for this is to see the status of the container, cpu and ram usage, etc.

Possible choices:

  • Grafana-Prometheus
  • Elastic-Kibana-Logstash
  • Graylog

Freeze image tags

The images used should be frozen on a version, not directly use latest. This makes it reproducible and won't have a bug due to "a new update changed the function of X"

Deploy answers microservice

  1. Review and merge #69
  2. Update the secrets file to add new environment var ANSWER_END=http://0.0.0.0:8000
  3. Update the compose file on the server

Add Health checking

Healthcheck is a new-ish feature in Docker to check the actual status of the services/daemons of the container. Healthcheck can be implemented by having a "check command" like using curl to see if it returns 200 or not. It's preferable (for now) to add healthcheck on the compose file rather than the dockerfile.

Push the changes made to landing Docker image

Due to a pretty critical security issue, the landing image is modified with a Dockerfile. We should update the upstream image to prevent the "vendor" image from lagging behind it's development.

Write wiki pages for relevant information

The Wiki page should provide relevant information about the server, the config files, etc.

It should contain:

  • The purpose of this repository
  • Technical specifications for solar.coala.io
  • Configuration style guidelines
  • Information about the services

Add PULL_REQUEST_TEMPLATE.md

Add a file named PULL_REQUEST_TEMPLATE.md which includes general information and guidelines for the author of Pull Request, you can see PULL_REQUEST_TEMPLATE.md of coala repository for reference.
label: initiatives/gci
Opened by @Monal5031 at gitter//Monal5031

Don't use volumes for configurations

Using volumes for configurations can be pretty bad. One of the problems is handling of permissions / ownership for the files, we want the containers to be properly contained and the files to be properly have the permissions/ownership it needs. Another reason for this is to have reproducible containers rather than having something that may change in the future uncontrollably.

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.