Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins file to build oracle docker image #5

Open
wants to merge 66 commits into
base: bellecour
Choose a base branch
from

Conversation

gfournieriExec
Copy link

@gfournieriExec gfournieriExec commented Aug 24, 2023

You can find the job jenkins => Token-bridge

COPY yarn.lock .
RUN cd oracle && yarn remove web3 web3-utils && cd ..
RUN NOYARNPOSTINSTALL=1 yarn install --frozen-lockfile --production
RUN cd commons && yarn add [email protected] && cd ..
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Is it possible to yarn upgrade [email protected] instead of remove & add ?
  2. I don't remember, do we need && cd ..?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to try the point 1 but for 2. since we are working on 2 different package.json file (oracle / commons) I think we need it. But gonna try it as well

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good approach here might be something like

WORKDIR /bla
RUN bla bla
WORKDIR /blu
RUN blu blu

(?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I just tried upgrade it does not work, I have the same issue msg of the beginning
  2. Going to implement the WORKDIR thing

build:
context: ..
dockerfile: oracle/Dockerfile
image : docker-regis.iex.ec/oracle:feature-ef980a52
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe
docker-regis.iex.ec/oracle:$ORACLE_TAG
?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Jenkinsfile Outdated Show resolved Hide resolved
Jenkinsfile Outdated
imageprivacy: 'private',
dockerImageRepositoryName : 'oracle'
)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing end-of-line :)
Same in (oracle/.env.example)

oracle/.env.example Outdated Show resolved Hide resolved

WORKDIR /mono/oracle
RUN [email protected] [email protected]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think*

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes mb (just saw it)

Copy link
Member

@jeremyjams jeremyjams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for this first milestone :) To be merged later I guess (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants