Skip to content

Commit

Permalink
Merge pull request #34 from nebius/dev/soperator
Browse files Browse the repository at this point in the history
build soperator release 1.14.4
  • Loading branch information
asteny authored Oct 9, 2024
2 parents be01e4f + 7f4a0ec commit 15a7245
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/soperator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@ jobs:
- name: Get Version
id: get_version
run: |
echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
echo "FILE_VERSION=$(cat VERSION | tr '.' '_' | tr '-' '_')" >> $GITHUB_ENV
echo "VERSION=$(cat soperator/VERSION)" >> $GITHUB_ENV
echo "FILE_VERSION=$(cat soperator/VERSION | tr '.' '_' | tr '-' '_')" >> $GITHUB_ENV
- name: Create GitHub Release and Upload terraform tarball
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ env.VERSION }}
tag_name: soperator-v${{ env.VERSION }}
name: Soperator terraform v${{ env.VERSION }}
draft: false
prerelease: false
files: |
soperator/releases/slurm_operator_tf_${{ env.FILE_VERSION }}.tar.gz
soperator/releases/soperator_tf_${{ env.FILE_VERSION }}.tar.gz
- name: Cleanup
run: rm -rf soperator/releases/slurm_operator_tf_${{ env.FILE_VERSION }}.tar.gz
run: rm -rf soperator/releases/soperator_tf_${{ env.FILE_VERSION }}.tar.gz
2 changes: 1 addition & 1 deletion soperator/release_terraform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ done
version=$(echo "${VERSION}" | tr '.' '_' | tr '-' '_')

mkdir -p releases
tarball="releases/soperator-tf-${version}.tar.gz"
tarball="releases/soperator_tf_${version}.tar.gz"
if [ ! -f "$tarball" ] || [ -n "$force" ]; then
tar -czf "$tarball" \
installations \
Expand Down

0 comments on commit 15a7245

Please sign in to comment.