Skip to content

Commit 6638d38

Browse files
authored
Cleanup project files (#1449)
* Cleanup project files * fixup! Cleanup project files
1 parent 1c49104 commit 6638d38

File tree

10 files changed

+191
-139
lines changed

10 files changed

+191
-139
lines changed

.eslintrc.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/trigger-external.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
release:
1010
types: [published]
1111
pull_request_target:
12-
branches: [master]
12+
branches: [main]
1313
push:
14-
branches: [master]
14+
branches: [main]
1515
jobs:
1616
push:
17-
if: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
17+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
@@ -26,7 +26,7 @@ jobs:
2626
--header "Authorization: token ${{ secrets.TEST_GITHUB_TOKEN }}" \
2727
--header "Accept: application/vnd.github.v3+json" \
2828
--url "https://api.github.com/repos/iterative/${{ matrix.repos }}/dispatches" \
29-
--data '{"event_type":"push", "client_payload": {"branch":"master"}}'
29+
--data '{"event_type":"push", "client_payload": {"branch":"main"}}'
3030
pr:
3131
if: ${{ github.event_name == 'pull_request_target' }}
3232
runs-on: ubuntu-latest

.gitignore

Lines changed: 129 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,130 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
142
node_modules/
2-
.terraform/
3-
.cml/
4-
.DS_Store
5-
6-
main.tf
7-
terraform.*
8-
!terraform.js
9-
!terraform.test.js
10-
crash.log
11-
/build
12-
/coverage
13-
14-
.idea/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional stylelint cache
58+
.stylelintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env
77+
.env.development.local
78+
.env.test.local
79+
.env.production.local
80+
.env.local
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
.parcel-cache
85+
86+
# Next.js build output
87+
.next
88+
out
89+
90+
# Nuxt.js build / generate output
91+
.nuxt
92+
dist
93+
94+
# Gatsby files
95+
.cache/
96+
# Comment in the public line in if your project uses Gatsby and not Next.js
97+
# https://nextjs.org/blog/next-9-1#public-directory-support
98+
# public
99+
100+
# vuepress build output
101+
.vuepress/dist
102+
103+
# vuepress v2.x temp and cache directory
104+
.temp
105+
.cache
106+
107+
# Docusaurus cache and generated files
108+
.docusaurus
109+
110+
# Serverless directories
111+
.serverless/
112+
113+
# FuseBox cache
114+
.fusebox/
115+
116+
# DynamoDB Local files
117+
.dynamodb/
118+
119+
# TernJS port file
120+
.tern-port
121+
122+
# Stores VSCode versions used for testing VSCode extensions
123+
.vscode-test
124+
125+
# yarn v2
126+
.yarn/cache
127+
.yarn/unplugged
128+
.yarn/build-state.yml
129+
.yarn/install-state.gz
130+
.pnp.*

.gitlab-ci.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
## Usage
110110
111111
We helpfully provide CML and other useful libraries pre-installed on our
112-
[custom Docker images](https://github.com/iterative/cml/blob/master/Dockerfile).
112+
[custom Docker images](https://github.com/iterative/cml/blob/mains/Dockerfile).
113113
In the above example, uncommenting the field
114114
`container: ghcr.io/iterative/cml:0-dvc2-base1`) will make the runner pull the
115115
CML Docker image. The image already has NodeJS, Python 3, DVC and CML set up on
@@ -215,7 +215,7 @@ git push origin experiment
215215
```
216216

217217
5. In GitHub, open up a pull request to compare the `experiment` branch to
218-
`master`.
218+
`main`.
219219

220220
![](https://static.iterative.ai/img/cml/make_pr.png)
221221

@@ -272,18 +272,18 @@ jobs:
272272
# Report metrics
273273
echo "## Metrics" >> report.md
274274
git fetch --prune
275-
dvc metrics diff master --show-md >> report.md
275+
dvc metrics diff main --show-md >> report.md
276276
277277
# Publish confusion matrix diff
278278
echo "## Plots" >> report.md
279279
echo "### Class confusions" >> report.md
280-
dvc plots diff --target classes.csv --template confusion -x actual -y predicted --show-vega master > vega.json
280+
dvc plots diff --target classes.csv --template confusion -x actual -y predicted --show-vega main > vega.json
281281
vl2png vega.json -s 1.5 > confusion_plot.png
282282
echo "![](./confusion_plot.png)" >> report.md
283283
284284
# Publish regularization function diff
285285
echo "### Effects of regularization" >> report.md
286-
dvc plots diff --target estimators.csv -x Regularization --show-vega master > vega.json
286+
dvc plots diff --target estimators.csv -x Regularization --show-vega main > vega.json
287287
vl2png vega.json -s 1.5 > plot.png
288288
echo "![](./plot.png)" >> report.md
289289
@@ -642,6 +642,9 @@ These are some example projects using CML.
642642

643643
:key: needs a [PAT](#environment-variables).
644644

645-
646645
# :warning: Maintenance :warning:
647-
- ~2023-07 Nvidia has dropped container CUDA images with [10.x](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=10)/[cudnn7](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=cudnn7) and [11.2.1](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=11.2.1), CML images will be updated accrodingly
646+
647+
- ~2023-07 Nvidia has dropped container CUDA images with
648+
[10.x](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=10)/[cudnn7](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=cudnn7)
649+
and [11.2.1](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=11.2.1),
650+
CML images will be updated accrodingly

0 commit comments

Comments
 (0)