Skip to content

Commit dde2ac2

Browse files
author
Yaron Schwimmer
authored
Merge pull request #1083 from snyk/chore/fix-skopeo-install
chore: fix skopeo install
2 parents 8bff146 + caa0284 commit dde2ac2

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.circleci/config.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -952,19 +952,14 @@ jobs:
952952
system_tests:
953953
machine:
954954
docker_layer_caching: true
955-
image: ubuntu-2004:202111-01
955+
image: ubuntu-2204:current
956956
steps:
957957
- checkout
958958
- setup_node16
959959
- install_python_requests
960960
- run:
961961
command: |
962962
export DEBIAN_FRONTEND=noninteractive
963-
sudo apt-get update
964-
sudo apt-get install -y wget gnupg
965-
. /etc/os-release
966-
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
967-
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O- | sudo apt-key add -
968963
sudo apt-get update -qq
969964
sudo apt-get install skopeo
970965
name: Install Skopeo

.circleci/config/jobs/@jobs.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ unit_tests:
5959

6060
system_tests:
6161
machine:
62-
image: ubuntu-2004:202111-01
62+
image: ubuntu-2204:current
6363
docker_layer_caching: true
6464
working_directory: ~/kubernetes-monitor
6565
steps:
@@ -70,11 +70,6 @@ system_tests:
7070
name: Install Skopeo
7171
command: |
7272
export DEBIAN_FRONTEND=noninteractive
73-
sudo apt-get update
74-
sudo apt-get install -y wget gnupg
75-
. /etc/os-release
76-
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
77-
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O- | sudo apt-key add -
7873
sudo apt-get update -qq
7974
sudo apt-get install skopeo
8075
- run:

0 commit comments

Comments
 (0)