ood_core 0.23.3 → 0.23.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5eeeaa19f116b7edd7e4169b49e0ca74f0e43355d756ef3b3eb14edaf1f9de00
4
- data.tar.gz: aaa6d9a8ef9a2e1a2e1f7396c27eb101faba8c639cf8b088f5a1e62adbe6e97b
3
+ metadata.gz: dd70ee666e6339110f07224c339fb666d7e130c44854784d818ef6a87172e610
4
+ data.tar.gz: a39550f3b74ea8b50aa28c35398d96dbf36d38e6768a37afa65c815cd5bd9cc2
5
5
  SHA512:
6
- metadata.gz: f36e3835a742b19e04c699e2913ec09c601c2dd912300615cad119c2ccc71482552690a0050b626f8cf024c13f40510430fb8747942c2bf37e3fa9a5040123d4
7
- data.tar.gz: 29dfedd6a597f8b794fc5105e74bd0f4a2933ec423a7ad026a5c3ee6f3f531a9cb2b24956140c4afd0606897df22fd34771fbeb6d10fae63e8ba3b778317c6a0
6
+ metadata.gz: d5e9f4ab2800182ebc7f8e7d1c975ba49a4d9e079731856f05cb85ae30e610a8cd9c51db8354aae4a4a6b99bfdd512a544dabc2d518e2fb089f96bd86be82976
7
+ data.tar.gz: ce37e66c311f9b1ddf7d2bd24b9213be4b1a676913bcc6e4242d4b9e84dcf175a5d4ea6e4fa4400ad3bf42d0bbf10e3829f1c145330bad916b581731e871aa30
data/CHANGELOG.md CHANGED
@@ -7,6 +7,28 @@ 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
+
19
+ ## [0.23.4] - 03-06-2023
20
+
21
+ ### Fixed
22
+
23
+ - [800](https://github.com/OSC/ood_core/pull/800) fixed some Fujitsu bugs.
24
+
25
+ ## [0.23.3] - 02-17-2023
26
+
27
+ ### Added
28
+
29
+ - ACLs now respond to `allowlist` and `blocklist` in [795](https://github.com/OSC/ood_core/pull/795).
30
+ - Sites can now use `OOD_SSH_PORT` to use a nonstandard port in [797](https://github.com/OSC/ood_core/pull/797).
31
+
10
32
  ## [0.23.2] - 02-02-2023
11
33
 
12
34
  ### Fixed
@@ -486,7 +508,10 @@ Functionally the same as [0.17.3] but with some CI updates.
486
508
  ### Added
487
509
  - Initial release!
488
510
 
489
- [Unreleased]: https://github.com/OSC/ood_core/compare/v0.23.2...HEAD
511
+ [Unreleased]: https://github.com/OSC/ood_core/compare/v0.23.4...HEAD
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
490
515
  [0.23.2]: https://github.com/OSC/ood_core/compare/v0.23.1...v0.23.2
491
516
  [0.23.1]: https://github.com/OSC/ood_core/compare/v0.23.0...v0.23.1
492
517
  [0.23.0]: https://github.com/OSC/ood_core/compare/v0.22.0...v0.23.0
@@ -221,10 +221,12 @@ module OodCore
221
221
  else
222
222
  args.concat ["-e", script.error_path]
223
223
  end
224
- args.concat ["--rscgrp", script.queue_name] unless script.queue_name.nil?
224
+ args.concat ["-L rscgrp=" + script.queue_name] unless script.queue_name.nil?
225
225
  args.concat ["-p", script.priority] unless script.priority.nil?
226
- args.concat ["--at", script.start_time.localtime.strftime("%C%y-%m-%dT%H:%M:%S")] unless script.start_time.nil?
227
- args.concat ["-L \"elapse=" + seconds_to_duration(script.wall_time) + "\""] unless script.wall_time.nil?
226
+
227
+ # start_time: <%= Time.local(2023,11,22,13,4).to_i %> in form.yml.erb
228
+ args.concat ["--at", script.start_time.localtime.strftime("%C%y%m%d%H%M")] unless script.start_time.nil?
229
+ args.concat ["-L elapse=" + seconds_to_duration(script.wall_time)] unless script.wall_time.nil?
228
230
  args.concat ["--bulk", "--sparam", script.job_array_request] unless script.job_array_request.nil?
229
231
 
230
232
  # Set environment variables
@@ -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.3"
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.3
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-02-17 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