Skip to content

Commit bab0803

Browse files
Update docs links, build less nightly images (#492)
1 parent 419ee3f commit bab0803

File tree

14 files changed

+91
-152
lines changed

14 files changed

+91
-152
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- 'Dockerfile.slim'
1212
- 'pyproject.toml'
1313
- 'poetry.lock'
14-
- 'Makefile'
1514
- '.github/workflows/build.yml'
1615

1716
jobs:
@@ -26,20 +25,20 @@ jobs:
2625
strategy:
2726
matrix:
2827
image:
29-
- name: default
30-
suffix: ''
31-
platforms: linux/amd64,linux/arm64
32-
dockerfile: Dockerfile
33-
build_args: 'PYTEZOS=0'
28+
# - name: default
29+
# suffix: ''
30+
# platforms: linux/amd64,linux/arm64
31+
# dockerfile: Dockerfile
32+
# build_args: 'PYTEZOS=0'
3433

35-
- name: pytezos
36-
suffix: -pytezos
37-
platforms: linux/amd64,linux/arm64
38-
dockerfile: Dockerfile
39-
build_args: 'PYTEZOS=1'
34+
# - name: pytezos
35+
# suffix: -pytezos
36+
# platforms: linux/amd64,linux/arm64
37+
# dockerfile: Dockerfile
38+
# build_args: 'PYTEZOS=1'
4039

4140
- name: slim
42-
suffix: -slim
41+
suffix: ''
4342
dockerfile: Dockerfile.slim
4443
platforms: linux/amd64,linux/arm64
4544
build_args: ''

.github/workflows/cookiecutter.yml

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

.github/workflows/docs.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
- '*.*.*'
77
branches:
88
- master
9-
# FIXME: temporary
10-
- aux/docs-root
119
paths:
1210
- 'docs/**'
1311
- 'scripts/**'
@@ -19,28 +17,16 @@ jobs:
1917
runs-on: ubuntu-latest
2018
steps:
2119
- name: Check out the repo
22-
uses: actions/checkout@v2
23-
with:
24-
fetch-depth: 0
25-
26-
- name: Set up Python
27-
uses: actions/setup-python@v2
28-
with:
29-
python-version: '3.10.x'
20+
uses: actions/checkout@v3
3021

31-
- name: Set up Poetry
32-
uses: snok/install-poetry@v1
33-
with:
34-
version: '1.2.0'
22+
- name: Install poetry
23+
run: pipx install poetry
3524

36-
- name: Set up cache
37-
uses: actions/cache@v2
38-
id: cache-venv
25+
- name: Set up Python
26+
uses: actions/setup-python@v4
3927
with:
40-
path: /home/runner/.cache/pypoetry/virtualenvs
41-
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
42-
restore-keys: |
43-
${{ runner.os }}-venv-
28+
python-version: '3.10'
29+
cache: 'poetry'
4430

4531
- name: Set up mdBook
4632
uses: peaceiris/actions-mdbook@v1

.github/workflows/homepage.yml

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

.github/workflows/installer.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Installer
2+
on:
3+
push:
4+
paths:
5+
- 'cookiecutter/**'
6+
- 'scripts/**'
7+
- '.github/workflows/installer.yml'
8+
9+
jobs:
10+
test:
11+
name: Installer
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check out the repo
15+
uses: actions/checkout@v3
16+
17+
- name: Install poetry
18+
run: pipx install poetry
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.10'
24+
cache: 'poetry'
25+
26+
- name: Install poetry
27+
run: pipx reinstall poetry --python python3.10
28+
29+
- name: Create new project and ensure it's valid
30+
run: TEMPLATE=CI python scripts/install.py

.github/workflows/release.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@ jobs:
1212
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
1313
steps:
1414
- name: Check out the repo
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
16+
17+
- name: Install poetry
18+
run: pipx install poetry
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v4
1622
with:
17-
fetch-depth: 0
23+
python-version: '3.10'
24+
cache: 'poetry'
1825

1926
- name: Set up QEMU
2027
uses: docker/setup-qemu-action@v2
@@ -66,16 +73,6 @@ jobs:
6673
type=pep440,pattern={{major}}-slim
6774
type=pep440,pattern={{major}}.{{minor}}-slim
6875
69-
- name: Set up Python
70-
uses: actions/setup-python@v2
71-
with:
72-
python-version: '3.10.x'
73-
74-
- name: Set up Poetry
75-
uses: snok/install-poetry@v1
76-
with:
77-
version: '1.2.0'
78-
7976
- name: Install project
8077
run: make install
8178
- name: Run lint

.github/workflows/test.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- 'tests/**'
77
- 'pyproject.toml'
88
- 'poetry.lock'
9-
- 'Makefile'
109
- '.github/workflows/test.yml'
1110

1211
jobs:
@@ -26,28 +25,25 @@ jobs:
2625
arch: arm64
2726
steps:
2827
- name: Check out the repo
29-
uses: actions/checkout@v2
30-
with:
31-
fetch-depth: 0
28+
uses: actions/checkout@v3
3229

33-
- name: Set up Python
34-
uses: actions/setup-python@v2
35-
with:
36-
python-version: '3.10.x'
30+
- name: Install poetry
31+
run: pipx install poetry
3732

38-
- name: Set up Poetry
39-
uses: snok/install-poetry@v1
33+
- name: Set up Python
34+
uses: actions/setup-python@v4
4035
with:
41-
version: '1.2.0'
36+
python-version: '3.10'
37+
cache: 'poetry'
4238

43-
- name: Set up cache
39+
- name: Set up cache (replays)
4440
uses: actions/cache@v2
45-
id: cache-venv
41+
id: cache-replays
4642
with:
47-
path: /home/runner/.cache/pypoetry/virtualenvs
48-
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
43+
path: /tmp/dipdup/replays
44+
key: ${{ matrix.os }}-${{ matrix.arch }}-replays
4945
restore-keys: |
50-
${{ runner.os }}-venv-
46+
${{ matrix.os }}-${{ matrix.arch }}-replays
5147
5248
- name: Install project
5349
run: make install

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning].
1717
- sentry: Unwrap `CallbackError` traceback to fix event grouping.
1818
- sentry: Hide "attempting to send..." message on shutdown.
1919

20+
### Other
21+
22+
- ci: Do not build default and `-pytezos` nightly images.
23+
2024
## [6.1.2] - 2022-09-16
2125

2226
### Added

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ docs: ## Build docs
3333
cd docs
3434
make -s clean docs markdownlint orphans || true
3535

36-
homepage: ## Build homepage
37-
cd docs
38-
make homepage
39-
4036
##
4137

4238
isort: ## Format with isort

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
DipDup is a Python framework for building indexers of [Tezos](https://tezos.com/) smart contracts. It helps developers focus on the business logic instead of writing data storing and serving boilerplate. DipDup-based indexers are selective, which means only required data is requested. This approach allows to achieve faster indexing times and decreased load on APIs DipDup uses.
2222

23-
* **Ready to build your first indexer?** Head to [Quickstart](https://dipdup.net/docs/quickstart).
23+
* **Ready to build your first indexer?** Head to [Quickstart](https://docs.dipdup.io/quickstart).
2424

2525
* **Looking for examples?** Check out [Demo Projects](https://github.com/dipdup-net/dipdup/tree/master/src).
2626

0 commit comments

Comments
 (0)