File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
cloudformation/external-slurmdbd/resources Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,9 @@ jobs:
192192 run : |
193193 git diff --exit-code --quiet -- api/client/src/ ':!api/client/src/.openapi-generator/FILES'
194194 validate-external-slurmdbd-template :
195+ permissions :
196+ contents : write
197+ pull-requests : write
195198 name : External SlurmDBD Template Validation
196199 runs-on : ubuntu-latest
197200 steps :
@@ -205,10 +208,13 @@ jobs:
205208 npm install -g aws-cdk
206209 pip install -r cloudformation/external-slurmdbd/requirements.txt
207210 - working-directory : cloudformation/external-slurmdbd
208- run : cdk synth --no-version-reporting
209- - name : Verify External SlurmDBD Template
210- run :
211- git diff --exit-code --quiet cloudformation/external-slurmdbd/external-slurmdbd.json cloudformation/external-slurmdbd/cdk.out/ExternalSlurmdbdStack.template.json
211+ run : |
212+ cdk synth --no-version-reporting
213+ cp cdk.out/ExternalSlurmdbdStack.template.json external-slurmdbd.json
214+ - name : Create a Pull Request
215+ uses : stefanzweifel/git-auto-commit-action@v5
216+ with :
217+ commit_message : ' update slurmdbd'
212218 shellcheck :
213219 name : Shellcheck
214220 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ CHANGELOG
2929** ENHANCEMENTS**
3030- Add new configuration section ` Scheduling/SlurmSettings/ExternalSlurmdbd ` to connect the cluster to an external Slurmdbd.
3131- Allow build-image to be run in an isolated network.
32- - Add support for Amazon Linux 2023.
32+ - Add support xfor Amazon Linux 2023.
3333- Add support for ` price-capacity-optimized ` as an ` AllocationStrategy ` .
3434- Add validator to prevent the use of Placement Groups with Capacity Blocks.
3535
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ DEVICE_NAME=$(ls /sys/class/net | grep e)
5353# Configure AWS CLI using the expected overrides, if any.
5454[ -f /etc/profile.d/aws-cli-default-config.sh ] && . /etc/profile.d/aws-cli-default-config.sh
5555
56- aws ec2 assign-private-ip-addresses --region " ${AWS:: Region} " --network-interface-id " ${! ENI_ID} " --private-ip-addresses ${PrivateIp} --allow-reassignment
56+ aws ec2 assign-private-ip-addressess --region " ${AWS:: Region} " --network-interface-id " ${! ENI_ID} " --private-ip-addresses ${PrivateIp} --allow-reassignment
5757
5858wait_for_private_ip_assignment || echo " Assignment of private IP ${PrivateIp} was not successful."
5959
You can’t perform that action at this time.
0 commit comments