Page MenuHomePhabricator

[services] Blob - rename docker to scripts
AbandonedPublic

Authored by karol on May 4 2022, 6:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 3:57 PM
Unknown Object (File)
Tue, Nov 5, 3:57 PM
Unknown Object (File)
Tue, Nov 5, 3:55 PM
Unknown Object (File)
Thu, Oct 24, 10:38 PM
Unknown Object (File)
Sep 27 2024, 4:46 AM
Unknown Object (File)
Sep 27 2024, 4:46 AM
Unknown Object (File)
Sep 27 2024, 4:46 AM
Unknown Object (File)
Sep 27 2024, 4:44 AM

Details

Summary

Depends on D3904

When refactoring, @jimpo renamed scripts to docker. This solution is not the best as these scripts are copied twice:
https://github.com/CommE2E/comm/blob/c7fdc0b4154259b9a0f365ede281908f2479715a/services/backup/Dockerfile#L16
https://github.com/CommE2E/comm/blob/c7fdc0b4154259b9a0f365ede281908f2479715a/services/backup/Dockerfile#L17

I'm renaming the folder name to scripts again so it's copied only once.
We should use the name "scripts" inside of the docker container as from its perspective these are bash scripts that should be run.
I don't see why cannot we name this folder "scripts".

Aside from personal preferences, we should lean towards a solution that is more efficient in the end of the day.

Test Plan

No real changes are applied, just moving stuff around, so services should still build and that's the test plan

cd services

yarn run-blob-service
yarn run-backup-service

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 4 2022, 6:23 AM
Harbormaster failed remote builds in B8762: Diff 12208!
karol edited the test plan for this revision. (Show Details)
karol added a reviewer: tomek.
karol added a subscriber: jim.

retriggering CI (failed on android)

ashoat requested changes to this revision.May 4 2022, 11:07 AM
ashoat added a reviewer: jim.

See comments in D3904

This revision now requires changes to proceed.May 4 2022, 11:07 AM

Ok so if we're going to keep the name docker and fix this some other way, then I think we can abandon this revision.