Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

root = true

[*]
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

on:
push:
branches:
Expand All @@ -19,3 +23,12 @@ jobs:
- name: Verify encoding
shell: pwsh
run: Install-Module VerifyEncoding -Repository PSGallery -RequiredVersion 2.2.0 -Force && Test-Encoding

licenses:
runs-on: ubuntu-24.04
steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: REUSE license check
uses: fsfe/reuse-action@v5
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

# IntelliJ-based IDE stuff:
/.idea/
31 changes: 31 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--
SPDX-FileCopyrightText: 2025 Friedrich von Never <friedrich@fornever.me>

SPDX-License-Identifier: MIT
-->

Contributor Guide
=================

License Automation
------------------
<!-- REUSE-IgnoreStart -->
If the CI asks you to update the file licenses, follow one of these:
1. Update the headers manually (look at the existing files), something like this:
```
# SPDX-FileCopyrightText: %year% %your name% <%your contact info, e.g. email%>
#
# SPDX-License-Identifier: MIT
```
(accommodate to the file's comment style if required).
2. Alternately, use the [REUSE][reuse] tool:
```console
$ reuse annotate --license MIT --copyright '%your name% <%your contact info, e.g. email%>' %file names to annotate%
```

(Feel free to attribute the changes to "codingteam/devops contributors <https://github.com/codingteam/devops>"
instead of your name in a multi-author file,
or if you don't want your name to be mentioned in the project's source: this doesn't mean you'll lose the copyright.)
<!-- REUSE-IgnoreEnd -->

[reuse]: https://reuse.software/
18 changes: 18 additions & 0 deletions LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
MIT License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
22 changes: 0 additions & 22 deletions License.md

This file was deleted.

31 changes: 22 additions & 9 deletions Readme.md → README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
Codingteam operations
=====================
<!--
SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>

[![Schematic][schematic]][devops]
SPDX-License-Identifier: MIT
-->

🔧 Codingteam operations 🔧
=========================

This is a repository dedicated to Codingteam infrastructure maintenance.

Expand All @@ -22,15 +26,24 @@ Host specification
- [cthulhu-3][hosts/cthulhu-3]
- [omnissiah][hosts/omnissiah]

[hosts/ctor]: ctor/Host.md
[hosts/cthulhu-3]: cthulhu-3/Host.md
[hosts/omnissiah]: omnissiah/Host.md
[schematic]: docs/devops.png
Documentation
-------------
- [Contributor Guide][docs.contributing]

License
-------
The project is distributed under the terms of [the MIT license][docs.license].

The license indication in the project's sources is compliant with the [REUSE specification v3.3][reuse.spec].

[badge-xmpp.net]: https://xmpp.net/badge.php?domain=codingteam.org.ru
[codingteam.org.ru]: https://codingteam.org.ru
[devops]: https://ru.wikipedia.org/wiki/DevOps
[docs.license]: LICENSES/MIT.txt
[hosts/cthulhu-3]: cthulhu-3/Host.md
[hosts/ctor]: ctor/Host.md
[hosts/omnissiah]: omnissiah/Host.md
[issues]: https://github.com/codingteam/devops/issues
[loglist.xyz]: https://loglist.xyz
[reuse.spec]: https://reuse.software/spec-3.3/
[xmpp.net]: https://xmpp.net/result.php?domain=codingteam.org.ru&type=client

[badge-xmpp.net]: https://xmpp.net/badge.php?domain=codingteam.org.ru
6 changes: 6 additions & 0 deletions cthulhu-3/Host.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2017-2025 Friedrich von Never <friedrich@fornever.me>

SPDX-License-Identifier: MIT
-->

cthulhu-3
=========

Expand Down
6 changes: 6 additions & 0 deletions cthulhu-3/horta-hell/Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2017-2025 Friedrich von Never <friedrich@fornever.me>

SPDX-License-Identifier: MIT
-->

[horta-hell][]
==============

Expand Down
4 changes: 4 additions & 0 deletions cthulhu-3/horta-hell/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

version: '2'
services:
application:
Expand Down
4 changes: 4 additions & 0 deletions cthulhu-3/horta-hell/horta.properties.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

login=horta-hell
password=password
server=codingteam.org.ru
Expand Down
6 changes: 6 additions & 0 deletions ctor/Host.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>

SPDX-License-Identifier: MIT
-->

codingteam.org.ru
-----------------

Expand Down
4 changes: 4 additions & 0 deletions ctor/etc/loglist/loglist.sample.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

APPLY_EVOLUTIONS_SILENTLY=true
APPROVAL_EMAIL=loglist@example.com
APPROVAL_EMAIL_PASSWORD=example-mail-password
Expand Down
50 changes: 4 additions & 46 deletions ctor/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

user www-data;
worker_processes 4;
pid /run/nginx.pid;
Expand Down Expand Up @@ -40,56 +44,10 @@ http {
gzip on;
gzip_disable "msie6";

# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

##
# nginx-naxsi config
##
# Uncomment it if you installed nginx-naxsi
##

#include /etc/nginx/naxsi_core.rules;

##
# nginx-passenger config
##
# Uncomment it if you installed nginx-passenger
##

#passenger_root /usr;
#passenger_ruby /usr/bin/ruby;

##
# Virtual Host Configs
##

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}


#mail {
# # See sample authentication script at:
# # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
#
# # auth_http localhost/auth.php;
# # pop3_capabilities "TOP" "USER";
# # imap_capabilities "IMAP4rev1" "UIDPLUS";
#
# server {
# listen localhost:110;
# protocol pop3;
# proxy on;
# }
#
# server {
# listen localhost:143;
# protocol imap;
# proxy on;
# }
#}
4 changes: 4 additions & 0 deletions ctor/etc/nginx/sites-available/cad
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

server {
listen 80;
listen [::]:80;
Expand Down
4 changes: 4 additions & 0 deletions ctor/etc/nginx/sites-available/default
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 codingteam/devops contributors <https://github.com/codingteam/devops>
#
# SPDX-License-Identifier: MIT

server {
listen 443 ssl http2;
server_name codingteam.org.ru;
Expand Down
4 changes: 4 additions & 0 deletions ctor/etc/nginx/sites-available/loglist
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 codingteam/devops contributors <https://github.com/codingteam/devops>
#
# SPDX-License-Identifier: MIT

server {
listen 443 ssl http2;
server_name loglist.xyz;
Expand Down
4 changes: 4 additions & 0 deletions ctor/etc/nginx/sites-available/tales
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017-2025 codingteam/devops contributors <https://github.com/codingteam/devops>
#
# SPDX-License-Identifier: MIT

server {
listen 443 ssl http2;
server_name tales.codingteam.org.ru;
Expand Down
4 changes: 4 additions & 0 deletions ctor/etc/nginx/ssl.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017-2025 codingteam/devops contributors <https://github.com/codingteam/devops>
#
# SPDX-License-Identifier: MIT

ssl_certificate /etc/letsencrypt/live/codingteam.org.ru-0001/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/codingteam.org.ru-0001/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
Expand Down
4 changes: 4 additions & 0 deletions ctor/etc/systemd/system/cor-site.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

[Unit]
Description=codingteam.org.ru site
After=network.target
Expand Down
4 changes: 4 additions & 0 deletions ctor/etc/systemd/system/loglist.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2016-2025 Friedrich von Never <friedrich@fornever.me>
#
# SPDX-License-Identifier: MIT

[Unit]
Description=loglist.xyz site
After=network.target
Expand Down
Binary file removed docs/devops.png
Binary file not shown.
Loading