View Github Actions Memo List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Project management: | |
- Auto-Create Issues: https://docs.github.com/en/actions/managing-issues-and-pull-requests/scheduling-issue-creation |
View Docker commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm --volume "$(pwd):$(pwd)" --workdir "$(pwd)" chef/inspec:latest init profile "THE_PROFILE_NAME" --chef-license=accept |
View shdoc: file #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# @file start.sh | |
# @brief Start containers that are common to all nodes. | |
# | |
# @description The script starts all containers that are common to every node (RasPi and x86). All these containers | |
# satisfy monitoring, logging and management purposes and are defined using docker compose. | |
# | |
# | What | User/Pass | Port | Protocol | | |
# | ------------- | ----------- | ---- | -------- | | |
# | node-exporter | - | 9100 | http | |
View Bash: Case for var-values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case $HOSTNAME in | |
("kobol") echo -e "$LOG_INFO Do some stuff on the machine with name kobol";; | |
(*) echo -e "$LOG_ERROR NOT THE EXPECTED MACHINE (* = any other) !!!" && echo && exit;; | |
esac |
View Asciidoc: Embedded Diagram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[plantuml, puml-build-image, svg] | |
---- | |
@startuml | |
skinparam linetype ortho | |
skinparam monochrome false | |
skinparam componentStyle uml2 | |
skinparam backgroundColor #fff | |
skinparam ArrowColor black | |
skinparam NoteBorderColor Grey |