From 9caa15d6c4a381afab6495aaff3039178d52a50a Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 14 Jun 2019 08:26:09 -0400 Subject: [PATCH] Get ca-certificates earlier --- .circleci/config.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7fff1e9f..963f0928 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,16 @@ jobs: docker: - image: "nixos/nix:2.2.1" steps: + - run: + name: "Install CA Certificates" + command: | + # Required for cache and artifact interactions. Though we use a + # nix image, it's actually an alpine base... The CircleCI cache + # management and artifact uploader doesn't know how to use the nix + # ca bundle we could install. + apk update + apk add ca-certificates + - run: name: "Install Git" command: | @@ -35,11 +45,6 @@ jobs: name: "Nix Build" command: | nix-build - # Required to upload artifacts. Though we use a nix image, it's - # actually an alpine base... The CircleCI artifact uploader - # doesn't know how to use the nix ca bundle we could install. - apk update - apk add ca-certificates - save_cache: key: "v1-nix-store" -- GitLab