Skip to content

Commit ed13234

Browse files
author
Will Feng
committed
Fix GPG key error
1 parent 88577d7 commit ed13234

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.circleci/config.yml

Lines changed: 13 additions & 0 deletions
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)