From d62f32d7ab37d54ee49e077c99c234269997c6f2 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Thu, 12 Oct 2023 14:28:27 -0600 Subject: [PATCH] Update to reflect totally different meaning for is_active field --- gitea/initialize-gitea.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/initialize-gitea.sh b/gitea/initialize-gitea.sh index ae9bfa6..ab78aff 100755 --- a/gitea/initialize-gitea.sh +++ b/gitea/initialize-gitea.sh @@ -97,7 +97,7 @@ fi # Seed a token for act_runner registration. ${compose_command} exec db \ - psql -U gitea -d gitea -c "INSERT INTO public.action_runner_token(token, owner_id, repo_id, is_active, created, updated, deleted) VALUES('${CERC_GITEA_RUNNER_REGISTRATION_TOKEN}', 0, 0, 'f', 1679000000, 1679000000, NULL);" >/dev/null + psql -U gitea -d gitea -c "INSERT INTO public.action_runner_token(token, owner_id, repo_id, is_active, created, updated, deleted) VALUES('${CERC_GITEA_RUNNER_REGISTRATION_TOKEN}', 0, 0, 't', 1679000000, 1679000000, NULL);" >/dev/null echo "NOTE: Gitea was configured to use host name: gitea.local, ensure that this resolves to localhost, e.g. with sudo vi /etc/hosts" if ! [[ -n "$CERC_GITEA_SET_NEW_ADMIN_PASSWORD" ]]; then