Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit cc86f90

Browse files
remove: removed unneeded context setting from test job
1 parent a345126 commit cc86f90

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.circleci/config.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ commands:
1212
- source-v1-{{ .Branch }}-{{ .Revision }}
1313
- source-v1-{{ .Branch }}-
1414
- source-v1-
15-
- run:
16-
name: Fetch git tags
15+
- run:
16+
name: Fetch git tags
1717
command: |
1818
mkdir -p ~/.ssh
1919
echo 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== ' >> ~/.ssh/known_hosts
@@ -24,7 +24,7 @@ commands:
2424
fi
2525
- checkout
2626
- run:
27-
name: Compress git objects
27+
name: Compress git objects
2828
command: git gc
2929
- save_cache:
3030
name: Git save cache
@@ -68,7 +68,7 @@ commands:
6868
upload_artifact:
6969
description: "upload artifact to s3"
7070
steps:
71-
- s3/copy:
71+
- s3/copy:
7272
from: artifact.tar
7373
to: 's3://${CONTEXT_ARTIFACT_S3_BUCKET}/${CIRCLE_PROJECT_REPONAME}/'
7474
aws-access-key-id: env_CONTEXT_ARTIFACT_S3_AWS_ACCESS_KEY_ID
@@ -78,7 +78,7 @@ commands:
7878
upload_checksum:
7979
description: "upload artifact commit id to s3"
8080
steps:
81-
- s3/copy:
81+
- s3/copy:
8282
from: artifact-info.txt
8383
to: 's3://${CONTEXT_ARTIFACT_S3_BUCKET}/${CIRCLE_PROJECT_REPONAME}/'
8484
aws-access-key-id: env_CONTEXT_ARTIFACT_S3_AWS_ACCESS_KEY_ID
@@ -91,13 +91,13 @@ commands:
9191
type: string
9292
steps:
9393
- setup_remote_docker
94-
- run:
94+
- run:
9595
name: Building docker image for << parameters.target >>
9696
command: |
9797
build_tag="${CIRCLE_SHA1}"
9898
[ "<< parameters.target >>" == "beta" ] && build_tag="beta-${CIRCLE_SHA1}"
9999
docker build -t ${DOCKHUB_ORGANISATION}/binary-static-bot:${build_tag} .
100-
- run:
100+
- run:
101101
name: Pushing Image to docker hub
102102
command: |
103103
build_tag="${CIRCLE_SHA1}"
@@ -111,7 +111,7 @@ commands:
111111
type: string
112112
steps:
113113
- k8s/install-kubectl
114-
- run:
114+
- run:
115115
name: Deploying to k8s cluster for service binary-bot-beta
116116
command: |
117117
build_tag="${CIRCLE_SHA1}"
@@ -148,7 +148,7 @@ jobs:
148148
target: "beta"
149149
- k8s_deploy:
150150
target: "beta"
151-
151+
152152
release_production:
153153
docker:
154154
- image: circleci/node:12.13.0-stretch
@@ -167,8 +167,7 @@ jobs:
167167
workflows:
168168
test:
169169
jobs:
170-
- test:
171-
context: binary-frontend-deploy
170+
- test
172171
release:
173172
jobs:
174173
- release_beta:
@@ -184,4 +183,3 @@ workflows:
184183
tags:
185184
only: /^production.*/
186185
context: binary-frontend-artifact-upload
187-

0 commit comments

Comments
 (0)