Skip to content

Commit d247c37

Browse files
yf225JoelMarcey
authored andcommitted
Fix GPG key error (pytorch#439)
1 parent 03ead18 commit d247c37

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.circleci/config.yml

+13
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,24 @@ install_official_git_client: &install_official_git_client
66
sudo apt-get -qq update
77
sudo apt-get -qq install openssh-client git
88
9+
# This system setup script is meant to run before the CI-related scripts, e.g.,
10+
# installing Git client, checking out code, setting up CI env, and
11+
# building/testing.
12+
setup_linux_system_environment: &setup_linux_system_environment
13+
name: Set Up System Environment
14+
no_output_timeout: "1h"
15+
command: |
16+
set -e
17+
# Set up CircleCI GPG keys for apt, if needed
18+
curl -L https://packagecloud.io/circleci/trusty/gpgkey | sudo apt-key add -
19+
920
pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults
1021
machine:
1122
image: default
1223
steps:
1324
- checkout
25+
- run:
26+
<<: *setup_linux_system_environment
1427
- run:
1528
name: Set Up CI Environment
1629
no_output_timeout: "1h"

0 commit comments

Comments
 (0)