Skip to content

Releases: uc-cdis/sower

0.6.0

21 Feb 15:25
6cb9742
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/sower

Notes since tag: 2021.08-hp1

Notes to tag/commit: 0.6.0

Generated: 2024-02-21

Improvements

  • allow to config customized labels for job (#43)
  • do not output authentication token to logs (#29)
  • Proper verification of JWT token (#25)
  • Update Go 1.17 (requirements to properly verify JWT token (#25)
  • Build flags to make GitCommit and GitVersion available for the code (#25)

Dependency Updates

  • Bumps golang.org/x/net from
    0.0.0-20220121210141-e204ce36a2ba to 0.7.0. (#39)
  • update gopkg.in/yaml.v2 to 2.4.0 (#36)
  • update gopkg.in/yaml.v3 to 3.0.1 (#36)
  • run a go get -u && go mod tidy to update deps and update a function call
    for new version (#32)
  • Remove unused dependencies with go mod tidy (#28)

New Features

  • add GitHub Action for Golang CI (#33)
  • adding golangci-lint (#27)

Bug Fixes

  • Fix linter errors (#34)
  • fix Error: the given key ID was not found in the JWKs, it was looking
    into the wrong URL for JWKs... (#31)
  • fix for incorrect usage of log.Debug vs log.Debugf (#30)
  • Fix for x509: certificate signed by unknown authority (#25)

Add filtering of list of jobs/outputs based on the user email

26 Aug 18:10
34618d6
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/sower
Notes since tag: 2021.08
Notes to tag/commit: 2021.08-hp1
Generated: 2021-08-26

New Features

  • add filtering of list of jobs/outputs based on the user email (#23)

Support Configurable Job Deadlines

15 May 17:05
a6590e4
Compare
Choose a tag to compare
0.5.0

feat(deadline): allow overiding default deadline for a given job type…

Support k8s service account in jobs

01 May 20:04
d5d4676
Compare
Choose a tag to compare
  • If sa provided, add to job config

Fix None token

05 Mar 18:17
bf5df61
Compare
Choose a tag to compare
Fix/token (#13)

* feat(test): test

* fix(token): fix null token

Multiple action support

02 Aug 16:54
Compare
Choose a tag to compare

Breaking change: adding support of multiple actions.

For dispatch the request should include action field:

{
    "action": "export",
    "input": <here goes the original request as a JSON>
}

Would be release as version 0.3.0.

Possible configuration for "Export to PFB" in manifest:

  "sower": [
    {
      "name": "pelican-export",
      "action": "export",
      "container": {
        "name": "job-task",
        "image": "quay.io/cdis/pelican:0.1.1",
        "pull_policy": "Always",
        "env": [
          {
            "name": "DICTIONARY_URL",
            "valueFrom": {
              "configMapKeyRef": {
                "name": "manifest-global",
                "key": "dictionary_url"
              }
            }
          },
          {
            "name": "GEN3_HOSTNAME",
            "valueFrom": {
              "configMapKeyRef": {
                "name": "manifest-global",
                "key": "hostname"
              }
            }
          },
          {
            "name": "ROOT_NODE",
            "value": "case"
          }
        ],
        "volumeMounts": [
          {
            "name": "pelican-creds-volume",
            "readOnly": true,
            "mountPath": "/pelican-creds.json",
            "subPath": "config.json"
          },
          {
            "name": "peregrine-creds-volume",
            "readOnly": true,
            "mountPath": "/peregrine-creds.json",
            "subPath": "creds.json"
          }
        ],
        "cpu-limit": "1",
        "memory-limit": "12Gi"
      },
      "volumes": [
        {
          "name": "pelican-creds-volume",
          "secret": {
            "secretName": "pelicanservice-g3auto"
          }
        },
        {
          "name": "peregrine-creds-volume",
          "secret": {
            "secretName": "peregrine-creds"
          }
        }
      ],
      "restart_policy": "Never"
    }
  ]

Requires data-portal version >= 2.17.0.

Mickey support

12 Jun 17:06
3e7d8f4
Compare
Choose a tag to compare

Initial support for Mickey job.