Skip to content

Commit

Permalink
add network timeout for the builds
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Nov 5, 2023
1 parent af0c5c4 commit 60325ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ jobs:
echo "Release version is $REL_VER"
echo "RELEASE_VERSION=$REL_VER" >> $GITHUB_ENV
./gradlew build -Pversion=$REL_VER
echo "Building UI"
ls -ltr server/build/libs
cd docker
./build-ui.sh
echo "Done building UI"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

Expand All @@ -63,7 +58,7 @@ jobs:
orkesio/orkes-conductor-community:latest
orkesio/orkes-conductor-community:${{ env.RELEASE_VERSION }}
- name: Build and push Server
- name: Build and push Standalone
uses: docker/build-push-action@v3
with:
context: .
Expand Down
1 change: 1 addition & 0 deletions docker/DockerfileServer
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN ./gradlew clean build -x test
WORKDIR /
RUN git clone https://github.com/Netflix/conductor
WORKDIR conductor/ui
RUN yarn config set network-timeout 600000 -g
RUN yarn install && yarn build
RUN ls -ltr
RUN echo "Done building UI"
Expand Down
1 change: 1 addition & 0 deletions docker/DockerfileStandalone
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN ./gradlew clean build -x test
WORKDIR /
RUN git clone https://github.com/Netflix/conductor
WORKDIR conductor/ui
RUN yarn config set network-timeout 600000 -g
RUN yarn install && yarn build
RUN ls -ltr
RUN echo "Done building UI"
Expand Down
1 change: 1 addition & 0 deletions docker/build-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ cd tmp/ui
pwd
git clone https://github.com/Netflix/conductor
cd conductor/ui
yarn config set network-timeout 600000 -g
yarn install
yarn build

0 comments on commit 60325ef

Please sign in to comment.