mirror of
https://github.com/PAPAMICA/docker-compose-collection.git
synced 2026-01-18 16:27:25 +01:00
add many services to do
This commit is contained in:
3
.github/workflows/Readme-template.md
vendored
3
.github/workflows/Readme-template.md
vendored
@@ -29,6 +29,9 @@ https://github.com/PAPAMICA/docker-environment
|
||||
| Status | Service | Update | Maintainer |
|
||||
##SERVICES##
|
||||
|
||||
## List of services to do:
|
||||
| Status | Service |
|
||||
##SERVICES_TODO##
|
||||
---
|
||||
# Utilisation
|
||||
## Portainer
|
||||
|
||||
5
.github/workflows/generate-template-json.py
vendored
5
.github/workflows/generate-template-json.py
vendored
@@ -8,6 +8,7 @@ from textwrap import indent
|
||||
|
||||
GITHUB_REPOSITORY_URL = 'https://github.com/PAPAMICA/docker-compose-collection'
|
||||
SERVICES="|:--:|--|--|--|"
|
||||
SERVICES_TODO="|:--:|--|"
|
||||
try:
|
||||
os.remove("./templates-portainer.json")
|
||||
except:
|
||||
@@ -26,6 +27,7 @@ for filename in sorted(glob.glob("composes-files/*.y*ml")):
|
||||
categories = []
|
||||
file_name=filename.split('/')
|
||||
file_name=file_name[1]
|
||||
file_name=file_name[:-3]
|
||||
file = open(filename)
|
||||
for line in file.readlines():
|
||||
if re.search('#&', line):
|
||||
@@ -71,7 +73,7 @@ for filename in sorted(glob.glob("composes-files/*.y*ml")):
|
||||
|
||||
else:
|
||||
print (f" 🚸 {filename} not updated !")
|
||||
SERVICES=SERVICES + f"\n| 🚸 | {file_name} | - | - |"
|
||||
SERVICES_TODO=SERVICES_TODO + f"\n| 🚸 | {file_name} |"
|
||||
except:
|
||||
print (f" ❌ {filename} error !")
|
||||
|
||||
@@ -90,6 +92,7 @@ try:
|
||||
readme_result = open("README.md", "wt")
|
||||
for line in readme_template:
|
||||
readme_result.write(line.replace('##SERVICES##', SERVICES))
|
||||
readme_result.write(line.replace('##SERVICES_TODO##', SERVICES_TODO))
|
||||
readme_template.close()
|
||||
readme_result.close()
|
||||
print ("\n ✅ README.md generated !")
|
||||
|
||||
Reference in New Issue
Block a user