Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
./foremanctl pull-images
- name: Run deployment
run: |
./foremanctl deploy --certificate-source=${{ matrix.certificate_source }} ${{ matrix.database == 'external' && '--database-mode=external --database-host=database.example.com --database-ssl-ca $(pwd)/.var/lib/foremanctl/db-ca.crt --database-ssl-mode verify-full' || '' }} ${{ matrix.certificate_source == 'custom_server' && '--certificate-server-certificate /root/custom-certificates/certs/quadlet.example.com.crt --certificate-server-key /root/custom-certificates/private/quadlet.example.com.key --certificate-server-ca-certificate /root/custom-certificates/certs/server-ca.crt' || '' }} --foreman-initial-admin-password=changeme --initial-organization "Foreman CI" --initial-location "Internet" --tuning development
./foremanctl deploy --certificate-source=${{ matrix.certificate_source }} ${{ matrix.database == 'external' && '--database-mode=external --database-host=database.example.com --database-ssl-ca $(pwd)/.var/lib/foremanctl/db-ca.crt --database-ssl-mode verify-full' || '' }} ${{ matrix.certificate_source == 'custom_server' && '--certificate-server-certificate /root/custom-certificates/certs/quadlet.example.com.crt --certificate-server-key /root/custom-certificates/private/quadlet.example.com.key --certificate-server-ca-certificate /root/custom-certificates/certs/server-ca.crt' || '' }} --initial-admin-password=changeme --initial-organization "Foreman CI" --initial-location "Internet" --tuning development
- name: Add optional feature - hammer
run: |
./foremanctl deploy --add-feature hammer
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
./foremanctl pull-images
- name: Run deployment
run: |
./foremanctl deploy --foreman-initial-admin-password=changeme --initial-organization "Foreman CI" --initial-location "Internet" --tuning development
./foremanctl deploy --initial-admin-password=changeme --initial-organization "Foreman CI" --initial-location "Internet" --tuning development
- name: Add optional feature - hammer
run: |
./foremanctl deploy --add-feature hammer
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This setup uses Vagrant to create a basic VM for running the deployment on:
./setup-environment
source .venv/bin/activate
./forge vms start
./foremanctl deploy --foreman-initial-admin-password=changeme --tuning development --initial-organization "Foreman CI" --initial-location "Internet"
./foremanctl deploy --initial-admin-password=changeme --tuning development --initial-organization "Foreman CI" --initial-location "Internet"
```

### Deploy hammer (optional)
Expand Down
4 changes: 2 additions & 2 deletions docs/user/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ There are multiple use cases from the users perspective that dictate what parame
| `--pulp-database-name` | Name of the Pulp database | `--foreman-proxy-content-pulpcore-postgresql-db-name` |
| `--pulp-database-user` | Owner of the Pulp database | `--foreman-proxy-content-pulpcore-postgresql-user` |
| `--pulp-database-password` | Password for Pulp database | `--foreman-proxy-content-pulpcore-postgresql-password` |
| `--foreman-initial-admin-username` | Initial username for the admin user | `--foreman-initial-admin-username` |
| `--foreman-initial-admin-password` | Initial password for the admin user | `--foreman-initial-admin-password` |
| `--initial-admin-username` | Initial username for the admin user | `--foreman-initial-admin-username` |
| `--initial-admin-password` | Initial password for the admin user | `--foreman-initial-admin-password` |
| `--initial-organization` | Name of an initial organization | `--foreman-initial-organization` |
| `--initial-location` | Name of an initial location | `--foreman-initial-location` |
| `--foreman-puma-workers` | Number of workers for Puma | `--foreman-foreman-service-puma-workers` |
Expand Down
2 changes: 2 additions & 0 deletions src/playbooks/deploy/metadata.obsah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ help: |
variables:
foreman_initial_admin_username:
help: Initial username for the admin user.
parameter: --initial-admin-username
foreman_initial_admin_password:
help: Initial password for the admin user.
parameter: --initial-admin-password
foreman_initial_organization:
help: Name of an initial organization.
parameter: --initial-organization
Expand Down