Skip to content

Commit

Permalink
ci: remove codecov (#1786)
Browse files Browse the repository at this point in the history
* build: remove codecov

* remove unused circleci config files

* remove unused appveyor files

* remove codecov badge references

* remove unused .travis.yml files
  • Loading branch information
fivetanley authored Apr 18, 2021
1 parent 12115d0 commit 67b9080
Show file tree
Hide file tree
Showing 73 changed files with 348 additions and 1,447 deletions.
234 changes: 166 additions & 68 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,39 @@ defaults: &defaults
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
LC_TYPE: en_US.UTF-8
NODE_OPTIONS: --max_old_space_size=4096
NODE_OPTIONS: --max_old_space_size=4096 --unhandled-rejections=strict

version: 2.1
orbs:
win: circleci/windows@2.4.0
executorType: docker
jobs:
acceptance-test:
<<: *defaults
docker:
- image: "node:<<parameters.node-version>>"
environment:
<<: *env
RUN_ACCEPTANCE_TESTS: true
parameters:
node-version:
type: "string"
steps:
- checkout
- restore_cache: &yarn_restore_cache
keys:
- v4-yarn-{{ checksum ".circleci/config.yml" }}-{{ checksum "yarn.lock" }}
- v4-yarn-{{ checksum ".circleci/config.yml" }}
- v4-yarn
- run:
name: Installing dependencies
command: yarn --frozen-lockfile
- run:
name: heroku whoami
command: ./bin/run whoami
- run:
name: Smoke tests CLI
command: ./scripts/run-acceptance
windows-test:
executor:
name: win/default
Expand Down Expand Up @@ -141,15 +167,9 @@ jobs:
- run:
name: Installing dependencies
command: yarn --frozen-lockfile
- run:
name: heroku whoami
command: ./bin/run whoami
- run:
name: Running all tests
command: yarn test
- run:
name: Uploading code coverage to codecov
command: ./node_modules/.bin/lerna exec "curl -s https://codecov.io/bash | bash"
node10-test:
<<: *test
docker:
Expand All @@ -160,6 +180,53 @@ jobs:
docker:
- image: node:14
resource_class: xlarge
pack-windows:
<<: *defaults
steps:
- checkout
- restore_cache: *yarn_restore_cache
- run: |
mkdir -p /build
cp yarn.lock packages/cli
cd packages/cli
yarn --frozen-lockfile
- run:
name: Building Windows binaries
command: ./scripts/pack/win
- persist_to_workspace:
root: /cli/packages/cli
paths:
- dist
pack-tarballs:
<<: *defaults
steps:
- checkout
- restore_cache: *yarn_restore_cache
- run: |
mkdir -p /build
cp yarn.lock packages/cli
cd packages/cli
yarn --frozen-lockfile
- run:
name: Building Tarballs
command: ./scripts/pack/tarballs
- persist_to_workspace:
root: /cli/packages/cli
paths:
- dist
store-artifacts:
<<: *defaults
steps:
- attach_workspace:
at: /build
- checkout
- restore_cache: *yarn_restore_cache
- run:
name: "Create SHA256 artifacts"
command: ./scripts/hash-artifacts
- store_artifacts:
path: /build/dist
destination: /
release_tarballs:
<<: *defaults
steps:
Expand Down Expand Up @@ -214,15 +281,14 @@ jobs:
<<: *defaults
steps:
- attach_workspace:
at: /persisted
at: /build
- add_ssh_keys
- checkout
- run: |
cp yarn.lock packages/cli
cd packages/cli
yarn --frozen-lockfile
cp -r /persisted/dist /cli/packages/cli
cp -r /persisted/tmp /cli/packages/cli
cp -r /build/dist /cli/packages/cli
./scripts/release/homebrew.js
invalidate_cdn_cache:
<<: *defaults
Expand Down Expand Up @@ -280,71 +346,103 @@ workflows:
- node14-test: *windows_test
- node12-test: *windows_test
- node10-test: *windows_test
heroku_cli_release:
jobs:
- node14-test: &node14_test
filters:
branches:
only:
- master
tags: &version_tags
only: /^v.*/
- node12-test: *node14_test
- node10-test: *node14_test
- windows-test: *node14_test
- release_tarballs: &release_tarballs
requires:
- acceptance-test:
context:
- heroku-cli-acceptance-tests
matrix:
parameters:
node-version:
- "10"
- "12"
- "14"
- pack-windows:
requires: &pack-requires
- node14-test
- node12-test
- node10-test
- windows-test
filters: &master_dev_and_version_tags
tags:
<<: *version_tags
branches:
only:
- master
- dev
- release_deb: *release_tarballs
- release_win: *release_tarballs
- release_homebrew:
- acceptance-test
- pack-tarballs:
requires: *pack-requires
- store-artifacts:
requires:
- release_tarballs
filters: &only_version_tags
branches:
ignore: /.*/
tags:
<<: *version_tags
# - trigger_macos: &trigger_macos
- pack-windows
- pack-tarballs
# heroku_cli_release:
# jobs:
# - node14-test: &node14_test
# filters:
# branches:
# only:
# - master
# tags: &version_tags
# only: /^v.*/
# - node12-test: *node14_test
# - node10-test: *node14_test
# - windows-test: *node14_test
# - acceptance-test:
# context:
# - heroku-cli-acceptance-tests
# matrix:
# parameters:
# node-version:
# - "10"
# - "12"
# - "14"
# - release_tarballs: &release_tarballs
# requires:
# - node12-test
# - node10-test
# - windows-test
# - acceptance-test
# filters: &master_dev_and_version_tags
# tags:
# <<: *version_tags
# branches:
# only:
# - master
# - dev
# - release_deb: *release_tarballs
# - release_win: *release_tarballs
# - release_homebrew:
# requires:
# - release_tarballs
# filters: &only_version_tags
# branches:
# ignore: /.*/
# tags:
# <<: *version_tags
# # - trigger_macos: &trigger_macos
# # requires:
# # - node12-test
# # - node10-test
# # - windows-test
# # filters:
# # <<: *only_version_tags
# # - release_snap:
# # requires:
# # - node12-test
# # - node10-test
# # - windows-test
# # filters:
# # <<: *only_version_tags
# - invalidate_cdn_cache:
# requires:
# - install_scripts
# filters:
# <<: *master_dev_and_version_tags
# - install_scripts: &install_scripts
# requires:
# - release_tarballs
# - release_deb
# - release_win
# filters:
# <<: *master_dev_and_version_tags
# - change_management: &change_management
# requires:
# - release_tarballs
# - release_deb
# - release_win
# filters:
# <<: *only_version_tags
# - release_snap:
# requires:
# - node12-test
# - node10-test
# - windows-test
# filters:
# <<: *only_version_tags
- invalidate_cdn_cache:
requires:
- install_scripts
filters:
<<: *master_dev_and_version_tags
- install_scripts: &install_scripts
requires:
- release_tarballs
- release_deb
- release_win
filters:
<<: *master_dev_and_version_tags
- change_management: &change_management
requires:
- release_tarballs
- release_deb
- release_win
filters:
<<: *only_version_tags
- dev_center_docs: *change_management
# - dev_center_docs: *change_management
1 change: 0 additions & 1 deletion packages/addons-v5/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# heroku-cli-addons [![Circle CI](https://circleci.com/gh/heroku/heroku-cli-addons.svg?style=svg)](https://circleci.com/gh/heroku/heroku-cli-addons)

[![Code Climate](https://codeclimate.com/github/heroku/heroku-cli-addons/badges/gpa.svg)](https://codeclimate.com/github/heroku/heroku-cli-addons)
[![codecov](https://codecov.io/gh/heroku/heroku-cli-addons/branch/master/graph/badge.svg)](https://codecov.io/gh/heroku/heroku-cli-addons)
[![npm version](https://badge.fury.io/js/heroku-cli-addons.svg)](https://badge.fury.io/js/heroku-cli-addons)
[![License](https://img.shields.io/github/license/heroku/heroku-cli-addons.svg)](https://github.com/heroku/heroku-cli-addons/blob/master/LICENSE)

Expand Down
13 changes: 0 additions & 13 deletions packages/addons-v5/circle.yml

This file was deleted.

59 changes: 0 additions & 59 deletions packages/apps-v5/.circleci/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion packages/apps-v5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ heroku-apps [![Circle CI](https://circleci.com/gh/heroku/heroku-apps.svg?style=s
===========

[![Code Climate](https://codeclimate.com/github/heroku/heroku-apps/badges/gpa.svg)](https://codeclimate.com/github/heroku/heroku-apps)
[![codecov](https://codecov.io/gh/heroku/heroku-apps/branch/master/graph/badge.svg)](https://codecov.io/gh/heroku/heroku-apps)
[![npm version](https://badge.fury.io/js/heroku-apps.svg)](https://badge.fury.io/js/heroku-apps)
[![License](https://img.shields.io/github/license/heroku/heroku-apps.svg)](https://github.com/heroku/heroku-apps/blob/master/LICENSE)
[![Greenkeeper badge](https://badges.greenkeeper.io/heroku/heroku-apps.svg)](https://greenkeeper.io/)
Expand Down
13 changes: 0 additions & 13 deletions packages/apps-v5/appveyor.yml

This file was deleted.

Loading

0 comments on commit 67b9080

Please sign in to comment.