Skip to content

eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy #7

eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy

eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy #7

name: eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy
on:
workflow_dispatch:
jobs:
build_ubuntu:
runs-on: ubuntu-latest
environment: eu1
name: eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy
permissions:
id-token: write
steps:
- name: Check out code.
uses: actions/checkout@v4
- name: Env Conversion
shell: bash
run: |
for i in shell/probe/nocturnal.sh shell/probe/raindrop.ps1 shell/probe/vision.sh; do
echo "Endpoint substitution for ${i}"
sed -i 's!api.preludesecurity.com!api.eu1.preludesecurity.com!g' ${i}
sed -i 's/prelude-account-us1-us-east-2.s3.amazonaws.com/${{ secrets.BUCKET_NAME }}.s3.amazonaws.com/g' ${i}
done
- id: shell_probes_composite
uses: ./.github/actions/shell_probes
with:
s3_bucket: ${{ secrets.BUCKET_NAME }}
aws_region: ${{ secrets.BUCKET_REGION }}
aws_role: ${{ secrets.EU1_S3_ACCOUNT_DEPLOYMENT_ROLE }}
slack_notification: ${{ secrets.EU1_SLACK_URL }}