Skip to content

Commit b099d73

Browse files
author
Noah Meyerhans
committed
Re-order some CI steps
With GitHub's recent change to enforce stronger hash algorithms, Circle CI was unable to clone the project repository. By installing our dependencies earlier in the workflow, we are able to ensure that the AL2 git and ssh clients are used, which do support the newer algorithms. Details in this discussion on the Circle CI forums: https://discuss.circleci.com/t/discussion-and-resolution-for-error-youre-using-an-rsa-key-with-sha-1-which-is-no-longer-allowed/42572
1 parent 512c72c commit b099d73

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
docker:
1010
- image: public.ecr.aws/amazonlinux/amazonlinux:2
1111
steps:
12-
- checkout
1312
- run:
1413
name: "Install dependencies"
1514
command: |
1615
yum -y install python-pip git
1716
pip install flake8
17+
- checkout
1818
- run:
1919
name: "flake8"
2020
command: "git grep -l '^#!/usr/bin/env python' | xargs flake8 ebsnvme-id"
@@ -23,11 +23,11 @@ jobs:
2323
docker:
2424
- image: public.ecr.aws/amazonlinux/amazonlinux:2
2525
steps:
26-
- checkout
2726
- run:
2827
name: "Install dependencies"
2928
command: |
30-
yum -y install rpm-build python
29+
yum -y install rpm-build python git
30+
- checkout
3131
- run:
3232
name: "rpmbuild"
3333
command: "rpmbuild --define \"_sourcedir $PWD\" -bb amazon-ec2-utils.spec"

0 commit comments

Comments
 (0)