Skip to content

Commit 42a674b

Browse files
authored
Merge pull request #36 from astrolabsoftware/899-update-integration-tests
899 update integration tests
2 parents dcc8ff1 + 15b5ddd commit 42a674b

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
fi
4747
echo "IMAGE=$CIUX_IMAGE_URL" >> "$GITHUB_OUTPUT"
4848
echo "PROMOTED_IMAGE=$CIUX_PROMOTED_IMAGE_URL" >> "$GITHUB_OUTPUT"
49-
- uses: actions/upload-artifact@v2
49+
- uses: actions/upload-artifact@v4
5050
with:
5151
name: docker-artifact
5252
path: artifacts
@@ -60,7 +60,7 @@ jobs:
6060
- name: Checkout code
6161
uses: actions/checkout@v2
6262
- name: Download image
63-
uses: actions/download-artifact@v3
63+
uses: actions/download-artifact@v4
6464
with:
6565
name: docker-artifact
6666
path: artifacts
@@ -91,7 +91,7 @@ jobs:
9191
needs: build
9292
steps:
9393
- name: Download image
94-
uses: actions/download-artifact@v3
94+
uses: actions/download-artifact@v4
9595
with:
9696
name: docker-artifact
9797
path: artifacts

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ciux ignite $DIR
4949
. $CIUXCONFIG
5050

5151
# Build image
52-
docker image build --tag "$CIUX_IMAGE_URL"
52+
docker image build --tag "$CIUX_IMAGE_URL" "$DIR"
5353

5454
echo "Build successful"
5555

chart/templates/configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ data:
3232
DISPLAY_FIELD="objectId"
3333
3434
# Number of alerts to send simultaneously per observations.
35-
NALERTS_PER_OBS=3
35+
NALERTS_PER_OBS=300
3636
3737
# Number of observations to make. Note that the total
3838
# number of alerts will be NALERTS_PER_OBS * NOBSERVATIONS
3939
# Set it to -1 if you want all alerts to be sent.
40-
NOBSERVATIONS=4
40+
NOBSERVATIONS=-1
4141
4242
# Time between 2 observations (second)
4343
TIME_INTERVAL=5

rootfs/fink/bin/download_datasim.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
set -euxo pipefail
2222

23-
data_subpath="datasim/basic_alerts/local"
23+
data_subpath="datasim/basic_alerts/all_distribute_topics"
2424
datasim_path="/datasim"
2525
workdir="/tmp/fink-broker"
2626

27-
git clone --single-branch -b "ztf_dataset_v1" -n --depth=1 --filter=tree:0 \
27+
git clone --single-branch -b "ztf_dataset_v2" -n --depth=1 --filter=tree:0 \
2828
https://github.com/astrolabsoftware/fink-broker.git "$workdir"
2929
git -C "$workdir" sparse-checkout set --no-cone "$data_subpath"
3030
git -C "$workdir" checkout
3131

3232
echo "Download dataset to $datasim_path"
33-
mv "$workdir/$data_subpath"/* "$datasim_path"
33+
mv "$workdir/$data_subpath"/* "$datasim_path"

0 commit comments

Comments
 (0)