Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions link checker #1619

Merged
merged 190 commits into from
Sep 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
cb6708e
GitHub Actions link checker: Attempt 1
rogermparent Jul 23, 2020
ed8079b
Use `github.event` instead of `deployment_status`
rogermparent Jul 23, 2020
830e86b
Adjust deployment_status fetch again
rogermparent Jul 23, 2020
bb8a9e5
Split Check action and fetch master before running differ
rogermparent Jul 23, 2020
0d244bc
Use correct strings for checks
rogermparent Jul 23, 2020
acae092
Make check init at start then update when done
rogermparent Jul 23, 2020
b35fdc7
Add tokens to every run on checks action
rogermparent Jul 23, 2020
b33ea80
Add conditional build flag to `yarn start`
rogermparent Jul 23, 2020
51b59ab
Remove init behavior for now
rogermparent Jul 23, 2020
9256d83
Adapt git link checker to use exit codes
rogermparent Jul 23, 2020
2826f41
Give link checker its own script and restore old script from master
rogermparent Jul 24, 2020
bd1eaa1
Consolidate check reporter
rogermparent Jul 24, 2020
db1512a
Add a failing link to test the new action
rogermparent Jul 24, 2020
2d4883c
Change link check script to use pwd-relative instead of $0
rogermparent Jul 24, 2020
3a8eda2
Add echo messages for debugging
rogermparent Jul 24, 2020
6e07442
Change diff command and move all links to relative
rogermparent Jul 24, 2020
73277aa
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Jul 24, 2020
96fe61a
Add example links
rogermparent Jul 25, 2020
e84b7ab
Remove bash-based GitHub action
rogermparent Jul 27, 2020
75a5b0e
Add a JS-based link checker with CLI and GitHub Action runners
rogermparent Jul 27, 2020
1c9765e
Improve link checker
rogermparent Jul 27, 2020
64581ff
Move action definition to its own file
rogermparent Jul 27, 2020
478ba8a
Add fields to example content to fix required error
rogermparent Jul 27, 2020
8f1686f
Fix workflow syntax (inputs -> with)
rogermparent Jul 27, 2020
9e0effd
Fix output format for action
rogermparent Jul 27, 2020
2c8c143
Change invocation of local action to action.yml's parent directory
rogermparent Jul 27, 2020
f7010a9
Change file links to be non-dot relative
rogermparent Jul 27, 2020
2a501d6
Undo `uses` change
rogermparent Jul 27, 2020
fdb4b9d
Move Action to its own repo
rogermparent Jul 27, 2020
b7130ef
Revert package.json to master
rogermparent Jul 27, 2020
a853c23
Add tag because not having one is invalid
rogermparent Jul 27, 2020
d18039b
Change tag to unnumbered "testing"
rogermparent Jul 27, 2020
6738e3f
Remove example content
rogermparent Jul 27, 2020
91e55d5
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Jul 27, 2020
2d1601a
Change `uses` tag to `rc1` instead of `testing`
rogermparent Jul 27, 2020
4c009f7
Revert original shell script link checkers to master versions
rogermparent Jul 27, 2020
e92b088
Revert yarn.lock to master
rogermparent Jul 27, 2020
e64aea6
Add example towarddatascience link to test 405 behavior
rogermparent Jul 27, 2020
f647e71
Make a more comprehensive example set
rogermparent Jul 27, 2020
143694c
Add duplicate test link
rogermparent Jul 27, 2020
42c5129
Update action to rc2 for full reports every time
rogermparent Jul 27, 2020
47f59b3
Update workflow to use instead of
rogermparent Jul 27, 2020
a54049f
Fix deployment url target variable again
rogermparent Jul 27, 2020
9492412
Add yet another change to deploy URL access
rogermparent Jul 27, 2020
10c6797
Remove towardsdatascience from link exclusions
rogermparent Jul 27, 2020
ad7db7f
Return content to normal
rogermparent Jul 27, 2020
c75ef64
Merge branch 'master' into gh-actions-link-check
rogermparent Jul 29, 2020
86176eb
Remove old link check scripts
rogermparent Jul 29, 2020
921b170
Add link checker CLI package
rogermparent Jul 29, 2020
a09583b
Remove old link check scripts and add new one to Husky pre-commit
rogermparent Jul 29, 2020
d1837e9
Update CLI package
rogermparent Jul 29, 2020
aa83a61
Upgrade to latest link checker
rogermparent Jul 30, 2020
a74cc03
Point `uses` to new link checker action dist repo
rogermparent Jul 30, 2020
5872abd
Remove old link-check invocations from circleci config
rogermparent Jul 30, 2020
45c466b
Remove interpolation workarounds from previous implementation
rogermparent Jul 30, 2020
6a197af
Change action repo
rogermparent Jul 31, 2020
36e86db
Change action repo and use generalized inputs
rogermparent Aug 1, 2020
eeeba0c
Use generalized script and add some quick test data
rogermparent Aug 1, 2020
aec7eb2
Add new package
rogermparent Aug 1, 2020
1ff2493
Upgrade link checker
rogermparent Aug 1, 2020
9d50993
Adjust for input name change in link check package
rogermparent Aug 1, 2020
51e81f8
Add more comprehensive examples
rogermparent Aug 1, 2020
a90e42b
Upgrade link checker
rogermparent Aug 1, 2020
279e75e
Merge master and reset content
rogermparent Aug 1, 2020
55a905f
Actually reset content
rogermparent Aug 1, 2020
eb6fe8d
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Aug 7, 2020
b67c875
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Aug 11, 2020
4f36b74
Convert repeat exclusions to globs and add linkedin/in
rogermparent Aug 14, 2020
eed2406
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Aug 16, 2020
999dc2b
Switch to new rewritten link-check
rogermparent Aug 17, 2020
7f66b97
Upgrade repo-link-check
rogermparent Aug 17, 2020
50c0886
Use updated/fixed link checker and add specific files to invocation
rogermparent Aug 17, 2020
a1159a2
Update CLI package and add link-check-all script
rogermparent Aug 17, 2020
f8e81b7
Change millionsongdataset exclusion to match existing link
rogermparent Aug 18, 2020
b4f5fdf
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Aug 18, 2020
28d95c1
Update link checker and report unused patterns on link-check-all
rogermparent Aug 18, 2020
a4eef6c
Remove test links
rogermparent Aug 18, 2020
9556700
Filter out malformed URLs and tweak regex to only hit http/s
rogermparent Aug 18, 2020
6d4e527
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Aug 18, 2020
a6c70ab
Add a file exclusion file to link check
rogermparent Aug 18, 2020
12335a4
Add patterns to action workflow
rogermparent Aug 19, 2020
ba0d675
Update link check
rogermparent Aug 19, 2020
a859429
Add GH workflows and component partial to exceptions
rogermparent Aug 19, 2020
ec12e40
Clean up broken links in content
rogermparent Aug 19, 2020
f3265e9
Upgrade link checker
rogermparent Aug 19, 2020
c1d2ad3
Upgrade link-check and use new shorthand CLI flags in scripts
rogermparent Aug 19, 2020
cd31850
Move to static version of link check action
rogermparent Aug 19, 2020
d380035
Upgrade link checker CLI
rogermparent Aug 19, 2020
628ec1f
Emulate the previous package.json scripts and re-add them to circleCI
rogermparent Aug 20, 2020
7926b68
Add script for link checking the local dev server
rogermparent Aug 20, 2020
e90cba9
Remove link check from pre-commit hook
rogermparent Aug 20, 2020
0d15093
Bump version to test for a cache issue
rogermparent Aug 20, 2020
40648ab
Remove unused patterns from exclude-links
rogermparent Aug 20, 2020
cc6ea5c
Remove pcregrep installation from circleCI
rogermparent Aug 20, 2020
9e67bfd
revert cache version test and try solving with npx
rogermparent Aug 20, 2020
60674eb
Remove npx from scripts
rogermparent Aug 20, 2020
c500620
Remove other steps for testing
rogermparent Aug 20, 2020
1a11565
Revert "Remove other steps for testing"
rogermparent Aug 20, 2020
e06c9e5
Switch back to master, use JSON config, and introduce exclude check
rogermparent Aug 21, 2020
0505292
Fix config file path
rogermparent Aug 21, 2020
5a722be
Rename script checks to better reflect their purpose
rogermparent Aug 21, 2020
a98def4
Change top level names on scripts
rogermparent Aug 21, 2020
7b745c4
Add master's exclusion links for testing
rogermparent Aug 21, 2020
e7d7695
Re-remove unused patterns
rogermparent Aug 21, 2020
0a32bda
Merge master, update link check, and remove unused patterns
rogermparent Aug 21, 2020
b7d7c43
Add daily check action and remove CircleCI link checks
rogermparent Aug 21, 2020
5c7c66f
Rename exclude job in the same way as the others
rogermparent Aug 22, 2020
0182072
Add workflow_dispatch to the triggers for the full check
rogermparent Aug 24, 2020
e569028
Add deployment to full check triggers for testing
rogermparent Aug 24, 2020
62d1b70
Make obvious fixes to dead links from the full check
rogermparent Aug 24, 2020
a197faa
Fix formatting
rogermparent Aug 24, 2020
72d594b
Add custom link check bottlenecks for GitHub and Wikipedia
rogermparent Aug 24, 2020
d43f7c8
Remove link-check-all deploy trigger after successful test
rogermparent Aug 24, 2020
e89d601
Pin link check action version to tag instead of master
rogermparent Aug 24, 2020
7c79d47
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Aug 31, 2020
e80238e
Change invocation style of link-check scripts
rogermparent Sep 2, 2020
360be7a
Overhaul check definitions
rogermparent Sep 3, 2020
5c6348b
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Sep 3, 2020
b9beb08
Update repo-link-check and add deployment test to all check
rogermparent Sep 3, 2020
0426fb2
Remove on-deploy from full check and fix output setting for deploy
rogermparent Sep 3, 2020
b9adb44
Add a workflow to queue up the deployment link check
rogermparent Sep 3, 2020
eb6dab1
Add conclusion to deploy check initializer
rogermparent Sep 3, 2020
df54b1e
Rename deploy checks to be unified
rogermparent Sep 3, 2020
956dac8
Rename deploy check to match initializer
rogermparent Sep 3, 2020
787d286
Point check action to master
rogermparent Sep 4, 2020
83a0e17
Rename again
rogermparent Sep 4, 2020
f773625
Remove name in an attempt to hide initializer
rogermparent Sep 4, 2020
f4e2ddf
Rename jobs to underscores in an attempt to hide them.
rogermparent Sep 4, 2020
9ef0fe6
Accept we can't hide the initialization and rename accordingly
rogermparent Sep 4, 2020
36d334e
Move link check config file
rogermparent Sep 4, 2020
57190ac
Rename the actual check to look nicer
rogermparent Sep 4, 2020
b2804ac
Rename and move config files to config subdirectory
rogermparent Sep 4, 2020
2a5e601
Rename check in init workflow
rogermparent Sep 4, 2020
852d811
Fix config file path on workflows
rogermparent Sep 4, 2020
7a8eead
Upgrade repo-link-check
rogermparent Sep 4, 2020
5c460c1
Add deployment run and unused patterns to test full check
rogermparent Sep 4, 2020
d086504
Revert full run test
rogermparent Sep 4, 2020
91549d8
Add example links for another deploy example
rogermparent Sep 4, 2020
f0382f4
Upgrade repo-link-check
rogermparent Sep 4, 2020
5fcc9fd
Revert failing link examples
rogermparent Sep 4, 2020
dec5025
Remove conclusion from init to see if docs example works
rogermparent Sep 4, 2020
4eada7d
Add blank conclusion to test
rogermparent Sep 4, 2020
d53be9a
Re-add conclusion with better description on deploy check initializer
rogermparent Sep 4, 2020
89d9e65
Re-add failing link examples to test formatting
rogermparent Sep 4, 2020
bae960d
Remove test examples to get an example of a passing deploy run
rogermparent Sep 5, 2020
7cdbffb
Add full check deployment run for testing again
rogermparent Sep 5, 2020
b34ad83
Remove test deployment trigger
rogermparent Sep 5, 2020
9278b8b
Update to latest master
rogermparent Sep 8, 2020
fb25640
Update repo-link-check and use new YML config syntax
rogermparent Sep 8, 2020
21e5efa
Add more detail to check init and report script failure on Check
rogermparent Sep 8, 2020
7ab4954
checkAction => checksAction
rogermparent Sep 10, 2020
79f2bc9
Use forked checks action for debug purposes
rogermparent Sep 10, 2020
95a2bd4
Remove conclusion on uncompleted Check and use YAML anchors for DRYing
rogermparent Sep 10, 2020
c454282
Remove anchors because GHA doesn't support them
rogermparent Sep 10, 2020
2e9f07b
Remove init to test if 1.0 works on deploy_status
rogermparent Sep 10, 2020
b5cec57
Attempt to fix caching issue caught during dev
rogermparent Sep 10, 2020
ba0714e
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Sep 11, 2020
5e7387d
add initialization to deployment_status/action:created
rogermparent Sep 11, 2020
40cd2eb
Try initializing on pull_request
rogermparent Sep 11, 2020
0b24f1b
Roll in deployment init in same workflow file
rogermparent Sep 11, 2020
1d91f0f
Run Prettier and remove brackets on ifs
rogermparent Sep 11, 2020
45dde5e
Remove defaults
rogermparent Sep 11, 2020
117ea66
Re-add runs-on to init step (oops)
rogermparent Sep 11, 2020
80bac85
Try a no-checks variant that includes deployment as a dummy trigger
rogermparent Sep 11, 2020
0991615
Revert "Try a no-checks variant that includes deployment as a dummy t…
rogermparent Sep 11, 2020
dddca0f
Try check_suite as initializer
rogermparent Sep 11, 2020
b406284
Use updated checks flow for updates
rogermparent Sep 11, 2020
4a420a9
Go back to deployment init trigger
rogermparent Sep 11, 2020
d73622c
Remove names on steps
rogermparent Sep 11, 2020
495ffa5
Unbreak deployment if statement
rogermparent Sep 11, 2020
a59f70d
Re-wrap deploy if in interpolation
rogermparent Sep 11, 2020
12277b7
Remove event_name conditional on check
rogermparent Sep 11, 2020
bb4d22a
remove if conditional for testing
rogermparent Sep 11, 2020
f1854df
Try deployment_status only approach
rogermparent Sep 11, 2020
3acc1de
Add example relative link to test
rogermparent Sep 11, 2020
3b61e0e
Go back to deployment+deployment_status method
rogermparent Sep 11, 2020
02afc5c
Turn initialize into a conditional step
rogermparent Sep 12, 2020
fb02ef1
Go back to deployment_status only
rogermparent Sep 12, 2020
0351915
Add deployment and deployment_status triggers to deploy check for tes…
rogermparent Sep 14, 2020
870e1ab
Remove conditional to see if shas are different on different triggers
rogermparent Sep 14, 2020
f750f1d
Re-add conditional and do one more try for deployment_status only
rogermparent Sep 14, 2020
99d0048
Rename items and try pull_request init trigger
rogermparent Sep 14, 2020
f0fc71d
Update repo-link-check and the consumer config to match
rogermparent Sep 18, 2020
62fc548
Add long names and a comment on deployment check
rogermparent Sep 18, 2020
4bd74a4
Remove old dvc-github-actions-link-checker
rogermparent Sep 18, 2020
b0e8e8c
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Sep 18, 2020
084c2f2
Remove test link
rogermparent Sep 18, 2020
c06f04a
Pin to action tag v0.6 instead of master
rogermparent Sep 18, 2020
1bfd439
Merge branch 'master' of https://github.com/iterative/dvc.org into gh…
rogermparent Sep 22, 2020
5bb4906
Revert failed cache fix
rogermparent Sep 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ commands:
git reset --hard origin/master
git checkout -

