diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1569cec..b5a9b58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: fi echo "IMAGE=$CIUX_IMAGE_URL" >> "$GITHUB_OUTPUT" echo "PROMOTED_IMAGE=$CIUX_PROMOTED_IMAGE_URL" >> "$GITHUB_OUTPUT" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: docker-artifact path: artifacts @@ -60,7 +60,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Download image - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: docker-artifact path: artifacts @@ -91,7 +91,7 @@ jobs: needs: build steps: - name: Download image - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: docker-artifact path: artifacts diff --git a/build.sh b/build.sh index 740437f..681a809 100755 --- a/build.sh +++ b/build.sh @@ -49,7 +49,7 @@ ciux ignite $DIR . $CIUXCONFIG # Build image -docker image build --tag "$CIUX_IMAGE_URL" +docker image build --tag "$CIUX_IMAGE_URL" "$DIR" echo "Build successful" diff --git a/chart/templates/configmap.yaml b/chart/templates/configmap.yaml index 7605e00..e9627fb 100644 --- a/chart/templates/configmap.yaml +++ b/chart/templates/configmap.yaml @@ -32,12 +32,12 @@ data: DISPLAY_FIELD="objectId" # Number of alerts to send simultaneously per observations. - NALERTS_PER_OBS=3 + NALERTS_PER_OBS=300 # Number of observations to make. Note that the total # number of alerts will be NALERTS_PER_OBS * NOBSERVATIONS # Set it to -1 if you want all alerts to be sent. - NOBSERVATIONS=4 + NOBSERVATIONS=-1 # Time between 2 observations (second) TIME_INTERVAL=5 diff --git a/rootfs/fink/bin/download_datasim.sh b/rootfs/fink/bin/download_datasim.sh index 91f6015..bc3b8f3 100755 --- a/rootfs/fink/bin/download_datasim.sh +++ b/rootfs/fink/bin/download_datasim.sh @@ -20,14 +20,14 @@ set -euxo pipefail -data_subpath="datasim/basic_alerts/local" +data_subpath="datasim/basic_alerts/all_distribute_topics" datasim_path="/datasim" workdir="/tmp/fink-broker" -git clone --single-branch -b "ztf_dataset_v1" -n --depth=1 --filter=tree:0 \ +git clone --single-branch -b "ztf_dataset_v2" -n --depth=1 --filter=tree:0 \ https://github.com/astrolabsoftware/fink-broker.git "$workdir" git -C "$workdir" sparse-checkout set --no-cone "$data_subpath" git -C "$workdir" checkout echo "Download dataset to $datasim_path" -mv "$workdir/$data_subpath"/* "$datasim_path" \ No newline at end of file +mv "$workdir/$data_subpath"/* "$datasim_path"