Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug self hosted runner #749

Merged
merged 2 commits into from
Oct 4, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/itest-gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
env:
FINKCTL_VERSION: v1.1.0-rc1
FINKCTL_VERSION: v1.1.0-rc2
NOSCIENCE: true
MINIMAL: true

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/itest-noscience.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: "Fink-broker e2e workflow (noscience, self-hosted)"
on:
push:
pull_request:
branches:
- master
schedule:
# At 03:00 UTC on every day-of-week from Monday through Friday.
- cron: '0 3 * * 1-5'

jobs:
call-workflow-passing-data:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/itest-science.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
# At 05:00 UTC on every day-of-week from Monday through Friday.
- cron: '0 5 * * 1-5'
push:
# branches:
# - master
branches:
- master
pull_request:
branches:
- master
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/itest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
required: true

env:
FINKCTL_VERSION: v1.1.0-rc2
MINIMAL: ${{ inputs.minimal }}
NOSCIENCE: ${{ inputs.noscience }}
# Override the self-hosted runner value
Expand Down Expand Up @@ -126,7 +127,7 @@ jobs:
with:
go-version: '1.19.2'
- name: Install finkctl
run: go install github.com/astrolabsoftware/finkctl@v1.0.0
run: go install github.com/astrolabsoftware/finkctl@"${{ env.FINKCTL_VERSION }}"
- name: Run fink-alert-simulator
run: |
"${{ env.FINK_ALERT_SIMULATOR_DIR }}"/argo-submit.sh
Expand Down
8 changes: 5 additions & 3 deletions examples/alias-fink.sh → examples/aliases-fink.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ MYSHELL=$(echo $SHELL)
MYSHELL=$(basename $MYSHELL)
source <(finkctl completion $MYSHELL)

FINK_BROKER_SRC_DIR="$HOME/src/fink-broker"
FINK_ALERT_SIM_SRC_DIR="$HOME/src/fink-alert-simulator"
FINKCTL_SRC_DIR="$HOME/src/finkctl"
ASTROLAB_DIR="$HOME/src/astrolabsoftware"

FINK_BROKER_SRC_DIR="$ASTROLAB_DIR/fink-broker"
FINK_ALERT_SIM_SRC_DIR="$ASTROLAB_DIR/fink-alert-simulator"
FINKCTL_SRC_DIR="$ASTROLAB_DIR/finkctl"

export FINKCONFIG=$FINK_BROKER_SRC_DIR/itest

Expand Down
Loading