ood_core 0.23.4 → 0.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aaa540da7d8afffa45674650d11ef7bf260e55ff44e32244950d233e1d4d145a
4
- data.tar.gz: ff4e1fbe8c59309f36fc45c634cb27752d71e3e66e847496ab3678f556a90e8b
3
+ metadata.gz: dd70ee666e6339110f07224c339fb666d7e130c44854784d818ef6a87172e610
4
+ data.tar.gz: a39550f3b74ea8b50aa28c35398d96dbf36d38e6768a37afa65c815cd5bd9cc2
5
5
  SHA512:
6
- metadata.gz: bc0fecb3a8eae6db9c5d6c40d62d4568f930fc197a153ec28a0942ec2d2bc8da0e488e6fe86d906ce03ca2ae53d911c43804623e7b185335281d23b1cef7af41
7
- data.tar.gz: 56eae7c8a31c5f4b625b06b33b84def3d80a0652bd883f39f656a276c63e7224b88cb9ed801ef4482e62d1eeee6aeff366787414d21c52daf03cc4eb2265d83a
6
+ metadata.gz: d5e9f4ab2800182ebc7f8e7d1c975ba49a4d9e079731856f05cb85ae30e610a8cd9c51db8354aae4a4a6b99bfdd512a544dabc2d518e2fb089f96bd86be82976
7
+ data.tar.gz: ce37e66c311f9b1ddf7d2bd24b9213be4b1a676913bcc6e4242d4b9e84dcf175a5d4ea6e4fa4400ad3bf42d0bbf10e3829f1c145330bad916b581731e871aa30
data/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.23.5] - 04-10-2023
11
+
12
+ ### Fixed
13
+
14
+ - [804](https://github.com/OSC/ood_core/pull/804) fixed a kubernetes bug in the
15
+ `info_all` code path.
16
+ - Slurm `-M` flag now correctly accounts for full path `sacctmgr` commands in
17
+ [807](https://github.com/OSC/ood_core/pull/807).
18
+
10
19
  ## [0.23.4] - 03-06-2023
11
20
 
12
21
  ### Fixed
@@ -500,8 +509,9 @@ Functionally the same as [0.17.3] but with some CI updates.
500
509
  - Initial release!
501
510
 
502
511
  [Unreleased]: https://github.com/OSC/ood_core/compare/v0.23.4...HEAD
503
- [0.23.4]: https://github.com/OSC/ood_core/compare/v0.23.4...v0.23.3
504
- [0.23.3]: https://github.com/OSC/ood_core/compare/v0.23.3...v0.23.2
512
+ [0.23.5]: https://github.com/OSC/ood_core/compare/v0.23.4...v0.23.5
513
+ [0.23.4]: https://github.com/OSC/ood_core/compare/v0.23.3...v0.23.4
514
+ [0.23.3]: https://github.com/OSC/ood_core/compare/v0.23.2...v0.23.3
505
515
  [0.23.2]: https://github.com/OSC/ood_core/compare/v0.23.1...v0.23.2
506
516
  [0.23.1]: https://github.com/OSC/ood_core/compare/v0.23.0...v0.23.1
507
517
  [0.23.0]: https://github.com/OSC/ood_core/compare/v0.22.0...v0.23.0
@@ -306,10 +306,7 @@ class OodCore::Job::Adapters::Kubernetes::Batch
306
306
 
307
307
  def pod_info_from_json(pod)
308
308
  hash = helper.pod_info_from_json(pod)
309
- K8sJobInfo.new(hash)
310
- rescue Helper::K8sDataError
311
- # FIXME: silently eating error, could probably use a logger
312
- nil
309
+ OodCore::Job::Adapters::Kubernetes::K8sJobInfo.new(hash)
313
310
  end
314
311
 
315
312
  def configure_auth(auth)
@@ -377,7 +377,7 @@ module OodCore
377
377
  cmd = OodCore::Job::Adapters::Helper.bin_path(cmd, bin, bin_overrides)
378
378
 
379
379
  args = args.map(&:to_s)
380
- args.concat ["-M", cluster] if cluster && cmd != 'sacctmgr'
380
+ args.concat ["-M", cluster] if cluster && !cmd.to_s.end_with?('sacctmgr')
381
381
 
382
382
  env = env.to_h
383
383
  env["SLURM_CONF"] = conf.to_s if conf
@@ -1,4 +1,4 @@
1
1
  module OodCore
2
2
  # The current version of {OodCore}
3
- VERSION = "0.23.4"
3
+ VERSION = "0.23.5"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ood_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.4
4
+ version: 0.23.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Franz
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2023-03-06 00:00:00.000000000 Z
13
+ date: 2023-04-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ood_support