You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Trent] Gm! I'd like to publish a new "latest" docker image for pdr-backend for use by barge. Do we have the flow documented somewhere? What are the credentials?
Background: We have an issue where pdr-trueval testing on ganache relies on a BTC/TUSD pair. It's easy to change in pdr-backend, just one line of code different, when publishing a pdr feed data. This isn't enough of course: when I make that change in pdr-backend main, I then want to publish a new docker image for oceanprotocol/pdr-backend:latest. (And I want to get used to this, as I also want to do new docker image, with a testing label, for pdr-cli2 branch)
[Alex]
for now, we have automated docker build for main branch and for all releases (github is already connected to dockerhub)
and then on build rules, add your branch.. like:
(I'm building pdr-backend: alex , from branch feature/alex
(see last line)
you should be able to login, using gtrent@gmail.com (username: trentmc)
[Trent]
Oh great! Thanks very much for these detailed instructions. I will add them to pdr-backend too.
Content to draw on 2
[Alex]
release process is already in place. as soon as you hit "Release" on github, the docker image is automatically build. So we don't have to do anything about that
Also, for testing , I recommend local testing:
build your image locally (in pdr-backend folder) :
Background / motivation
pdr-backend has docker images on docker hub. They're used by barge. We need to make it clear how to update them.
Content to draw on 1
(From slack, Trent <> Alex.)
[Trent]
Gm! I'd like to publish a new "latest" docker image for pdr-backend for use by barge. Do we have the flow documented somewhere? What are the credentials?
Background: We have an issue where pdr-trueval testing on ganache relies on a BTC/TUSD pair. It's easy to change in pdr-backend, just one line of code different, when publishing a pdr feed data. This isn't enough of course: when I make that change in pdr-backend
main
, I then want to publish a new docker image foroceanprotocol/pdr-backend:latest
. (And I want to get used to this, as I also want to do new docker image, with a testing label, for pdr-cli2 branch)[Alex]
for now, we have automated docker build for main branch and for all releases (github is already connected to dockerhub)
if you want to add branches, just go to https://hub.docker.com/repository/docker/oceanprotocol/pdr-backend/builds/edit
and then on build rules, add your branch.. like:
(I'm building pdr-backend: alex , from branch feature/alex
(see last line)
you should be able to login, using gtrent@gmail.com (username: trentmc)
[Trent]
Oh great! Thanks very much for these detailed instructions. I will add them to pdr-backend too.
Content to draw on 2
[Alex]
release process is already in place. as soon as you hit "Release" on github, the docker image is automatically build. So we don't have to do anything about that
Also, for testing , I recommend local testing:
start barge (
./start_ocean.sh ......
)this will start barge with your own docker image
Pros:
dockerhub should be used for production ready images only
Content to draw on 3
https://www.pluralsight.com/guides/create-docker-images-docker-hub
TODOs
The text was updated successfully, but these errors were encountered: