File tree 4 files changed +60
-8
lines changed
4 files changed +60
-8
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2024 NVIDIA CORPORATION
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ name : " CodeQL"
16
+
17
+ on :
18
+ pull_request :
19
+ types :
20
+ - opened
21
+ - synchronize
22
+ branches :
23
+ - main
24
+ - release-*
25
+ push :
26
+ branches :
27
+ - main
28
+ - release-*
29
+
30
+ jobs :
31
+ analyze :
32
+ name : Analyze Go code with CodeQL
33
+ runs-on : ubuntu-latest
34
+ timeout-minutes : 360
35
+ permissions :
36
+ security-events : write
37
+ packages : read
38
+ steps :
39
+ - name : Checkout repository
40
+ uses : actions/checkout@v4
41
+ - name : Initialize CodeQL
42
+ uses : github/codeql-action/init@v3
43
+ with :
44
+ languages : go
45
+ build-mode : manual
46
+ - shell : bash
47
+ run : |
48
+ make build
49
+ - name : Perform CodeQL Analysis
50
+ uses : github/codeql-action/analyze@v3
51
+ with :
52
+ category : " /language:go"
Original file line number Diff line number Diff line change 35
35
run : |
36
36
echo "COMMIT_SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV
37
37
- name : Set up Holodeck
38
-
38
+
39
39
with :
40
40
aws_access_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
41
41
aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ jobs:
36
36
echo "COMMIT_SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV
37
37
GOLANG_VERSION=$(./hack/golang-version.sh)
38
38
echo "GOLANG_VERSION=${GOLANG_VERSION##GOLANG_VERSION := }" >> $GITHUB_ENV
39
- echo "HOLODECK_VCENTER_USERNAME=${HOLODECK_VCENTER_USERNAME}" >> $GITHUB_ENV
40
- echo "HOLODECK_VCENTER_PASSWORD=${HOLODECK_VCENTER_PASSWORD}" >> $GITHUB_ENV
41
- cat /home/runner/.ssh/vsphere-key > ${GITHUB_WORKSPACE}/holodeck_ssh_key
42
39
- name : Set up Holodeck
43
-
40
+
44
41
with :
42
+ vsphere_username : ${{ secrets.VSPHERE_USERNAME }}
43
+ vsphere_password : ${{ secrets.VSPHERE_PASSWORD }}
44
+ vsphere_ssh_key : ${{ secrets.VSPHERE_SSH_KEY }}
45
45
holodeck_config : " tests/e2e/infra/vsphere.yaml"
46
46
- name : Intall dependencies
47
47
run : |
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- ARG GOLANG_VERSION=1.20.5
16
- FROM nvidia/cuda:12.5.1 -base-ubi8 as build
15
+ ARG GOLANG_VERSION=1.22.6
16
+ FROM nvidia/cuda:12.6.0 -base-ubi8 as build
17
17
18
18
RUN yum install -y \
19
19
wget make git gcc \
@@ -44,7 +44,7 @@ ARG VERSION="N/A"
44
44
ARG GIT_COMMIT="unknown"
45
45
RUN make PREFIX=/artifacts cmds
46
46
47
- FROM nvidia/cuda:12.5.1 -base-ubi8
47
+ FROM nvidia/cuda:12.6.0 -base-ubi8
48
48
49
49
# Remove CUDA libs(compat etc) in favor of libs installed by the NVIDIA driver
50
50
RUN dnf remove -y cuda-*
You can’t perform that action at this time.
0 commit comments