yoshman

joined 1 month ago
[–] yoshman@lemmy.world 9 points 5 days ago

That's the neat part: they don't!

[–] yoshman@lemmy.world 7 points 6 days ago

Like, Nextcloud runs background tasks as a cron job which is something I've never seen with other hosted services.

Drupal also uses crons to run repeated tasks. By default, Drupal cron cleans out stale database records for a few tables and breaks old caches. It can be extended by the developer, though.

It's probably a holdover from before containerised applications were ubiquitous but honestly it comes off as jank.

PHP is pre-container and pre-virtualization, so I guess you can think of it as a hack way of getting garbage collection. To be honest, the cron's translate pretty well to k8s cronjobs. You just use the same image as the app and override the command with the cronjob command.

[–] yoshman@lemmy.world 3 points 6 days ago

We will have so much winning [...] that you may get bored with the winning. Believe me, I agree, you'll never get bored with winning.

[–] yoshman@lemmy.world 11 points 6 days ago

One of them post birth ones?

[–] yoshman@lemmy.world 11 points 1 week ago (1 children)

You got your laptop from Tim Apple, right?

[–] yoshman@lemmy.world 8 points 1 week ago

May dragon mommy Astilabor bless them with wealth.

[–] yoshman@lemmy.world 3 points 2 weeks ago

Yeah. Since he was a subcontractor, he wanted all his scripts to be the same, no matter who the customer was.

I was like jesus christ, I'm lazy too and want to automate everything, but edit your stupid scripts to use env vars.

[–] yoshman@lemmy.world 1 points 2 weeks ago (2 children)

We resolved it by making him use pipeline vars for his scripts. Like we told him to do in the beginning.

He fought it because he wanted his scripts the same for all projects. Including hard coded usernames and passwords. So, it was mostly his fault.

[–] yoshman@lemmy.world 2 points 2 weeks ago (4 children)

The production database gets down-synced to the lower environments on demand, so they can test on actual production datasets. That would require us to manually remake this user account every time a dev down-syncs the database to a lower environment.

The customer is paranoid, as the project is their public facing website, so they want testing against the actual prod environment.

We don't mange the SSO, as that is controlled by the customer. The only local (application specific) account is this account for testing.

[–] yoshman@lemmy.world 2 points 2 weeks ago

He had to do admin functionality regression tests before prod releases to make sure nothing broke.

The system uses SSO for logins for everything else.

He is a subcontractor who was using scripts for all his projects. I told him he really needs to use env vars for creds.

[–] yoshman@lemmy.world 5 points 2 weeks ago

He was a subcontractor, so technically, he's not our employee.

I bubbled it up the chain on our side, and it hasn't happened since.

[–] yoshman@lemmy.world 3 points 2 weeks ago (6 children)

It was an admin account to do regression testing for the admin interface and functions before prod releases.

I had my guys enable/disable the account during the testing pipeline so people can't login anymore.

view more: next ›