@@ -137,11 +137,18 @@ jobs:
137137 - name : Prepare Dependencies for Event Processor Image
138138 run : |
139139 mkdir -p ./geolocation
140- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/asn-blocks-v4.csv" -o ./geolocation/asn-blocks-v4.csv
141- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/asn-blocks-v6.csv" -o ./geolocation/asn-blocks-v6.csv
142- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/blocks-v4.csv" -o ./geolocation/blocks-v4.csv
143- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/blocks-v6.csv" -o ./geolocation/blocks-v6.csv
144- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/locations-en.csv" -o ./geolocation/locations-en.csv
140+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
141+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/asn-blocks-v4.csv" \
142+ -o ./geolocation/asn-blocks-v4.csv
143+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
144+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/asn-blocks-v6.csv" \
145+ -o ./geolocation/asn-blocks-v6.csv
146+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
147+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/blocks-v4.csv" -o ./geolocation/blocks-v4.csv
148+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
149+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/blocks-v6.csv" -o ./geolocation/blocks-v6.csv
150+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
151+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/geolocation/locations-en.csv" -o ./geolocation/locations-en.csv
145152
146153 docker build -t ghcr.io/utmstack/utmstack/eventprocessor:${{ inputs.version_tag }}-community --build-arg BASE_IMAGE=ghcr.io/threatwinds/eventprocessor/base:${{ inputs.event_processor_tag }} -f ./event_processor.Dockerfile .
147154 docker push ghcr.io/utmstack/utmstack/eventprocessor:${{ inputs.version_tag }}-community
@@ -153,9 +160,12 @@ jobs:
153160 GOOS=linux GOARCH=amd64 go build -o agent-manager -v .
154161
155162 mkdir -p ./dependencies/agent/
156- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/agent/utmstack_agent_dependencies_linux.zip" -o ./dependencies/agent/utmstack_agent_dependencies_linux.zip
157- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/agent/utmstack_agent_dependencies_windows.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows.zip
158- curl -sSL "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/agent/utmstack_agent_dependencies_windows_arm64.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip
163+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
164+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/agent/utmstack_agent_dependencies_linux.zip" -o ./dependencies/agent/utmstack_agent_dependencies_linux.zip
165+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
166+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/agent/utmstack_agent_dependencies_windows.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows.zip
167+ curl -sSL -H "Authorization: Bearer ${{ secrets.SIGNER_TOKEN }}" \
168+ "http://customermanager.utmstack.com:8081/api/v1/fs/v11-${{ inputs.environment }}/agent/utmstack_agent_dependencies_windows_arm64.zip" -o ./dependencies/agent/utmstack_agent_dependencies_windows_arm64.zip
159169
160170 cp "${{ github.workspace }}/agent/utmstack_agent_service" ./dependencies/agent/
161171 # cp "${{ github.workspace }}/agent/utmstack_agent_service_arm64" ./dependencies/agent/
0 commit comments