- run:
name: apt dependencies
command: |
sudo apt-get update
sudo apt-get install pcregrep

# Download cached dependencies.
- restore_cache:
keys:
Expand All @@ -58,8 +52,6 @@ jobs:
- run: yarn lint-css
- run: yarn lint-ts
- run: yarn format-check
- run: yarn link-check-diff
- run: yarn link-check-exclude

test_full:
<<: *defaults
Expand All @@ -69,8 +61,6 @@ jobs:
- run: yarn lint-css
- run: yarn lint-ts
- run: yarn format-check
- run: yarn link-check
- run: yarn link-check-exclude

workflows:
version: 2
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/link-check-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check all links in the repository
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
run:
name: Link Check All
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Run Link Check
uses: 'iterative/[email protected]'
with:
configFile: 'config/link-check/config.yml'
output: consoleLog
50 changes: 50 additions & 0 deletions .github/workflows/link-check-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Check new links against deployment
# This workflow "triggers" and skips on deployment because GitHub Actions /
# Checks refuses to show the check on deployment_status
on:
- deployment
- deployment_status

jobs:
run:
name: Initialize
runs-on: ubuntu-latest
if: github.event.deployment_status.state == 'success'

steps:
- uses: actions/checkout@v2

- id: build_check
uses: LouisBrunner/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Report
status: queued

