Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
cataphract committed Jun 3, 2024
1 parent a19e7ab commit ced3965
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ jobs:
uses: actions/checkout@v4
- name: Get library artifact
run: ./utils/scripts/load-binary.sh ${{ matrix.library }}
- name: Get nginx module
if: matrix.library == 'cpp'
run: ./utils/scripts/load-binary.sh nginx
env:
CIRCLECI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}
- name: Get agent artifact
run: ./utils/scripts/load-binary.sh agent
# ### appsec-event-rules is now a private repo. The GH_TOKEN provided can't read private repos.
Expand Down
1 change: 1 addition & 0 deletions utils/build/docker/cpp/nginx.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ COPY utils/build/docker/cpp/nginx/install_ddtrace.sh /builds/
COPY utils/build/docker/cpp/install_ddprof.sh /builds/
COPY utils/build/docker/cpp/nginx/app.sh /builds/
COPY utils/build/docker/cpp/ binaries* /builds/
COPY utils/build/docker/cpp/nginx/backend.c /tmp/

# install backend app
RUN gcc -o /usr/local/bin/backend /tmp/backend.c -lmicrohttpd && rm /tmp/backend.c
Expand Down
2 changes: 1 addition & 1 deletion utils/build/docker/cpp/nginx/install_ddtrace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ fi
readonly NGINX_DATADOG_VERSION="$(get_latest_release)"

if version_first_is_greater "$NGINX_DATADOG_VERSION" "v1.1.0"; then
local readonly TARBALLS=(
TARBALLS=(
"ngx_http_datadog_module-appsec-${ARCH}-${NGINX_DATADOG_VERSION:1}.so.tgz"
"ngx_http_datadog_module-appsec-${ARCH}-${NGINX_DATADOG_VERSION:1}.so.debug.tgz"
)
Expand Down

0 comments on commit ced3965

Please sign in to comment.