Skip to content

Commit b1bca5e

Browse files
temporary fix circleci config to allow publishing
1 parent a4be7d0 commit b1bca5e

File tree

1 file changed

+1
-130
lines changed

1 file changed

+1
-130
lines changed

.circleci/config.yml

Lines changed: 1 addition & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -40,48 +40,13 @@ workflows:
4040
filters:
4141
tags:
4242
only: /.*/
43-
- lint:
44-
requires:
45-
- node4
46-
- node6
47-
- node7
48-
- node8
49-
- node9
50-
filters:
51-
tags:
52-
only: /.*/
53-
- docs:
43+
- publish_npm:
5444
requires:
5545
- node4
5646
- node6
5747
- node7
5848
- node8
5949
- node9
60-
filters:
61-
tags:
62-
only: /.*/
63-
- system_tests:
64-
requires:
65-
- lint
66-
- docs
67-
filters:
68-
branches:
69-
only: master
70-
tags:
71-
only: /^v[\d.]+$/
72-
- sample_tests:
73-
requires:
74-
- lint
75-
- docs
76-
filters:
77-
branches:
78-
only: master
79-
tags:
80-
only: /^v[\d.]+$/
81-
- publish_npm:
82-
requires:
83-
- system_tests
84-
- sample_tests
8550
filters:
8651
branches:
8752
ignore: /.*/
@@ -122,100 +87,6 @@ jobs:
12287
- image: node:9
12388
<<: *unit_tests
12489

125-
lint:
126-
docker:
127-
- image: node:8
128-
steps:
129-
- checkout
130-
- run:
131-
name: Install modules and dependencies.
132-
command: |
133-
npm install
134-
npm link
135-
- run:
136-
name: Link the module being tested to the samples.
137-
command: |
138-
cd samples/
139-
npm link @google-cloud/error-reporting
140-
npm install
141-
cd ..
142-
- run:
143-
name: Run linting.
144-
command: npm run lint
145-
146-
docs:
147-
docker:
148-
- image: node:8
149-
steps:
150-
- checkout
151-
- run:
152-
name: Install modules and dependencies.
153-
command: npm install
154-
- run:
155-
name: Build documentation.
156-
command: npm run docs
157-
158-
sample_tests:
159-
docker:
160-
- image: node:8
161-
steps:
162-
- checkout
163-
- run:
164-
name: Decrypt credentials.
165-
command: |
166-
openssl aes-256-cbc -d -in .circleci/key.json.enc \
167-
-out .circleci/key.json \
168-
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
169-
- run:
170-
name: Install and link the module.
171-
command: |
172-
npm install
173-
npm link
174-
- run:
175-
name: Link the module being tested to the samples.
176-
command: |
177-
cd samples/
178-
npm link @google-cloud/error-reporting
179-
npm install
180-
cd ..
181-
- run:
182-
name: Run sample tests.
183-
command: npm run samples-test
184-
environment:
185-
GCLOUD_PROJECT: long-door-651
186-
GOOGLE_APPLICATION_CREDENTIALS: /var/error-reporting/.circleci/key.json
187-
- run:
188-
name: Remove unencrypted key.
189-
command: rm .circleci/key.json
190-
when: always
191-
working_directory: /var/error-reporting/
192-
193-
system_tests:
194-
docker:
195-
- image: node:8
196-
steps:
197-
- checkout
198-
- run:
199-
name: Decrypt credentials.
200-
command: |
201-
openssl aes-256-cbc -d -in .circleci/key.json.enc \
202-
-out .circleci/key.json \
203-
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
204-
- run:
205-
name: Install modules and dependencies.
206-
command: npm install
207-
- run:
208-
name: Run system tests.
209-
command: npm run system-test
210-
environment:
211-
GOOGLE_APPLICATION_CREDENTIALS: /var/error-reporting/.circleci/key.json
212-
GCLOUD_TESTS_KEY: /var/error-reporting/.circleci/key.json
213-
- run:
214-
name: Remove unencrypted key.
215-
command: rm .circleci/key.json
216-
when: always
217-
working_directory: /var/error-reporting/
218-
21990
publish_npm:
22091
docker:
22192
- image: node:8

0 commit comments

Comments
 (0)