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/.github/workflows/images.yml b/.github/workflows/images.yml index a89d56931..b81f1fa7a 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -16,12 +16,12 @@ 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 - cuda: 11.2.1 + cuda: 11.2.2 cudnn: 8 - latest: true # update the values below after introducing a new major version base: 1 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 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() {