Skip to content

Commit

Permalink
chore: Adding -d:postgres flag when creating a Docker image for relea…
Browse files Browse the repository at this point in the history
…se and PRs (#2076)
  • Loading branch information
Ivansete-status committed Sep 26, 2023
1 parent ed47354 commit 7a376f5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-image.yml
Expand Up @@ -48,7 +48,7 @@ jobs:
id: build
run: |
make -j${NPROC} V=1 QUICK_AND_DIRTY_COMPILER=1 NIMFLAGS="-d:disableMarchNative" wakunode2
make -j${NPROC} V=1 QUICK_AND_DIRTY_COMPILER=1 NIMFLAGS="-d:disableMarchNative -d:postgres" wakunode2
SHORT_REF=$(git rev-parse --short HEAD)
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pre-release.yml
Expand Up @@ -66,7 +66,8 @@ jobs:
make QUICK_AND_DIRTY_COMPILER=1 V=1 CI=false NIMFLAGS="-d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}}" \
update
make QUICK_AND_DIRTY_COMPILER=1 V=1 CI=false NIMFLAGS="-d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}}" \
make QUICK_AND_DIRTY_COMPILER=1 V=1 CI=false\
NIMFLAGS="-d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}} -d:postgres" \
wakunode2\
chat2\
tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-assets.yml
Expand Up @@ -53,7 +53,7 @@ jobs:
OS=$([[ "${{runner.os}}" == "macOS" ]] && echo "macosx" || echo "linux")
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}}" V=1 update
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}}" CI=false wakunode2
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}} -d:postgres" CI=false wakunode2
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC} -d:disableMarchNative --os:${OS} --cpu:${{matrix.arch}}" CI=false chat2
tar -cvzf ${{steps.vars.outputs.nwaku}} ./build/
Expand Down
1 change: 1 addition & 0 deletions ci/Jenkinsfile.prs
Expand Up @@ -12,6 +12,7 @@ pipeline {
'-d:insecure',
'-d:disableMarchNative',
'--parallelBuild:6',
'-d:postgres',
].join(' ')
)
string(
Expand Down
1 change: 1 addition & 0 deletions ci/Jenkinsfile.release
Expand Up @@ -34,6 +34,7 @@ pipeline {
'-d:disableMarchNative',
'-d:chronicles_colors:none',
'-d:insecure',
'-d:postgres',
].join(' ')
)
string(
Expand Down

0 comments on commit 7a376f5

Please sign in to comment.