Skip to content

Commit 848b308

Browse files
author
CircleCI Bumpversion
committed
[TEST] Latest CI steps
1 parent 7a082a6 commit 848b308

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.circleci/config.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
name: Bumpversion
7171
command: |
7272
bash ./.circleci/bumpversion.sh
73-
git config --global user.email "diviyan@circleci.com"
73+
git config --global user.email "ci@circleci.com"
7474
git config --global user.name "CircleCI Bumpversion"
7575
git config --global push.default simple
7676
git remote add deploy [email protected]:FenTechSolutions/CausalDiscoveryToolbox.git
@@ -135,7 +135,6 @@ jobs:
135135
- run:
136136
name: Push to PyPi
137137
command: |
138-
source $BASH_ENV
139138
git pull origin circleci-project-setup
140139
VERSION_NEW=$(cat setup.py| grep version | cut -c 20- | rev | cut -c 3- | rev)
141140
docker pull fentechai/cdt:$VERSION_NEW
@@ -158,13 +157,13 @@ jobs:
158157
equal: [ circleci-project-setup, << pipeline.git.branch >> ]
159158
steps:
160159
- run:
161-
name: Push to PyPi
160+
name: Build Docs and Push to GitHub
162161
command: |
163162
git pull origin circleci-project-setup
164163
VERSION_NEW=$(cat setup.py| grep version | cut -c 20- | rev | cut -c 3- | rev)
165164
docker pull fentechai/cdt:$VERSION_NEW
166-
git config --global user.email "ci@travis.com"
167-
git config --global user.name "Travis CI Docs"
165+
git config --global user.email "ci@circleci.com"
166+
git config --global user.name "Circle CI Docs"
168167
git config --global push.default simple
169168
docker run -v $(pwd):/cdtlib --rm fentechai/cdt:$VERSION_NEW /bin/sh -c 'cd /cdtlib && pip3 uninstall cdt -y && pip3 install . && pip3 install sphinx recommonmark sphinxcontrib-napoleon sphinx_rtd_theme && cd docs && sphinx-build -Eab html . html'
170169
git remote add deploy [email protected]:FenTechSolutions/CausalDiscoveryToolbox.git
@@ -192,21 +191,23 @@ workflows:
192191
# only:
193192
# - circleci-project-setup
194193

195-
- build-push-docker-images:
196-
name: build-cpu-image
197-
base-image: fentechai/cdt-base
198-
target-image: fentechai/cdt
199-
dockerfile: Dockerfile
200-
# requires: [bumpversion]
194+
# - build-push-docker-images:
195+
# name: build-cpu-image
196+
# base-image: fentechai/cdt-base
197+
# target-image: fentechai/cdt
198+
# dockerfile: Dockerfile
199+
# requires: [bumpversion]
201200

202-
- build-push-docker-images:
203-
name: build-gpu-image
204-
base-image: fentechai/nv-cdt-base
205-
target-image: fentechai/nv-cdt
206-
dockerfile: nv-Dockerfile
207-
# requires: [bumpversion]
201+
# - build-push-docker-images:
202+
# name: build-gpu-image
203+
# base-image: fentechai/nv-cdt-base
204+
# target-image: fentechai/nv-cdt
205+
# dockerfile: nv-Dockerfile
206+
# requires: [bumpversion]
208207

209208
- deploy-pypi:
210-
requires: [build-cpu-image]
209+
name: deploy-Pypi
210+
# requires: [build-cpu-image]
211211
- build-docs:
212-
requires: [build-cpu-image]
212+
name: deploy-docs
213+
# requires: [build-cpu-image]

0 commit comments

Comments
 (0)