Skip to content

Commit

Permalink
ubuntu24.04 ci pipeline fix
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <shivaku@nvidia.com>
  • Loading branch information
shivakunv committed Nov 12, 2024
1 parent c83f607 commit b6a3a6e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/holodeck_ubuntu24.04.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ spec:
image:
architecture: amd64
imageId: ami-0da424eb883458071
preInstall:
- name: "Add Docker repository and key"
run: |
# Create the directory for apt keyrings with appropriate permissions
sudo install -m 0755 -d /etc/apt/keyrings
# Download the Docker GPG key and store it
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# Set the GPG key file to be readable by all users
sudo chmod a+r /etc/apt/keyrings/docker.gpg
# Add the Docker repository with the appropriate architecture and signed keyring
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Update the package index
sudo apt-get update
# containerRuntime:
# install: true
# name: containerd
Expand All @@ -29,3 +46,4 @@ spec:
installer: kubeadm
version: v1.30.0
crictlVersion: v1.30.0
containerRuntimeInstall: true

0 comments on commit b6a3a6e

Please sign in to comment.