Skip to content

Commit 25b32d7

Browse files
committed
Using new machines in circleci
1 parent c559b90 commit 25b32d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
2727
k8s:
2828
machine:
29-
image: ubuntu-1604:201903-01
29+
image: ubuntu-2004:202101-01
3030
steps:
3131
- checkout
3232
- run:
@@ -50,7 +50,7 @@ jobs:
5050

5151
openshift:
5252
machine:
53-
image: ubuntu-1604:201903-01
53+
image: ubuntu-2004:202101-01
5454
steps:
5555
- checkout
5656
- run:

openshift/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function oc-cluster-run()
2626
{
2727

2828
# Add internal insecure registry
29-
sudo sed -i 's#^ExecStart=.*#ExecStart=/usr/bin/dockerd --insecure-registry='172.30.0.0/16' -H fd://#' /lib/systemd/system/docker.service
29+
sudo sed -i 's#/usr/bin/dockerd#/usr/bin/dockerd --insecure-registry '172.30.0.0/16'#' /etc/systemd/system/docker.service.d/10-machine.conf
3030
sudo systemctl daemon-reload
3131
sudo systemctl restart docker
3232

0 commit comments

Comments
 (0)