Compare commits

..

3 Commits

Author SHA1 Message Date
b8c62735a2 Added Commit Hash and Time to confpy
All checks were successful
gl/check check status: success (b8c62735a20c18ed5bee6b52c9dc9fbdf6af10fa)
gl/gate gate status: success (b8c62735a20c18ed5bee6b52c9dc9fbdf6af10fa)
2024-09-06 07:25:32 +00:00
0cc28b7d0b Removing OBS Swift API from the public documentation
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-committed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
2024-09-02 13:33:06 +00:00
406302b448 adding rfs metadata
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-08-08 10:59:33 +00:00
3 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,5 @@
---
environment: internal
hc_location: api_swift/obs
html_location: docs/obs/api-swift
link: /object-storage-service/swiftapi/

View File

@ -16,6 +16,8 @@
import os
import sys
from git import Repo
from datetime import datetime
extensions = [
'otcdocstheme',
@ -131,3 +133,8 @@ latex_documents = [
{% endif -%}
]
# Get the Git commit values
repo = Repo(search_parent_directories=True)
commit = repo.head.commit
current_commit_hash = commit.hexsha[:7]
current_commit_time = commit.committed_datetime.strftime('%Y-%m-%d %H:%M')

View File

@ -13,3 +13,4 @@ otc-sphinx-directives>=0.1.0
sphinx-minify>=0.0.1 # Apache-2.0
git+https://gitea.eco.tsi-dev.otc-service.com/infra/otc-metadata.git#egg=otc_metadata
setuptools
gitpython