Adding "instance-up" deployment status.

This commit is contained in:
2026-07-27 16:18:05 -07:00
parent bc301d6b29
commit 609a315c25
4 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
# yaml-language-server: $schema=https://www.authelia.com/schemas/latest/json-schema/user-database.json
users:
admin:
disabled: false
displayname: 'Admin'
password: '$HOST_ADMIN_PASSWORD'
email: '$HOST_ADMIN_USER'

View File

@@ -0,0 +1,24 @@
#!/bin/bash
# Copyright 2025-2026 Thomas Hintz
# This file is part of Nassella.
# Nassella is free software: you can redistribute it and/or modify it under the
# terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
# Nassella is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with Nassella. If not, see <https://www.gnu.org/licenses/>.
set -e
set -a # export everything in the config for later use by envsubst
. $1 # source the apps.config file with then env vars
envsubst < app/authelia/authelia-config/users.yml.tmpl > app/authelia/authelia-config/users.yml

View File

@@ -417,6 +417,7 @@ where usa.user_id=$1 and usa.instance_id=$2;"
(volume-create . "terraform_volume_create")
(volume-destroy . "terraform_volume_destroy")
(instance-backup . "instance_backup")
(instance-up . "instance_up")
(status . "status")
(id . "id")
(instance-id . "instance_id")))
@@ -662,7 +663,8 @@ where user_id=$1;"
(6 . "adding-lldap-app")
(7 . "adding-authelia-app")
(8 . "adding-backblaze-bucket-name-and-id")
(9 . "extend-deployment-status-add-ignored")))
(9 . "extend-deployment-status-add-ignored")
(10 . "adding-deployments-instance-up")))
(define (run-pending-migrations conn)
(let* ((migration-ids (sort (map car *migrations*) <))

View File

@@ -0,0 +1 @@
alter table deployments add instance_up deployment_status not null default 'queued';