Skip to content

Commit e2b4b23

Browse files
Merge branch 'master' into 8.0.x-sync
2 parents d5d6cc8 + ee6091c commit e2b4b23

33 files changed

+198
-37
lines changed

.github/workflows/deploy.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,21 @@ jobs:
6969
with:
7070
python-version: '3.9'
7171

72+
- name: configure git
73+
uses: cylc/release-actions/configure-git@v1
74+
7275
- name: checkout cylc-doc
7376
uses: actions/checkout@v3
7477
with:
75-
ref: ${{ github.event.inputs.cylc-flow-tag }}
78+
ref: ${{ inputs.cylc-flow-tag }}
7679
path: docs
7780

7881
- name: install dependencies
7982
uses: cylc/cylc-doc/.github/actions/install-dependencies@master
8083

8184
- name: install cylc-doc
82-
run: pip install "${{ github.workspace }}/docs[all]"
85+
working-directory: docs
86+
run: pip install ".[all]"
8387

8488
- name: install libs to document
8589
uses: cylc/cylc-doc/.github/actions/install-libs@master
@@ -98,21 +102,18 @@ jobs:
98102
path: gh-pages
99103

100104
- name: sync static files
101-
if: ${{ github.event.inputs.set_stable == 'true' }}
105+
if: ${{ inputs.set_stable }}
106+
env:
107+
DOCS: '${{ github.workspace }}/docs'
108+
PAGE: '${{ github.workspace }}/gh-pages'
102109
run: |
103-
DOCS="${{ github.workspace }}/docs" \
104-
PAGE="${{ github.workspace }}/gh-pages" \
105-
106110
rsync -r "$DOCS/doc/" "$PAGE/"
107111
108112
- name: install gh-pages
113+
working-directory: docs
109114
run: |
110-
DOCS="${{ github.workspace }}/docs" \
111-
PAGE="${{ github.workspace }}/gh-pages" \
112-
113-
cd "$DOCS"
114115
rm -r doc
115-
ln -s "$PAGE" doc
116+
ln -s ../gh-pages doc
116117
117118
- name: build docs
118119
run: |
@@ -125,20 +126,17 @@ jobs:
125126
linkcheck \
126127
SPHINXOPTS='-Wn --keep-going' \
127128
FORCE_COLOR=true \
128-
STABLE=${{ github.event.inputs.set_stable }} \
129-
LATEST=${{ github.event.inputs.set_latest }}
130-
131-
- name: configure git
132-
uses: cylc/release-actions/configure-git@v1
129+
STABLE=${{ inputs.set_stable }} \
130+
LATEST=${{ inputs.set_latest }}
133131
134132
- name: tidy old versions
133+
working-directory: docs
135134
run: |
136-
cd docs
137-
git rm -r $("${{ github.workspace }}/docs/bin/version" tidy) || true
135+
git rm -r $("./bin/version" tidy) || true
138136
139137
- name: push changes
138+
working-directory: gh-pages
140139
run: |
141-
cd gh-pages
142140
git add *
143-
git commit -m "add: ${{ github.event.inputs.cylc-flow-tag }}"
141+
git commit -m "add: ${{ inputs.cylc-flow-tag }}"
144142
git push origin HEAD

.github/workflows/shortlog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- '.github/workflows/shortlog.yml'
1010

1111
jobs:
12-
test:
12+
shortlog:
1313
runs-on: 'ubuntu-latest'
1414
timeout-minutes: 10
1515
steps:

.github/workflows/undeploy.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,20 @@ jobs:
3636
runs-on: ubuntu-latest
3737
timeout-minutes: 10
3838
env:
39-
TAG: ${{ github.event.inputs.tag }}
39+
TAG: ${{ inputs.tag }}
4040
steps:
4141
- name: configure python
4242
uses: actions/setup-python@v4
4343
with:
4444
python-version: '3.9'
4545

46+
- name: configure git
47+
uses: cylc/release-actions/configure-git@v1
48+
4649
- name: checkout cylc-doc
4750
uses: actions/checkout@v3
51+
with:
52+
path: docs
4853

4954
- name: checkout gh-pages
5055
uses: actions/checkout@v3
@@ -67,17 +72,21 @@ jobs:
6772
fi
6873
done
6974
70-
- name: configure git
71-
uses: cylc/release-actions/configure-git@v1
75+
- name: install gh-pages
76+
working-directory: docs
77+
run: |
78+
rm -r doc
79+
ln -s ../gh-pages doc
7280
7381
- name: remove version
7482
working-directory: gh-pages
7583
run: |
7684
git rm -r "$TAG"
7785
7886
- name: update version file
87+
working-directory: docs
7988
run: |
80-
bin/version write
89+
bin/version write > doc/versions.json
8190
8291
- name: push changes
8392
working-directory: gh-pages

src/7-to-8/cheat-sheet.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ Install a workflow from source and run it:
5959
# run the installed workflow
6060
cylc play <name>
6161

62+
# alternatively:
63+
# validate, install & play
64+
cylc vip <name>
65+
6266

6367
Reloading
6468
---------
@@ -79,7 +83,7 @@ To update a running workflow with changes from the source directory:
7983
- ::
8084

8185
# re-install from source
82-
# and do ``cylc reload``
86+
# and do ``cylc reload``
8387
rose suite-run --reload
8488
- ::
8589

src/7-to-8/major-changes/cli.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ GUI. Consequently the following commands have also been removed:
113113
The ``cylc gui`` command remains, it launches a standalone version of the
114114
web GUI (providing the `Cylc UI Server`_ is installed).
115115

116+
.. seealso::
117+
118+
:ref:`CompoundCommands` - For your convenience we have
119+
provided commands which represent common working practices. For
120+
example ``cylc vip`` (Validate-Install-Play) which runs
121+
``cylc validate``, ``cylc install`` and ``cylc play``.
122+
116123

117124
Cylc 8 Standardised IDs
118125
-----------------------

src/dictionaries/proper_nouns

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ Posix
3030
Protobuf
3131
Pympler
3232
Pyro
33+
pyproject
3334
rsync
3435
sge
3536
slurm
3637
Slurm
3738
sqlite
3839
svn
40+
toml
3941
Trac
4042
Tui
4143
Vuex

src/dictionaries/words

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ retrigger
133133
retriggered
134134
retriggering
135135
roadmap
136+
ruleset
137+
rulesets
136138
runahead
137139
runnable
138140
runtime

src/hyperlinks.rst.include

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
:height: 18px
5959
:align: middle
6060

61-
.. |task-running| image:: /img/task-job-icons/task-running.png
61+
.. |task-running| image:: /img/task-job-icons/task-running-25.png
6262
:height: 18px
6363
:align: middle
6464

@@ -71,6 +71,19 @@
7171
:align: middle
7272

7373

74+
.. |task-held| image:: /img/task-job-icons/task-isHeld.png
75+
:height: 18px
76+
:align: middle
77+
78+
.. |task-runahead| image:: /img/task-job-icons/task-isRunahead.png
79+
:height: 18px
80+
:align: middle
81+
82+
.. |task-queued| image:: /img/task-job-icons/task-isQueued.png
83+
:height: 18px
84+
:align: middle
85+
86+
7487
.. |job-submitted| image:: /img/task-job-icons/job-submitted.png
7588
:height: 18px
7689
:align: middle
2.18 KB
Loading
2.05 KB
Loading

0 commit comments

Comments
 (0)