Repository navigation
PACKIT-5358: internal deployment #711
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8d74b61
docs: update the renewal docs to use wildcards
mfocko f770776
chore(devenv): update devenv.lock and remove .envrc
mfocko 94edcff
feat(internal): adjust gitignore and add vars template
mfocko 03e9d4d
fix(internal): correctly set firewall shards and hosts
mfocko d243e47
fix(internal): adjust ‹servicephase›
mfocko d059cf0
feat: add templates for internal deployment secrets
mfocko df6ab98
docs: adjust docs for internal instance
mfocko 50b3092
fix: set ‹with_sandbox› only if it’s not defined
mfocko b366642
style: use lists for ‹and›-combined conditions
mfocko 1c15891
docs: adjust paths to the generated TLS certs
mfocko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| [centpkg-sig] | ||
| lookaside = https://git.centos.org/sources | ||
| lookasidehash = sha512 | ||
| lookaside_cgi = https://git.centos.org/sources/upload_sig.cgi | ||
| # lookaside_cgi = https://git.centos.org/sources/upload.cgi | ||
| distgit_namespaced = True | ||
| distgit_namespaces = rpms | ||
| gitbaseurl = git+ssh://git@gitlab.com/CentOS/%(repo)s.git | ||
| anongiturl = https://gitlab.com/CentOS/%(repo)s.git | ||
| branchre = c\d+s?-sig-.+|master$ | ||
| kojiprofile = cbs | ||
| build_client = cbs | ||
| lookaside_namespaced = True | ||
| git_excludes = | ||
| i386/ | ||
| i686/ | ||
| x86_64/ | ||
| ppc/ | ||
| ppc64/ | ||
| ia64/ | ||
| mips/ | ||
| arm/ | ||
| noarch/ | ||
| /*.src.rpm | ||
| /build*.log | ||
| /.build-*.log | ||
| results_*/ | ||
| clog | ||
|
|
||
| [centpkg-sig.distgit] | ||
| apibaseurl = https://gitlab.com | ||
| {% set gitlab_forge = git_forges | selectattr('name', 'equalto', 'gitlab.com') | first %} | ||
| {% set gitlab_fields = gitlab_forge['fields'] | items2dict(key_name='name') %} | ||
| token = {{ gitlab_fields['token:key'] }} |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| # A basic configuration for Fedora's message broker, using the example callback | ||
| # which simply prints messages to standard output. | ||
| # | ||
| # This file is in the TOML format. | ||
| amqp_url = "amqps://fedora:@rabbitmq.fedoraproject.org/%2Fpublic_pubsub" | ||
|
|
||
| [tls] | ||
| ca_cert = "/etc/fedora-messaging/cacert.pem" | ||
| keyfile = "/etc/fedora-messaging/fedora-key.pem" | ||
| certfile = "/etc/fedora-messaging/fedora-cert.pem" | ||
|
|
||
| [client_properties] | ||
| app = "Packit" | ||
| # Some suggested extra fields: | ||
| # URL of the project that provides this consumer | ||
| app_url = "https://github.com/packit/packit-service-fedmsg" | ||
| # Contact emails for the maintainer(s) of the consumer - in case the | ||
| # broker admin needs to contact them, for e.g. | ||
| app_contacts_email = ["hello@packit.dev"] | ||
|
|
||
| [exchanges."amq.topic"] | ||
| type = "topic" | ||
| durable = true | ||
| auto_delete = false | ||
| arguments = {} | ||
|
|
||
| # Queue names *must* be in the normal UUID format: run "uuidgen" and use the | ||
| # output as your queue name. If you don't define a queue here, the server will | ||
| # generate a queue name for you. This queue will be non-durable, auto-deleted and | ||
| # exclusive. | ||
| # If your queue is not exclusive, anyone can connect and consume from it, causing | ||
| # you to miss messages, so do not share your queue name. Any queues that are not | ||
| # auto-deleted on disconnect are garbage-collected after approximately one hour. | ||
| # | ||
| # If you require a stronger guarantee about delivery, please talk to Fedora's | ||
| # Infrastructure team. | ||
| [queues.{{ vault.fedora_messaging.queue }}] | ||
| # Keep messages on broker restart | ||
| durable = true | ||
| # Delete the queue when the client terminates | ||
| auto_delete = true | ||
| # Refuse multiple simultaneous consumers | ||
| exclusive = true | ||
| arguments = {} | ||
|
|
||
| [[bindings]] | ||
| queue = "{{ vault.fedora_messaging.queue }}" | ||
| exchange = "amq.topic" | ||
| routing_keys = [] | ||
|
|
||
| [log_config] | ||
| version = 1 | ||
| disable_existing_loggers = true | ||
|
|
||
| [log_config.formatters.simple] | ||
| format = "[%(asctime)s %(levelname)s %(name)s] %(message)s" | ||
|
|
||
| [log_config.handlers.console] | ||
| class = "logging.StreamHandler" | ||
| formatter = "simple" | ||
| stream = "ext://sys.stdout" | ||
|
|
||
| [log_config.loggers.fedora_messaging] | ||
| level = "INFO" | ||
| propagate = false | ||
| handlers = ["console"] | ||
|
|
||
| [log_config.loggers.twisted] | ||
| level = "INFO" | ||
| propagate = false | ||
| handlers = ["console"] | ||
|
|
||
| [log_config.loggers.pika] | ||
| level = "WARNING" | ||
| propagate = false | ||
| handlers = ["console"] | ||
|
|
||
| # If your consumer sets up a logger, you must add a configuration for it | ||
| # here in order for the messages to show up. | ||
| [log_config.loggers.packit_service_fedmsg] | ||
| level = "DEBUG" | ||
| propagate = false | ||
| handlers = ["console"] | ||
|
|
||
| [log_config.root] | ||
| level = "ERROR" | ||
| handlers = ["console"] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.