From aaaed0054c1608714fc9703c07f89b77bdfa9c81 Mon Sep 17 00:00:00 2001 From: Daniel Barnes Date: Wed, 26 Jul 2023 12:02:02 -0700 Subject: [PATCH 1/3] cuda 11.2.2 (#1405) --- .github/workflows/images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index a89d56931..f387af46e 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -21,7 +21,7 @@ jobs: - base: 1 ubuntu: 20.04 python: 3.8 - cuda: 11.2.1 + cuda: 11.2.2 cudnn: 8 - latest: true # update the values below after introducing a new major version base: 1 From 53576164cccf7eb31be2c2a2db81a38c5a85febd Mon Sep 17 00:00:00 2001 From: Daniel Barnes Date: Wed, 26 Jul 2023 13:38:24 -0700 Subject: [PATCH 2/3] additional cuda updates (#1406) * additional cuda update * ref correct version * Update README.md * readme links * typo --------- Co-authored-by: Helio Machado <0x2b3bfa0+git@googlemail.com> --- .github/workflows/images.yml | 4 ++-- README.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index f387af46e..b81f1fa7a 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -16,8 +16,8 @@ jobs: - base: 0 ubuntu: 18.04 python: 2.7 - cuda: 10.1 - cudnn: 7 + cuda: 11.2.2 + cudnn: 8 - base: 1 ubuntu: 20.04 python: 3.8 diff --git a/README.md b/README.md index 574b05332..0dd84e15e 100644 --- a/README.md +++ b/README.md @@ -641,3 +641,7 @@ These are some example projects using CML. :key: :key: needs a [PAT](#environment-variables). + + +# :warning: Maintenance :warning: +- ~2023-07 Nvidia has dropped container CUDA images with [10.x](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=10)/[cudnn7](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=cudnn7) and [11.2.1](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=11.2.1), CML images will be updated accrodingly From f050c118bed5f629e45882e48dbf0f59b20047f0 Mon Sep 17 00:00:00 2001 From: Nicolas Pierre Date: Wed, 26 Jul 2023 23:02:18 +0200 Subject: [PATCH 3/3] fix: replace deprecated gitlab ci var (#1404) * fix: replace deprecated gitlab ci var GitLab 16.x deprecated several variables including CI_BUILD_REF_NAME. In order to be exhaustive, two variables are replacing it: CI_COMMIT_BRANCH (prefered) and CI_COMMIT_REF_NAME. Issue: #1403 * Update src/drivers/gitlab.js * ci: add expires_at in gitlab credentials --------- Co-authored-by: Daniel Barnes --- .github/workflows/gitlab.yml | 2 +- src/drivers/gitlab.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gitlab.yml b/.github/workflows/gitlab.yml index 56b455fb8..a66e7d61c 100644 --- a/.github/workflows/gitlab.yml +++ b/.github/workflows/gitlab.yml @@ -28,7 +28,7 @@ jobs: ; user.password = '${{ github.token }}' ; user.password_confirmation = '${{ github.token }}' ; user.save! - ; token = user.personal_access_tokens.create(scopes: [:api], name: 'Token') + ; token = user.personal_access_tokens.create(scopes: [:api], name: 'Token', expires_at: 1.days.from_now) ; token.set_token('${{ github.token }}') ; token.save! " diff --git a/src/drivers/gitlab.js b/src/drivers/gitlab.js index f5cb6a7df..932964ea6 100644 --- a/src/drivers/gitlab.js +++ b/src/drivers/gitlab.js @@ -530,7 +530,10 @@ class Gitlab { } get branch() { - return process.env.CI_BUILD_REF_NAME; + if ('CI_COMMIT_BRANCH' in process.env) { + return process.env.CI_COMMIT_BRANCH; + } + return process.env.CI_COMMIT_REF_NAME; } get userEmail() {