(Translated by https://www.hiragana.jp/)
infrastructure.salt: introduce salt-stage/pistis by tacerus · Pull Request #190 · openSUSE/salt-formulas · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infrastructure.salt: introduce salt-stage/pistis #190

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tacerus
Copy link
Member

@tacerus tacerus commented Sep 10, 2024

New states for manging the repository validation and staging service using Pistis.

@tacerus tacerus force-pushed the feature/infrastructure/salt/pistis branch 2 times, most recently from 3d90a74 to 92825d5 Compare September 10, 2024 12:34
@tacerus tacerus added the infrastructure-formula Everything related to the infrastructure formula label Sep 10, 2024
Type=oneshot
EnvironmentFile=/etc/pistis
ExecStart=pistis{{ ' -gitlab ' ~ pistis.gitlab if 'gitlab' in pistis }} -repository {{ directory }}{{ ' -ignore-merge' if pistis.get('ignore-merge') is True }}{{ ' -loglevel ' ~ pistis.loglevel if 'loglevel' in pistis }}
ExecStartPost=rsync -a {{ directory }}/ /srv/{{ directory }}-validated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please show a typical value for directory?

I have a feeling that the rsync target directory might be somewhat unexpected...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default in map.jinja is /srv/salt-git.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that /srv/ is of course not right here ..

@tacerus tacerus force-pushed the feature/infrastructure/salt/pistis branch from 92825d5 to 41c8733 Compare September 10, 2024 22:27
New states for manging the repository validation and staging service
using Pistis.

Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
@tacerus tacerus force-pushed the feature/infrastructure/salt/pistis branch from 41c8733 to 05670dd Compare September 10, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure-formula Everything related to the infrastructure formula
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants