Skip to content

Commit

Permalink
circleci: Revert switch to CDN due to breakage
Browse files Browse the repository at this point in the history
This reverts commit 27fdddf due to it causing random failures.
Change agreed on here: #10560

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
  • Loading branch information
diizzyy committed Nov 22, 2019
1 parent 9d57b11 commit 23c332e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
docker:
- image: docker.io/openwrtorg/packages-cci:v1.0.5
environment:
- SDK_HOST: "cdn.openwrt.org"
- SDK_HOST: "downloads.openwrt.org"
- SDK_PATH: "snapshots/targets/ath79/generic"
- SDK_FILE: "openwrt-sdk-ath79-generic_*.Linux-x86_64.tar.xz"
- BRANCH: "master"
Expand Down Expand Up @@ -86,9 +86,7 @@ jobs:
exit 1
fi
fi
PATTERN=$(echo "$SDK_FILE\$" | sed -e 's/\./\\./g' -e 's/\*/.*/g')
FILENAME=$(grep -m1 -o "$PATTERN" sha256sums)
curl "https://$SDK_HOST/$SDK_PATH/$FILENAME" -sS -o "$FILENAME"
rsync -av "$SDK_HOST::downloads/$SDK_PATH/$SDK_FILE" .
sha256sum -c --ignore-missing sha256sums
- run:
Expand Down

0 comments on commit 23c332e

Please sign in to comment.