- name: Run Link Check
id: check
uses: 'iterative/[email protected]'
with:
diff: true
configFile: 'config/link-check/config.yml'
rootURL: '${{ github.event.deployment.payload.web_url }}'
output: checksAction

- uses: LouisBrunner/[email protected]
if: ${{ success() }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
check_id: ${{ steps.build_check.outputs.check_id }}
status: completed
conclusion: ${{ steps.check.outputs.conclusion }}
output: ${{ steps.check.outputs.output }}

- uses: LouisBrunner/[email protected]
if: ${{ failure() }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
check_id: ${{ steps.build_check.outputs.check_id }}
status: completed
conclusion: failure
output: >-
{"summary": "The Link Check script had an error!"}
12 changes: 12 additions & 0 deletions config/link-check/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
rootURL: https://dvc.org
fileIncludePatterns: '{.github,content,src}/**/*!(.test).{css,js,jsx,md,tsx,ts,json}'
fileExcludePatternFile: config/link-check/excluded-files.yml
linkExcludePatternFile: config/link-check/excluded-links.yml
linkOptions:
'*.wikipedia.org':
minTime: 2000
maxConcurrent: 1

'*.github.com':
minTime: 1000
maxConcurrent: 1
4 changes: 4 additions & 0 deletions config/link-check/excluded-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- 'src/consts.js'
shcheklein marked this conversation as resolved.
Show resolved Hide resolved
- '**/*.test.js'
- 'src/server/**/*'
- '.github/workflows/**/*'
17 changes: 17 additions & 0 deletions config/link-check/excluded-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- 'http://localhost:8000**'
- 'http://millionsongdataset.com/pages/getting-dataset/#subset'
- 'https://marketplace.visualstudio.com/items?itemName=stkb.rewrap'
- 'https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml'
- 'https://remote.dvc.org/get-started'
- 'https://sweedom.us10.list-manage.com/subscribe/post?u=a08bf93caae4063c4e6a351f6&amp;id=24c0ecc49a'
- 'https://www.meetup.com/San-Francisco-Machine-Learning-Meetup/events/264846847/'
- 'https://www.reddit.com/r/MachineLearning/comments/bx0apm/d_how_do_you_manage_your_machine_learning/'
- 'https://www.amazon.com/DevOps-Handbook-World-Class-Reliability-Organizations-ebook/dp/B01M9ASFQ3'
- '**linkedin.com/in/**'
shcheklein marked this conversation as resolved.
Show resolved Hide resolved
- 'link'
- '/img/<filename>.gif'
- '/uploads/images/2020-02-10/image.png'
- 'https://portal.aws.amazon.com/gp/aws/developer/registration/index.html'
- 'https://github.com/iterative/dvc/releases/download/'
- 'https://www.kaggle.com/kurianbenoy/introduction-to-data-version-control-dvc'
- 'https://timheuer.com/blog/skipping-ci-github-actions-workflows/'
4 changes: 2 additions & 2 deletions content/authors/marcel_rd.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ links:
- https://twitter.com/mribeirodantas
---

Early Stage Researcher at [Institut Curie](https://intstitut-curie.org) with
Early Stage Researcher at [Institut Curie](https://institut-curie.org/) with
over 10 years of experience in the field of biomedical engineering and health
informatics. Areas of interest include Causal Inference, Artificial
Intelligence, and Data Science. Degrees in Computer and Automation Engineering
(Eng), Big Data (Grad degree), and Bioinformatics (MSc). Currently enrolled in a
Ph.D. at EDITE (Sorbonne Université).

Twitter: [@mribeirodantas](https://twitter.com/mribeirodantas) Website:
[mribeirodantas.me](https://mribeirodantas.me)
[mribeirodantas.me](http://mribeirodantas.me)
4 changes: 2 additions & 2 deletions content/blog/2020-01-17-january-20-dvc-heartbeat.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ biggest contributors, [Vít Novotný](https://github.com/witiko), and

![](/uploads/images/2020-01-17/odd_with_deevee.png)_Vera (center, flashing a
peace sign) thanked us with this lovely picture of DeeVee and her team,
[Odd Industries](https://odd.co/en/). They are making some extremely neat tools
for construction teams using computer vision._
[Odd Industries](https://odd.co). They are making some extremely neat tools for
construction teams using computer vision._

**We were at PyData LA!** Our fearless leader
[Dmitry gave a talk](https://www.youtube.com/watch?v=7Wsd6V0k4Oc) and we set up
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2020-04-30-gsod-ideas-2020.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ technical writer, [Jorge](https://github.com/jorgeorpinel).
![](/uploads/images/2020-04-30/Discord_user_video_tutorials.png) _Video
tutorials are a common request by users in our [chat](https://dvc.org/chat)._

**Mentor**: [Elle](https://github.com/andronovhopf)
**Mentor**: [Elle](https://github.com/elleobrien)

_Difficulty rating:_ Beginner-Medium<br/><br/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ a goldmine for ways to pitch in. For example:

![](/uploads/images/2020-01-17/odd_with_deevee.png 'Vera and team =500')_Vera
(center, flashing a peace sign) thanked us with this lovely picture of DeeVee
and her team, [Odd Industries](https://odd.co/en/)._
and her team, [Odd Industries](https://odd.co)._

If any of this sounds fun to you, please be in touch over
[email](mailto:[email protected]) (and you can also reach us on
Expand Down
4 changes: 2 additions & 2 deletions content/blog/2020-06-08-june-20-dvc-heartbeat.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ platform. It's awesome to know our approach is resonating with teams at the
intersection of ML and software development. Thanks, ThoughtWorks!

Last up in company news: you might recall that in early May, we hosted an online
meetup. [Marcel Ribeiro-Dantas](mribeirodantas.me) hosted guest talks from
[Elizabeth Hutton](https://github.com/ehutt) and
meetup. [Marcel Ribeiro-Dantas](http://mribeirodantas.me) hosted guest talks
from [Elizabeth Hutton](https://github.com/ehutt) and
[Dean Pleban](https://twitter.com/DeanPlbn)- we heard about constructing a new
COVID-19 dataset, using DVC with transformer language models, and building
custom cloud infrastructure for MLOps. There's also Q&A with the DVC team, where
Expand Down
12 changes: 6 additions & 6 deletions content/blog/2020-07-16-devops-for-data-scientists.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Git refresher?
When a feature branch passes the automated tests, it becomes a candidate to be
merged into the master branch.

![](/static/uploads/2020-07-16/basic_ci_system.png) _Here's what continuous
![](/uploads/images/2020-07-16/basic_ci_system.png) _Here's what continuous
shcheklein marked this conversation as resolved.
Show resolved Hide resolved
integration looks like in software development._

With this setup, we have automation — code changes trigger an automatic build
Expand All @@ -145,7 +145,7 @@ matrix or loss plot. So pass/fail tests won’t cut it for feedback. Understandi
if a model is improved requires some domain knowledge about the problem at hand,
so test results need to be reported in an efficient and human-interpretable way.

![](/static/uploads/2020-07-16/ci_for_data_system.png) _Here's what continuous
![](/uploads/images/2020-07-16/ci_for_data_system.png) _Here's what continuous
integration might look like in a machine learning project. Inspected by Data
Science Doggy._

Expand Down Expand Up @@ -183,7 +183,7 @@ $ git push origin experiment

4. GitHub returns a notification if the functions ran successfully or not.

![](/static/uploads/2020-07-16/run_notification.png) _Find this in the Actions
![](/uploads/images/2020-07-16/run_notification.png) _Find this in the Actions
tab of your GitHub repository._

That’s it! What’s really neat here is that you’re using GitHub’s computers to
Expand Down Expand Up @@ -225,7 +225,7 @@ As we alluded to earlier, automatic training is pretty cool and all, but it’s
important to have the results in a format that’s easy to understand. Currently,
GitHub Actions gives you access to the runner’s logs, which are plain text.

![](/static/uploads/2020-07-16/github_actions_log.png) _An example printout from
![](/uploads/images/2020-07-16/github_actions_log.png) _An example printout from
a GitHub Actions log._

But understanding your model’s performance is tricky. Models and data are high
Expand All @@ -243,7 +243,7 @@ we’ve built some functions to give more detailed reports than a pass/fail
notification. CML helps you put images and tables in the reports, like this
confusion matrix generated by SciKit-learn:

![](/static/uploads/2020-07-16/cml_basic_report.png) _This report appears when
![](/uploads/images/2020-07-16/cml_basic_report.png) _This report appears when
you make a Pull Request in GitHub!_

To make this report, our GitHub Action executed a Python model training script,
Expand Down Expand Up @@ -315,7 +315,7 @@ For example, I made a project using GitHub Actions to deploy an
[EC2 GPU and then train a neural style transfer model](https://github.com/iterative/cml_cloud_case).
Here’s my CML report:

![](/static/uploads/2020-07-16/cloud_report.png) _Training in the cloud!
![](/uploads/images/2020-07-16/cloud_report.png) _Training in the cloud!
Weeeeeee!_

You can also use your own Docker containers, so you can closely emulate the
Expand Down
2 changes: 1 addition & 1 deletion content/blog/2020-07-24-first-mlops-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
- CML
---

Earlier this month, we launched [CML](https;//cml.dev), our latest open-source
Earlier this month, we launched [CML](https://cml.dev), our latest open-source
project in the MLOps space. We think it's a step towards establishing powerful
DevOps practices (like continuous integration) as a regular fixture of machine
learning and data science projects. But there are plenty of challenges ahead,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Here are some benefits of using CML with a self-hosted runner:

3. **Security.** If your repo is public your runners could be accesed by anyone
that could add
[scripts that exploits your machine](https://docs.GitHub.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories).
[scripts that exploits your machine](https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories).
With the containerised runner you are restricting the access to your real
machine.

Expand Down Expand Up @@ -163,7 +163,7 @@ running with CML.
There are still some limitations to be solved at this stage:

- GitHub Actions
[can’t run a workflow longer than 72 hours](https://docs.GitHub.com/en/actions/getting-started-with-GitHub-actions/about-GitHub-actions#usage-limits).
[can’t run a workflow longer than 72 hours](https://docs.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits).

- Self-hosted runners
[don’t behave well when they disconnect from the repo](https://GitLab.com/GitLab-org/GitLab/-/issues/229851#note_390371734),
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
"format": "prettier --write",
"lint-ts": "tsc --noEmit --skipLibCheck && eslint --ext .json,.js,.ts,.tsx .",
"lint-css": "stylelint \"src/**/*.css\"",
"link-check": "./scripts/link-check-git-all.sh",
shcheklein marked this conversation as resolved.
Show resolved Hide resolved
"link-check-diff": "./scripts/link-check-git-diff.sh",
"link-check-exclude": "./scripts/exclude-links-check.sh"
"link-check": "repo-link-check -c config/link-check/config.yml",
"link-check-diff": "repo-link-check -c config/link-check/config.yml -d",
"link-check-dev-server": "repo-link-check -c config/link-check/config.yml -r http://localhost:3000",
"link-check-exclude": "repo-link-check -c config/link-check/config.yml --unused-patterns-only"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -75,6 +76,7 @@
"react-slick": "^0.25.2",
"react-use": "^14.0.0",
"rehype-react": "^5.0.1",
"repo-link-check": "^0.6.0",
"reset-css": "^5.0.1",
"s3-client": "^4.4.2",
"scroll": "^3.0.1",
Expand Down
17 changes: 0 additions & 17 deletions scripts/exclude-links-check.sh

This file was deleted.

43 changes: 0 additions & 43 deletions scripts/exclude-links.txt

This file was deleted.

16 changes: 0 additions & 16 deletions scripts/link-check-git-all.sh

This file was deleted.

20 changes: 0 additions & 20 deletions scripts/link-check-git-diff.sh

This file was deleted.

Loading