firefly-cli icon indicating copy to clipboard operation
firefly-cli copied to clipboard

"init" option to copy in a custom docker-compose.override.yml file

Open Philip-21 opened this issue 1 year ago • 7 comments

This is pr fixes for #184

Philip-21 avatar Jan 14 '24 20:01 Philip-21

@nguyer , @awrichar i have been able to tackle this issue so far with implementations i have made please i would like reviews, and i am wondering why the e2e tests are failing . I tested everything out and they worked fine, below are the snapShot results

Philip-21 avatar Jan 18 '24 08:01 Philip-21

proof-oo1

i tested the command ff init --override "docker-compose.yml" to copy the contents from the docker-compose file to the docker-override file

Philip-21 avatar Jan 18 '24 08:01 Philip-21

hyperledger-1

The docker-compose.yml file's content gets copied to the docker-compose-override.yml file in the stack i created ?

Philip-21 avatar Jan 18 '24 08:01 Philip-21

proof-oo2

the docker-compose.yml file

Philip-21 avatar Jan 18 '24 08:01 Philip-21

The E2E tests are failing with this error:

ff -v --ansi never init ethereum --prometheus-enabled --database sqlite3 firefly_e2e 2 --token-providers erc1155 --manifest ../../manifest.json --sandbox-enabled=false --multiparty=true
initializing new FireFly stack...
Error: failed to copy file data to docker-compose.override.yml: open : no such file or directory

nguyer avatar Jan 23 '24 17:01 nguyer

@nguyer I have corrected it, all checks pass successfully, and the docker -override works

Philip-21 avatar Jan 23 '24 23:01 Philip-21

Hi @nguyer is this pr still open or i should close it ?

Philip-21 avatar May 01 '24 05:05 Philip-21