Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/word-wrap-1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dacbd committed Jul 26, 2023
2 parents 5703955 + f050c11 commit ce9fc2d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gitlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!
"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion src/drivers/gitlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ce9fc2d

Please sign in to comment.