Skip to content

Commit 60325ef

Browse files
committed
add network timeout for the builds
1 parent af0c5c4 commit 60325ef

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ jobs:
3232
echo "Release version is $REL_VER"
3333
echo "RELEASE_VERSION=$REL_VER" >> $GITHUB_ENV
3434
./gradlew build -Pversion=$REL_VER
35-
echo "Building UI"
36-
ls -ltr server/build/libs
37-
cd docker
38-
./build-ui.sh
39-
echo "Done building UI"
4035
- name: Set up Docker Buildx
4136
uses: docker/setup-buildx-action@v1
4237

@@ -63,7 +58,7 @@ jobs:
6358
orkesio/orkes-conductor-community:latest
6459
orkesio/orkes-conductor-community:${{ env.RELEASE_VERSION }}
6560
66-
- name: Build and push Server
61+
- name: Build and push Standalone
6762
uses: docker/build-push-action@v3
6863
with:
6964
context: .

docker/DockerfileServer

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN ./gradlew clean build -x test
2525
WORKDIR /
2626
RUN git clone https://github.com/Netflix/conductor
2727
WORKDIR conductor/ui
28+
RUN yarn config set network-timeout 600000 -g
2829
RUN yarn install && yarn build
2930
RUN ls -ltr
3031
RUN echo "Done building UI"

docker/DockerfileStandalone

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN ./gradlew clean build -x test
2525
WORKDIR /
2626
RUN git clone https://github.com/Netflix/conductor
2727
WORKDIR conductor/ui
28+
RUN yarn config set network-timeout 600000 -g
2829
RUN yarn install && yarn build
2930
RUN ls -ltr
3031
RUN echo "Done building UI"

docker/build-ui.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ cd tmp/ui
44
pwd
55
git clone https://github.com/Netflix/conductor
66
cd conductor/ui
7+
yarn config set network-timeout 600000 -g
78
yarn install
89
yarn build

0 commit comments

Comments
 (0)