Browse Source

tools: move all CI workflows and automation to separate repository (#542)

- https://github.com/nodiscc/awesome-sysadmin-data (will be transferred back awesome-foss when ready)
pull/543/head
nodiscc 11 months ago
committed by GitHub
parent
commit
369d24bd6e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      .github/workflows/ci.yml
  2. 1
      .gitignore
  3. 7
      .hecat/awesome-lint.yml
  4. 6
      .hecat/import.yml
  5. 12
      .hecat/url-check.yml
  6. 33
      Makefile
  7. 44
      markdown/footer.md
  8. 6
      markdown/header.md

19
.github/workflows/ci.yml

@ -1,19 +0,0 @@
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make import
- run: make awesome_lint
- run: make url_check

1
.gitignore

@ -0,0 +1 @@
/.venv/

7
.hecat/awesome-lint.yml

@ -1,7 +0,0 @@
steps:
- name: check data against awesome-sysadmin guidelines
module: processors/awesome_lint
module_options:
source_directory: ./
licenses_files:
- licenses.yml

6
.hecat/import.yml

@ -1,6 +0,0 @@
steps:
- name: import awesome-sysadmin README.md to YAML
module: importers/markdown_awesome
module_options:
source_file: ./README.md
output_directory: ./

12
.hecat/url-check.yml

@ -1,12 +0,0 @@
steps:
- name: check URLs
module: processors/url_check
module_options:
source_directories:
- software
- tags
source_files:
- licenses.yml
errors_are_fatal: True
exclude_regex:
- '^https://community.openvpn.net$' # DDoS protection page, always returns 403

33
Makefile

@ -1,33 +0,0 @@
SHELL := /bin/bash
.PHONY: install # install build tools in a virtualenv
install:
python3 -m venv .venv
source .venv/bin/activate && \
pip3 install wheel && \
pip3 install --force git+https://github.com/nodiscc/hecat.git@master
.PHONY: import # import data from original list at https://github.com/awesome-foss/awesome-sysadmin
import: install
rm -rf tags/ software/ platforms/
mkdir -p tags/ software/ platforms/
source .venv/bin/activate && \
hecat --config .hecat/import.yml
.PHONY: awesome_lint # check data against awesome-sysadmin guidelines
awesome_lint: install
source .venv/bin/activate && \
hecat --config .hecat/awesome-lint.yml
.PHONY: url_check # check URLs for dead links or other connection problems
url_check: install
source .venv/bin/activate && \
hecat --config .hecat/url-check.yml
.PHONY: clean # clean files generated by automated tasks
clean:
rm -rf .venv/ licenses.yml platforms/ software/ tags/
.PHONY: help # generate list of targets with descriptions
help:
@grep '^.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1 \2/' | expand -t20

44
markdown/footer.md

@ -0,0 +1,44 @@
--------------------
## External links
## Communities / Forums
- [ArsTechnica OpenForum](https://arstechnica.com/civis/) - IT Forum which is attached to a large news site.
- [Reddit](https://www.reddit.com) - Really, really large bulletin board system.
- [/r/Linux](https://www.reddit.com/r/linux) - News and information about Linux.
- [/r/LinuxQuestions](https://www.reddit.com/r/linuxquestions)
- [/r/SysAdmin](https://www.reddit.com/r/sysadmin/)
- [Spiceworks Community](https://community.spiceworks.com/start) - General enterprise IT news and small articles.
- [StackExchange Network](https://stackexchange.com/sites#technology) - Q&A communities.
- [Server Fault](https://serverfault.com/) - StackExchange community for system and network administrators.
## Repositories
*Software package repositories.*
- [AlternativeTo](https://alternativeto.net) - Find alternatives to software you know and discover new software.
- [deb.sury.org](https://deb.sury.org/) - Repository with LAMP updated packages for Debian and Ubuntu.
- [ElRepo](https://elrepo.org/tiki/tiki-index.php) - Community Repo for Enterprise Linux (RHEL, CentOS, etc).
- [EPEL](https://fedoraproject.org/wiki/EPEL) - Repository for RHEL and compatibles (CentOS, Scientific Linux).
- [IUS](https://ius.io/) - Community project that provides RPM packages for newer versions of select software for Enterprise Linux distributions.
- [Remi](http://rpms.famillecollet.com/) - Repository with LAMP updated packages for RHEL/Centos/Fedora.
- [Software Collections](https://www.softwarecollections.org) - Community Release of [Red Hat Software Collections](https://access.redhat.com/documentation/en/red-hat-software-collections/). Provides updated packages of Ruby, Python, etc. for CentOS/Scientific Linux 6.x.
## Websites
- [Cloud Native Software Landscape](https://landscape.cncf.io/card-mode?license=open-source&grouping=category) - Compilation of software and tools for cloud computing.
- [ArchWiki](https://wiki.archlinux.org/) - Arch Linux Wiki which has really nice written articles valid for other distros.
- [Gentoo Wiki](https://wiki.gentoo.org/) - Gentoo Linux Wiki with a lot in-detail description of Linux components.
- [Awesome SysAdmin @ LibHunt](https://sysadmin.libhunt.com) - Your go-to SysAdmin Toolbox. Based on the list here.
- [Ops School](https://www.opsschool.org) - Comprehensive program that will help you learn to be an operations engineer.
- [Digital Ocean Tutorials](https://www.digitalocean.com/community/tutorials) - 6,000+ tutorials for getting the basics of certain applications/tools/systems administration topics.
------------------
## License
![cc license](http://i.creativecommons.org/l/by-sa/4.0/88x31.png)
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International](http://creativecommons.org/licenses/by-sa/4.0/) license.

6
markdown/header.md

@ -0,0 +1,6 @@
# Awesome Sysadmin
[![](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
[![](https://github.com/awesome-foss/awesome-sysadmin/actions/workflows/ci.yml/badge.svg)](https://github.com/awesome-foss/awesome-sysadmin/issues/416)
**A curated list of amazingly awesome Free and Open-Source sysadmin resources.** Please read the [Pull Request template](./.github/PULL_REQUEST_TEMPLATE.md) if you wish to add software and consider [donating](https://github.com/n1trux/awesome-donations) to the FLOSS projects you use regularly. Please consider contributing to fix one of the pinned [issues](https://github.com/awesome-foss/awesome-sysadmin/issues) if your time allows.
Loading…
Cancel
Save