Skip to content

Commit

Permalink
SSP-2863: fix CI (prebid#19)
Browse files Browse the repository at this point in the history
SSP-2863: fix deploy.sh 2 (prebid#20)

Fix deploy.sh #3
  • Loading branch information
valsouche authored and github-baptiste-haudegand committed May 21, 2024
1 parent c2c2817 commit 5c44b96
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ COPY . .
EXPOSE 9999

CMD ["./run.sh"]

2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ curl -sL http://dl.teads.net/teads-central/get.sh | sh -

# DOCKER_IMAGE is mandatory.
DOCKER_IMAGE=prebid
DOCKER_TAG="master"
DOCKER_TAG="master-teads"

# DOCKER_IMAGE_ARTIFACTS_PATH is mandatory (where the files are in the docker image, this can be found in the Dockerfile).
DOCKER_IMAGE_ARTIFACTS_PATH=build/dist
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ gulp.task('bundle', gulpBundle.bind(null, false)); // used for just concatenatin
gulp.task('copy-quality', gulp.series(copyQuality));
gulp.task('build-distrib', gulp.series(buildTeadsPrebidBundle));
gulp.task('build-teads-adapter-prod', gulp.series(buildTeadsAdapater));
gulp.task('connect-server', gulp.series(exposeServer));


// build task for reviewers, runs test-coverage, serves, without watching
Expand Down
4 changes: 1 addition & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ set -xe

./node_modules/gulp/bin/gulp.js build
./node_modules/gulp/bin/gulp.js copy-quality
./node_modules/gulp/bin/gulp.js build-distrib
./node_modules/gulp/bin/gulp.js build-teads-adapter-prod

declare -a arrenv=(
"TRACKING_PORT_8080_TCP_ADDR"
Expand All @@ -31,4 +29,4 @@ do
fi
done

./node_modules/gulp/bin/gulp.js express
./node_modules/gulp/bin/gulp.js connect-server
5 changes: 4 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ docker run --rm -i --privileged \
-w /var/www \
${REG_URL}/npm-builder:node-6-qa \
sh -c "npm install && \
./node_modules/gulp/bin/gulp.js test
./node_modules/gulp/bin/gulp.js test&& \
./node_modules/gulp/bin/gulp.js build && \
./node_modules/gulp/bin/gulp.js build-distrib && \
./node_modules/gulp/bin/gulp.js build-teads-adapter-prod
"

# Build
Expand Down

0 comments on commit 5c44b96

Please sign in to comment.