Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Commit a32712b

Browse files
committed
Tweaked CI configuration to comment out any potential publishing steps
1 parent 3c11bcc commit a32712b

File tree

1 file changed

+92
-85
lines changed

1 file changed

+92
-85
lines changed

.circleci/config.yml

Lines changed: 92 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#######
2+
## 2023-11-07 update @kik:
3+
## Changes to the repo were needed to address bug[1854406]
4+
# However, we do not want to publish any artifacts anywhere
5+
# to avoid this CI steps with potential to publish artifacts were commented out.
6+
###
7+
18
####################
29
# CircleCI configuration reference:
310
# https://circleci.com/docs/2.0/configuration-reference
@@ -36,15 +43,15 @@ test_settings: &test_settings
3643
command: |
3744
pip install tox
3845
tox -e $CIRCLE_JOB
39-
- run:
40-
name: Submit code coverage data
41-
command: |
42-
# Skip this step if running via the CircleCI local CLI.
43-
[ -z "$CIRCLE_BUILD_NUM" ] && exit 0
44-
# Activate the virtualenv so that codecov can find the 'coverage' executable.
45-
source .tox/$CIRCLE_JOB/bin/activate
46-
# Upload to codecov and flag (-F) with the name of the job.
47-
bash <(curl -s https://codecov.io/bash) -F $CIRCLE_JOB
46+
# - run:
47+
# name: Submit code coverage data
48+
# command: |
49+
# # Skip this step if running via the CircleCI local CLI.
50+
# [ -z "$CIRCLE_BUILD_NUM" ] && exit 0
51+
# # Activate the virtualenv so that codecov can find the 'coverage' executable.
52+
# source .tox/$CIRCLE_JOB/bin/activate
53+
# # Upload to codecov and flag (-F) with the name of the job.
54+
# bash <(curl -s https://codecov.io/bash) -F $CIRCLE_JOB
4855

4956

5057

@@ -73,44 +80,44 @@ jobs:
7380
docker:
7481
- image: python:3.7-jessie
7582

76-
docs: &docs_settings
77-
docker:
78-
- image: python:3.6-jessie
79-
steps:
80-
- checkout
81-
- run:
82-
<<: *install_packages
83-
- run:
84-
<<: *run_tox_environment_matching_circleci_job_name
85-
- persist_to_workspace:
86-
root: docs/_build
87-
paths: html
88-
89-
docs-deploy:
90-
docker:
91-
- image: node:8.10.0
92-
steps:
93-
- checkout
94-
- attach_workspace:
95-
at: docs/_build
96-
- run:
97-
name: Disable jekyll builds
98-
command: touch docs/_build/html/.nojekyll
99-
# Needed for write access to the GitHub repository;
100-
# see https://circleci.com/docs/2.0/gh-bb-integration/#deployment-keys-and-user-keys
101-
- add_ssh_keys:
102-
fingerprints:
103-
- "bb:e1:fa:08:e2:ff:a4:ed:f9:b0:64:c0:e6:07:0d:08"
104-
# The gh-pages npm package looks to be the most widely used utility for
105-
# pushing a directory to a git branch;
106-
# see https://www.npmjs.com/package/gh-pages
107-
- run:
108-
name: Deploy docs to gh-pages branch
109-
command: |
110-
git config user.email "[email protected]"
111-
git config user.name "CircleCI docs-deploy job"
112-
npm install -g --silent [email protected]
113-
gh-pages --dotfiles --message "[skip ci] Updates" --dist docs/_build/html
83+
# docs: &docs_settings
84+
# docker:
85+
# - image: python:3.6-jessie
86+
# steps:
87+
# - checkout
88+
# - run:
89+
# <<: *install_packages
90+
# - run:
91+
# <<: *run_tox_environment_matching_circleci_job_name
92+
# - persist_to_workspace:
93+
# root: docs/_build
94+
# paths: html
95+
96+
# docs-deploy:
97+
# docker:
98+
# - image: node:8.10.0
99+
# steps:
100+
# - checkout
101+
# - attach_workspace:
102+
# at: docs/_build
103+
# - run:
104+
# name: Disable jekyll builds
105+
# command: touch docs/_build/html/.nojekyll
106+
# # Needed for write access to the GitHub repository;
107+
# # see https://circleci.com/docs/2.0/gh-bb-integration/#deployment-keys-and-user-keys
108+
# - add_ssh_keys:
109+
# fingerprints:
110+
# - "bb:e1:fa:08:e2:ff:a4:ed:f9:b0:64:c0:e6:07:0d:08"
111+
# # The gh-pages npm package looks to be the most widely used utility for
112+
# # pushing a directory to a git branch;
113+
# # see https://www.npmjs.com/package/gh-pages
114+
# - run:
115+
# name: Deploy docs to gh-pages branch
116+
# command: |
117+
# git config user.email "[email protected]"
118+
# git config user.name "CircleCI docs-deploy job"
119+
# npm install -g --silent [email protected]
120+
# gh-pages --dotfiles --message "[skip ci] Updates" --dist docs/_build/html
114121

115122
lint:
116123
docker:
@@ -125,27 +132,27 @@ jobs:
125132
126133
# Only runs when a tag starting with 'v' is place on the repository;
127134
# see the workflows section below for trigger logic.
128-
deploy:
129-
docker:
130-
- image: python:3.6
131-
steps:
132-
- checkout
133-
- run:
134-
name: Install deployment tools
135-
command: |
136-
pip install --upgrade setuptools wheel twine
137-
- run:
138-
name: Create the distribution files
139-
command: |
140-
python setup.py sdist bdist_wheel
141-
- run:
142-
name: Upload to PyPI
143-
command: |
144-
# Relies on the TWINE_USERNAME and TWINE_PASSWORD environment variables configured at:
145-
# https://circleci.com/gh/mozilla/python_moztelemetry/edit#env-vars
146-
# For more on twine, see:
147-
# https://twine.readthedocs.io/en/latest/
148-
twine upload dist/*
135+
# deploy:
136+
# docker:
137+
# - image: python:3.6
138+
# steps:
139+
# - checkout
140+
# - run:
141+
# name: Install deployment tools
142+
# command: |
143+
# pip install --upgrade setuptools wheel twine
144+
# - run:
145+
# name: Create the distribution files
146+
# command: |
147+
# python setup.py sdist bdist_wheel
148+
# - run:
149+
# name: Upload to PyPI
150+
# command: |
151+
# # Relies on the TWINE_USERNAME and TWINE_PASSWORD environment variables configured at:
152+
# # https://circleci.com/gh/mozilla/python_moztelemetry/edit#env-vars
153+
# # For more on twine, see:
154+
# # https://twine.readthedocs.io/en/latest/
155+
# twine upload dist/*
149156

150157

151158

@@ -159,21 +166,21 @@ workflows:
159166
jobs:
160167
- py35
161168
- py36
162-
- docs
169+
# - docs
163170
- lint
164-
- docs-deploy:
165-
requires:
166-
- docs
167-
filters:
168-
branches:
169-
only: master
170-
171-
tagged-deploy:
172-
jobs:
173-
- deploy:
174-
filters:
175-
branches:
176-
# Ignore all branches; this workflow should only run for tags.
177-
ignore: /.*/
178-
tags:
179-
only: /^v.*/
171+
# - docs-deploy:
172+
# requires:
173+
# - docs
174+
# filters:
175+
# branches:
176+
# only: master
177+
178+
# tagged-deploy:
179+
# jobs:
180+
# - deploy:
181+
# filters:
182+
# branches:
183+
# # Ignore all branches; this workflow should only run for tags.
184+
# ignore: /.*/
185+
# tags:
186+
# only: /^v.*/

0 commit comments

Comments
 (0)