Skip to content

Commit fac26e1

Browse files
committed
Ensure Cubit license seats are freed
1 parent 14a4170 commit fac26e1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
/opt/Coreform-Cubit-2025.8/bin/rlm_activate --login ${EMAIL_SECRET} ${PASSWORD_SECRET}
2828
cd tests
2929
pytest -v .
30-
/opt/Coreform-Cubit-2025.8/bin/rlm_activate --logout
3130
env:
3231
EMAIL_SECRET: ${{ secrets.LICENSE_EMAIL }}
3332
PASSWORD_SECRET: ${{ secrets.LICENSE_PASSWORD }}
33+
- name: Free Cubit license seat
34+
# By default, steps only run if previous steps succeed - ensure we free up Cubit license seat
35+
if: always()
36+
run: /opt/Coreform-Cubit-2025.8/bin/rlm_activate --logout

.github/workflows/docker_publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,12 @@ jobs:
7171
run: |
7272
. /opt/etc/bashrc
7373
/opt/Coreform-Cubit-2025.8/bin/rlm_activate --login ${EMAIL_SECRET} ${PASSWORD_SECRET}
74-
cd /opt/parastell/tests
74+
cd tests
7575
pytest -v .
76-
/opt/Coreform-Cubit-2025.8/bin/rlm_activate --logout
7776
env:
7877
EMAIL_SECRET: ${{ secrets.LICENSE_EMAIL }}
7978
PASSWORD_SECRET: ${{ secrets.LICENSE_PASSWORD }}
79+
- name: Free Cubit license seat
80+
# By default, steps only run if previous steps succeed - ensure we free up Cubit license seat
81+
if: always()
82+
run: /opt/Coreform-Cubit-2025.8/bin/rlm_activate --logout

0 commit comments

Comments
 (0)