Add CI cache #75
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
question
S
UX research
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: local-it/mitgliederverwaltung#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #62
@moritz Regarding "trusted" mode, I found this stackoverflow question which mentioned a
DRONE_ADMINenvironment variable. I couldn't find any reference regarding that env var in the docs, but here the docs say you can create an admin user using theDRONE_USER_CREATEenvironment variable. That should also work for existing users.Then, after we have logged in using an admin account, the "trusted" setting should be visible here: https://drone.dev.local-it.cloud/local-it/mitgliederverwaltung/settings
As an alternative, we can try using the meltwater-cache plugin with an object storage backend. That might be safer than enabling "trusted" mode, but would require some experimentation as the plugin's documentation is quite out of date.
@rafael wrote in #75 (comment):
I enabled the
trustedmode for this repo.6ecbe1e0aetocafd028008cafd028008to89831a257a89831a257atoc871e08155c871e08155to59d7e4604659d7e46046tob1e6a54e65b1e6a54e65to2978dc443eWIP: Add CI cacheto Add CI cache2978dc443eto0511511f090511511f09tobfcc6f94fdbfcc6f94fdto7012f3ced67012f3ced6to37ee81862037ee818620to6a1c869ea4This is now working :) Here's a successful run that took ~3 minutes: https://drone.dev.local-it.cloud/local-it/mitgliederverwaltung/272/1/4
I'm not sure why the commits are shown as not verified, git shows these commits as properly signed with the correct key on my local repository.
4315561ce4tod54b226be5looks fine for me. is it ready to be merged?
@moritz wrote in #75 (comment):
Yes!