add label to enable/disable the auto update process #267
Merged
decentral1se
merged 2 commits from 2023-02-01 06:25:44 +00:00
moritz/abra:update_label into main
Labels
Clear labels
bug
build
ci/cd
critical fix
design
documentation
duplicate
easy-first-issue
enhancement
help wanted
i10n
i18n
installer
invalid
question
release
release-candidate
security
tech-debt
test
wontfix
Something is not working
go build related issues
Building things with CI/CD
https://docs.coopcloud.tech/federation/resolutions/passed/010/
UI/UX
Documenting all the things
This issue or pull request already exists
Something for new people to get stuck into. We hope it's easy!
New feature
Need some help
Everything to do with localisation
Everything to do with internationalisation
Everything to do with the install script.
Something is wrong
More information is needed
Release management
Related to the new release candidate
Security related
Unit/integration testing
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze (Born Deleuze)
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
dannygroenewegen (Danny Groenewegen)
decentral1se (d1)
dede
devydave
fauno (fauno)
hex (Josh Dukes)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1 (p4u1)
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting (stevensting)
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/abra#267
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A suggestion for enabling/disabling automatic updates per env variable
ENABLE_AUTO_UPDATE=true.This is required for the auto updater coop-cloud/organising#236 (comment)
It adds the label
coop-cloud.${STACK_NAME}.autoupdate=${ENABLE_AUTO_UPDATE}.With a label it is easier to access the value without parsing all the environment variables.
This looks legit to me!
It seems consisent to me that we'd require people to opt-in to auto-update. That does assume that a missing label = don't update. Assume that will be reflected in the auto-updater logic.
I think this change is missing docs, do you want to write them now? It's OK if you want to keep experimenting first. In that case, I'd open up a separate ticket so we remember to document what we're doing.
Maybe @3wordchant @knoflook have a review for this?
@@ -448,2 +448,4 @@return compose, nil}// add env ENABLE_AUTO_UPDATE as label to enable/disable the auto update process for this appGo doc needs a thing like the following to generate well:
79fd23695eto6774893412