parent
d76609d6d1
commit
f8d64ca36e
|
@ -1,7 +1,7 @@
|
|||
####################
|
||||
# - Stage: SSG
|
||||
####################
|
||||
FROM git.sofus.io/so-rose/docker-mdbook:0.4.34 AS base
|
||||
FROM git.sofus.io/python-support/docker-mdbook:0.1.0 AS base
|
||||
COPY . /src
|
||||
|
||||
RUN mdbook build /src --dest-dir /dist
|
||||
|
|
|
@ -14,7 +14,7 @@ You'll need to have the following commands available:
|
|||
|
||||
Once that's set, go ahead and grab (`clone`, in `git` terms) this repo:
|
||||
```bash
|
||||
git clone https://git.sofus.io/so-rose/site-support.git
|
||||
git clone https://git.sofus.io/python-support/site-support.git
|
||||
cd site-support
|
||||
```
|
||||
|
||||
|
@ -100,7 +100,7 @@ git commit -m "feat: New page!"
|
|||
```
|
||||
That's it! Give it a `git push`.
|
||||
|
||||
All that's left is to start a [Pull Request](https://git.sofus.io/so-rose/site-support/pulls), and wait for someone on the team to examine your contribution.
|
||||
All that's left is to start a [Pull Request](https://git.sofus.io/python-support/site-support/pulls), and wait for someone on the team to examine your contribution.
|
||||
|
||||
When several people collaborate, the workflow might end up looking something like this:
|
||||
```mermaid
|
||||
|
@ -125,4 +125,4 @@ gitGraph
|
|||
|
||||
# Conclusion
|
||||
You should have everything you need to get started.
|
||||
If anything is still confusing, don't hesitate to report an [Issue](https://git.sofus.io/so-rose/site-support/issues)!
|
||||
If anything is still confusing, don't hesitate to report an [Issue](https://git.sofus.io/python-support/site-support/issues)!
|
||||
|
|
14
run.py
14
run.py
|
@ -40,10 +40,10 @@ CMD_DEPENDENCIES = [
|
|||
]
|
||||
|
||||
IMAGE_NAME = "site-support"
|
||||
IMAGE_VERSION = ("0", "1", "0")
|
||||
IMAGE_VERSION = ("0", "1", "1")
|
||||
|
||||
REGISTRY_HOST = "git.sofus.io"
|
||||
REGISTRY_USER = "so-rose"
|
||||
REGISTRY_USER = "python-support"
|
||||
REGISTRY_PASSWORD = lambda: subprocess.check_output(
|
||||
['pass', 'services/home/git.sofus.io/container-registry-token']
|
||||
).decode('ascii').strip()
|
||||
|
@ -52,18 +52,12 @@ REGISTRY_PASSWORD = lambda: subprocess.check_output(
|
|||
# - Help Text
|
||||
####################
|
||||
def action_help() -> None:
|
||||
print(f"""This script provides one-click development, CI, and deployment,
|
||||
to support the use of the {IMAGE_NAME} project.
|
||||
print("""This script provides one-click development, CI, and deployment,
|
||||
to support the use of the project.
|
||||
|
||||
Usage:
|
||||
echo -e "./run.py [OPTION] [EXTRAS]"
|
||||
|
||||
Program Information:
|
||||
Version
|
||||
=> {".".join(IMAGE_VERSION)}
|
||||
OCI Container
|
||||
=> {REGISTRY_HOST}/{REGISTRY_USER}/{IMAGE_NAME}:{IMAGE_VERSION[0]
|
||||
|
||||
The following commands must be available:
|
||||
podman
|
||||
=> This project is developed and run in podman containers.
|
||||
|
|
Loading…
Reference in New Issue