Skip to content

Commit

Permalink
Merge pull request #237 from grycap/devel
Browse files Browse the repository at this point in the history
Merge features for release
  • Loading branch information
catttam authored May 20, 2024
2 parents 5341505 + 5c74c9e commit 9f5e509
Show file tree
Hide file tree
Showing 24 changed files with 561 additions and 265 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.18'
go-version: '1.21'

- name: Run tests
run: go test ./pkg/... -cover -coverprofile=profile.cov
Expand All @@ -23,4 +23,4 @@ jobs:
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: profile.cov
force-coverage-parser: go
force-coverage-parser: go
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18 as build
FROM golang:1.21 as build

ARG VERSION
ARG GIT_COMMIT
Expand Down
2 changes: 1 addition & 1 deletion docs/fdl.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ storage_providers:
| `alpine` </br> *boolean* | Alpine parameter to set if image is based on Alpine. If `true` a custom release of faas-supervisor will be used. Optional (default: false) |
| `script` </br> *string* | Local path to the user script to be executed in the service container |
| `file_stage_in` </br> *bool* | Parameter to skip the download of the input files by the FaaS Supervisor (default: false) |
| `image_pull_secrets` </br> *string array* | Array of Kubernetes secrets. Only needed to use private images located on private registries. |
| `image_pull_secrets` </br> *string array* | Array of Kubernetes secrets. Only needed to use private images located on private registries. | `allowed_users` </br> *string array* | Array of EGI UIDS to allow specific users to interact with the service. (Can be used since version of OSCAR v3.0.0) |
| `memory` </br> *string* | Memory limit for the service following the [kubernetes format](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory). Optional (default: 256Mi) |
| `cpu` </br> *string* | CPU limit for the service following the [kubernetes format](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu). Optional (default: 0.2) |
| `enable_gpu` </br> *bool* | Parameter to enable the use of GPU for the service. Requires a device plugin deployed on the cluster (More info: [Kubernetes device plugins](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/#using-device-plugins)). Optional (default: false) |
Expand Down
32 changes: 17 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
module github.com/grycap/oscar/v3

go 1.18
go 1.21

toolchain go1.21.4

require (
github.com/aws/aws-sdk-go v1.44.189
github.com/gin-gonic/gin v1.9.1
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-logr/logr v1.3.0 // indirect
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/goccy/go-yaml v1.9.8
github.com/google/gofuzz v1.2.0 // indirect
Expand All @@ -21,29 +23,31 @@ require (
github.com/tinylib/msgp v1.1.8 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.8.0
golang.org/x/oauth2 v0.10.0
gopkg.in/ini.v1 v1.67.0 // indirect
k8s.io/api v0.26.1
k8s.io/apimachinery v0.26.1
k8s.io/client-go v0.26.1
k8s.io/klog/v2 v2.90.0 // indirect
k8s.io/utils v0.0.0-20230115233650-391b47cb4029 // indirect
k8s.io/api v0.29.2
k8s.io/apimachinery v0.29.2
k8s.io/client-go v0.29.2
k8s.io/klog/v2 v2.110.1 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
)

require (
github.com/fatih/color v1.14.1 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/rs/xid v1.4.0 // indirect
golang.org/x/time v0.3.0 // indirect
k8s.io/kube-openapi v0.0.0-20230127205639-68031ae9242a // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

require (
github.com/apache/yunikorn-core v1.1.0
github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df
github.com/coreos/go-oidc/v3 v3.5.0
github.com/foomo/htpasswd v0.0.0-20200116085101-e3a90e78da9c
k8s.io/metrics v0.29.2
knative.dev/serving v0.36.0
)

Expand All @@ -54,10 +58,9 @@ require (
github.com/bytedance/sonic v1.9.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/foomo/htpasswd v0.0.0-20200116085101-e3a90e78da9c // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.1 // indirect
Expand All @@ -70,13 +73,12 @@ require (
github.com/goccy/go-json v0.10.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gnostic v0.6.9 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-containerregistry v0.13.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/lufia/plan9stats v0.0.0-20230110061619-bbe2e5e100de // indirect
github.com/mailru/easyjson v0.7.7 // indirect
Expand Down Expand Up @@ -118,5 +120,5 @@ require (
knative.dev/networking v0.0.0-20230123233838-db2bcbea2560 // indirect
knative.dev/pkg v0.0.0-20230125083639-408ad0773f47 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
)
Loading

0 comments on commit 9f5e509

Please sign in to comment.