Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
List of MorphoCloudWorkflow changes:

```
$ git shortlog 46b0286..77076cf --no-merges
Jean-Christophe Fillion-Robin (1):
      feat(create-instance): Create .Renviron file
```

See MorphoCloud/MorphoCloudWorkflow@46b0286...77076cf
  • Loading branch information
jcfr committed Nov 26, 2024
1 parent f256423 commit 13a9d60
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/create-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,30 @@ jobs:
See details at https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Create Renviron file
id: create_renviron_file
run: |
ssh \
-o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \
-o LogLevel=ERROR \
exouser@$INSTANCE_IP \
'echo -e "R_LIBS_SITE=/media/share/MorphoCloudCephShare/R/x86_64-pc-linux-gnu-library/4.4/\nR_LIBS_USER=/media/volume/MyData/R/x86_64-pc-linux-gnu-library/4.4/" > /home/exouser/.Renviron'
env:
INSTANCE_IP: ${{ steps.ip_create.outputs.floating_ip_address }}

- name: comment (failed to create /home/exouser/.Renviron)
if: ${{ steps.create_renviron_file.outcome == 'failure' && failure() }}
uses: peter-evans/create-or-update-comment@v4.0.0
with:
issue-number: ${{ github.event.issue.number }}
body: |
### Instance Creation Results ❌
Failed to create `/home/exouser/.Renviron` file for instance **${{ steps.define.outputs.instance_name }}**.
See details at https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Update Request Status Label
id: update-request-status-label
uses: ./.github/actions/update-request-status-label
Expand Down

0 comments on commit 13a9d60

Please sign in to comment.