Skip to content

Commit

Permalink
Fix UML for docs-check (#370)
Browse files Browse the repository at this point in the history
* fix(uml): update to predictable statemachine

* ci(circle): only run docsgen

don't generate the actual images -- it's become unreliable in terms of success
  • Loading branch information
hannahhoward committed Aug 14, 2020
1 parent 6151b82 commit 1e15fa9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 25 deletions.
13 changes: 2 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,9 @@ jobs:
executor: golang
steps:
- install-deps
- prepare
- run:
name: Install Headless Chrome Dependencies
command: |
sudo apt-get install -yq \
gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \
libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates \
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- prepare
- node/install-packages
- run: make diagrams
- run: make docsgen
- run: git --no-pager diff
- run: git --no-pager diff --quiet

Expand Down
6 changes: 3 additions & 3 deletions docs/storageclient.mmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ stateDiagram-v2
7 --> 26 : ClientEventDealCompletionFailed
11 --> 26 : ClientEventFailed

note left of 21 : The following events only record in this state.<br><br>ClientEventFundsReserved


note left of 3 : The following events only record in this state.<br><br>ClientEventFundsReleased


note left of 11 : The following events only record in this state.<br><br>ClientEventFundsReleased


note left of 21 : The following events only record in this state.<br><br>ClientEventFundsReserved

9 --> [*]
8 --> [*]
26 --> [*]
6 changes: 3 additions & 3 deletions docs/storageclient.mmd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/storageprovider.mmd
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ stateDiagram-v2
note left of 4 : The following events only record in this state.<br><br>ProviderEventPieceStoreErrored


note left of 20 : The following events only record in this state.<br><br>ProviderEventFundsReserved
note left of 11 : The following events only record in this state.<br><br>ProviderEventFundsReleased


note left of 11 : The following events only record in this state.<br><br>ProviderEventFundsReleased
note left of 20 : The following events only record in this state.<br><br>ProviderEventFundsReserved


note left of 25 : The following events only record in this state.<br><br>ProviderEventFundsReleased
Expand Down
6 changes: 3 additions & 3 deletions docs/storageprovider.mmd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/filecoin-project/go-data-transfer v0.6.1
github.com/filecoin-project/go-multistore v0.0.3
github.com/filecoin-project/go-padreader v0.0.0-20200210211231-548257017ca6
github.com/filecoin-project/go-statemachine v0.0.0-20200730031800-c3336614d2a7
github.com/filecoin-project/go-statemachine v0.0.0-20200813232949-df9b130df370
github.com/filecoin-project/go-statestore v0.1.0
github.com/filecoin-project/go-storedcounter v0.0.0-20200421200003-1c99c62e8a5b
github.com/filecoin-project/sector-storage v0.0.0-20200730050024-3ee28c3b6d9a
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ github.com/filecoin-project/go-padreader v0.0.0-20200210211231-548257017ca6/go.m
github.com/filecoin-project/go-paramfetch v0.0.2-0.20200218225740-47c639bab663 h1:eYxi6vI5CyeXD15X1bB3bledDXbqKxqf0wQzTLgwYwA=
github.com/filecoin-project/go-paramfetch v0.0.2-0.20200218225740-47c639bab663/go.mod h1:fZzmf4tftbwf9S37XRifoJlz7nCjRdIrMGLR07dKLCc=
github.com/filecoin-project/go-statemachine v0.0.0-20200714194326-a77c3ae20989/go.mod h1:FGwQgZAt2Gh5mjlwJUlVB62JeYdo+if0xWxSEfBD9ig=
github.com/filecoin-project/go-statemachine v0.0.0-20200730031800-c3336614d2a7 h1:KAF3WM/xSnl6G6RHX8vDJthg4+e4PSgBh72//6c6Qvc=
github.com/filecoin-project/go-statemachine v0.0.0-20200730031800-c3336614d2a7/go.mod h1:FGwQgZAt2Gh5mjlwJUlVB62JeYdo+if0xWxSEfBD9ig=
github.com/filecoin-project/go-statemachine v0.0.0-20200813232949-df9b130df370 h1:Jbburj7Ih2iaJ/o5Q9A+EAeTabME6YII7FLi9SKUf5c=
github.com/filecoin-project/go-statemachine v0.0.0-20200813232949-df9b130df370/go.mod h1:FGwQgZAt2Gh5mjlwJUlVB62JeYdo+if0xWxSEfBD9ig=
github.com/filecoin-project/go-statestore v0.1.0 h1:t56reH59843TwXHkMcwyuayStBIiWBRilQjQ+5IiwdQ=
github.com/filecoin-project/go-statestore v0.1.0/go.mod h1:LFc9hD+fRxPqiHiaqUEZOinUJB4WARkRfNl10O7kTnI=
github.com/filecoin-project/go-storedcounter v0.0.0-20200421200003-1c99c62e8a5b h1:fkRZSPrYpk42PV3/lIXiL0LHetxde7vyYYvSsttQtfg=
Expand Down

0 comments on commit 1e15fa9

Please sign in to comment.