Skip to content

Commit

Permalink
fix CI and add Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-oleynik committed Sep 19, 2024
1 parent 9572cb8 commit f8bee5d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-slurm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: "Download Slurm ${{ github.ref_name }}"
command: |
run: |
curl https://download.schedmd.com/slurm/slurm-${{ github.ref_name }}.tar.bz2 -o slurm.tar.bz2
- name: "Unpack Slurm Sources"
command: |
run: |
tar -xjvf ./slurm.tar.bz2
- name: "Build/Install Dependencies"
working-directory: ./slurm-${{ github.ref_name }}
command: |
run: |
yes | mk-build-deps -i debian/control
- name: "Build Packages"
working-directory: ./slurm-${{ github.ref_name }}
command: |
run: |
debuild -b -uc -us
- name: "Create Release Artifact"
uses: softprops/action-gh-releases@v2
Expand Down
13 changes: 13 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Slurm Debian Packages

## Generate New Packages and Dockerimage

Releases are created from tags.
To create a new release for a new Slurm version run:

```bash
git tag "<slurm_version>"
git push --tags
```

The corresponding packages and image are created using [GitHub Actions](./.github/workflows/build-slurm-packages.yml).

0 comments on commit f8bee5d

Please sign in to comment.