Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

4 changes: 2 additions & 2 deletions chart/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions rootfs/fink/bin/download_datasim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
mv "$workdir/$data_subpath"/* "$datasim_path"