Skip to content

Commit

Permalink
0.6.0: Fixing deployment readiness check and nginx queries provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
flavienbwk committed Sep 7, 2024
1 parent 6878721 commit e79294f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,19 @@ RUN echo "events { worker_connections 1024; }" > /etc/nginx/nginx.conf && \
echo " server_name _;" >> /etc/nginx/nginx.conf && \
echo " location / {" >> /etc/nginx/nginx.conf && \
echo " proxy_pass http://127.0.0.1:3000;" >> /etc/nginx/nginx.conf && \
echo " proxy_http_version 1.1;" >> /etc/nginx/nginx.conf && \
echo " proxy_set_header Upgrade \$http_upgrade;" >> /etc/nginx/nginx.conf && \
echo " proxy_set_header Connection 'upgrade';" >> /etc/nginx/nginx.conf && \
echo " proxy_set_header Host \$host;" >> /etc/nginx/nginx.conf && \
echo " proxy_cache_bypass \$http_upgrade;" >> /etc/nginx/nginx.conf && \
echo " }" >> /etc/nginx/nginx.conf && \
echo " location /api {" >> /etc/nginx/nginx.conf && \
echo " proxy_pass http://127.0.0.1:5328;" >> /etc/nginx/nginx.conf && \
echo " proxy_http_version 1.1;" >> /etc/nginx/nginx.conf && \
echo " proxy_set_header Upgrade \$http_upgrade;" >> /etc/nginx/nginx.conf && \
echo " proxy_set_header Connection 'upgrade';" >> /etc/nginx/nginx.conf && \
echo " proxy_set_header Host \$host;" >> /etc/nginx/nginx.conf && \
echo " proxy_cache_bypass \$http_upgrade;" >> /etc/nginx/nginx.conf && \
echo " }" >> /etc/nginx/nginx.conf && \
echo " }" >> /etc/nginx/nginx.conf && \
echo "}" >> /etc/nginx/nginx.conf
Expand Down
3 changes: 3 additions & 0 deletions action/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ try {
}

}

core.setOutput('domain', containerEndpoint);

} catch (error) {
core.setFailed(error.message);
}
3 changes: 3 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70321,6 +70321,9 @@ try {
}

}

_actions_core__WEBPACK_IMPORTED_MODULE_0__.setOutput('domain', containerEndpoint);

} catch (error) {
_actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(error.message);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gh-action-repochat",
"version": "0.5.0",
"version": "0.6.0",
"type": "module",
"description": "GitHub Action to run repochat",
"main": "index.js",
Expand Down

0 comments on commit e79294f

Please sign in to comment.