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

Tutorial additions #227

Merged
merged 12 commits into from
Aug 16, 2023
Merged

Tutorial additions #227

merged 12 commits into from
Aug 16, 2023

Conversation

nepet
Copy link
Collaborator

@nepet nepet commented Aug 1, 2023

This PR reworks the gltesting tutorial.

The goal of this PR is to provide a tutorial that developers can follow along and that can be replayed line by line. It it incredibility fragile to work on this because of all things that are cached (e.g. the docker image), so I expect it to fail somewhere on first review ^^.

There are also some convenience additions to the Makefile that help to set up a docker container and mounting points that belong to the user instead of root, so that one can read the /tmp files like the certificates from outside the container without sudo or being root.

  • Docker container should use the host user
  • Add examples to the repo
  • Rework the tutorial to match the examples and streamline the envvars and cert files.
  • Add an example application that runs on the host and talks to gltesting in the docker container.

Bonus points:

  • Review walk trough from fresh repo clone.

This should resolve #166 and resolve #167

@nepet nepet linked an issue Aug 1, 2023 that may be closed by this pull request
@nepet
Copy link
Collaborator Author

nepet commented Aug 1, 2023

@tonyaldon Would be happy to receive a review and some feedback from you!

@tonyaldon
Copy link

Cool @nepet that you've improved the tutorial. I'll look at the PR and go through the tutorial this week ;)

cdecker
cdecker previously approved these changes Aug 4, 2023
Copy link
Collaborator

@cdecker cdecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite the nice PR, thanks. I only had some stylistic things, and was able to step through the tutorial quite easily.

Comment on lines 134 to 136
---
title: Test network
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mermaid seems not to like this preamble.

docs/src/tutorials/testing.md Show resolved Hide resolved
libs/gl-testing/Dockerfile Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
docs/src/tutorials/testing.md Show resolved Hide resolved
docs/src/tutorials/testing.md Outdated Show resolved Hide resolved
docs/src/tutorials/testing.md Show resolved Hide resolved
docs/src/tutorials/testing.md Outdated Show resolved Hide resolved
examples/pyproject.toml Outdated Show resolved Hide resolved
docs/src/tutorials/testing.md Outdated Show resolved Hide resolved
@tonyaldon
Copy link

tonyaldon commented Aug 6, 2023

The tutorial is pleasant to go through.

I was able to do the part Write your first test but not the part Manually testing against a mock Network.

In Write your first test, I think there is 2 typos and my-first-test.py example mixes tabs and spaces, so a copy/paste doesn't work:

  • line 242 of docs/src/tutorials/testing.md: register=True -> configure=True
  • line 269 of docs/src/tutorials/testing.md: custory -> custody
  • line 384 of docs/src/tutorials/testing.md: should be either only spaces or only tabs in this python example.

In Manually testing against a mock Network, in the host, being in the directory examples I wasn't able to install the dependencies with poetry install. I'm missing something. It seems that I didn't compiled gl-client-py. Here the error message:

$ poetry install
Path /home/tony/work/repos/greenlight/gl-client-py for gl-client does not exist
Installing dependencies from lock file
Path /home/tony/work/repos/greenlight/gl-client-py for gl-client does not exist

Path /home/tony/work/repos/greenlight/gl-client-py for gl-client does not exist

Can you help me with this step?

@nepet
Copy link
Collaborator Author

nepet commented Aug 7, 2023

Thanks for checking and going through the tutorial. @tonyaldon the wrong path for gl-client in the poetry file has also been mentioned by @cdecker. I moved the example dir to the top level and forgot to change the relative path to gl-client-py. Adding libs to the path should fix it.

@tonyaldon
Copy link

I tried to do the part Manually testing against a mock Network taking into account @cdecker change in gl-client path but I still can't get it work.

I was on the branch 202306-tutorial-additions commit 128e51e (gci: Fix misspelled trigger in check-self.yml).

Here is what I did:

In examples/pyproject.toml:

@@ -6,6 +6,6 @@ authors = []
 license = "MIT"

 [tool.poetry.dependencies]
-gl-client = {path = "../gl-client-py"}
+gl-client = {path = "../libs/gl-client-py"}
 pytest = "^7.1.2"
 python = ">=3.7,<4"

On the host, I ran poetry shell and poetry install which gave me the following output (first part of it):

Installing dependencies from lock file
Warning: poetry.lock is not consistent with pyproject.toml. You may be getting improper dependencies. Run `poetry lock [--no-update]` to fix it.

Package operations: 12 installs, 1 update, 0 removals

  • Installing grpcio (1.56.2): Pending...
  • Installing protobuf (4.23.4): Failed

So I ran poetry lock which worked correctly.

Then I ran again poetry install which gave me the following output (Installing gl-client ...: Failed):

Installing dependencies from lock file

Package operations: 10 installs, 1 update, 0 removals

  • Installing protobuf (4.23.4)
  • Updating setuptools (67.4.0 -> 68.0.0)
  • Installing exceptiongroup (1.1.2)
  • Installing grpcio-tools (1.56.2)
  • Installing iniconfig (2.0.0)
  • Installing packaging (23.1)
  • Installing pluggy (1.2.0)
  • Installing pyln-grpc-proto (0.1.1)
  • Installing tomli (2.0.1)
  • Installing gl-client (0.1.9 /home/tony/work/repos/greenlight/libs/gl-client-py): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel

  Running `maturin pep517 build-wheel -i /tmp/tmplig5yeql/.venv/bin/python`
     Compiling proc-macro2 v1.0.60
     Compiling quote v1.0.28
     Compiling unicode-ident v1.0.9
     Compiling libc v0.2.146
     Compiling autocfg v1.1.0
     Compiling cfg-if v1.0.0
     Compiling cc v1.0.79
     Compiling syn v1.0.109
     Compiling syn v2.0.18
     Compiling memchr v2.5.0
     Compiling getrandom v0.2.10
     Compiling rand_core v0.6.4
     Compiling serde v1.0.164
     Compiling log v0.4.19
     Compiling anyhow v1.0.71
     Compiling indexmap v1.9.3
     Compiling scopeguard v1.1.0
     Compiling once_cell v1.18.0
     Compiling itoa v1.0.6
     Compiling pin-project-lite v0.2.9
     Compiling lock_api v0.4.10
     Compiling bytes v1.4.0
     Compiling parking_lot_core v0.9.8
     Compiling smallvec v1.10.0
     Compiling futures-core v0.3.28
     Compiling either v1.8.1
     Compiling ppv-lite86 v0.2.17
     Compiling parking_lot v0.12.1
     Compiling rand_chacha v0.3.1
     Compiling num-traits v0.2.15
     Compiling tokio v1.28.2
     Compiling rand v0.8.5
     Compiling itertools v0.10.5
     Compiling ring v0.16.20
     Compiling signal-hook-registry v1.4.1
     Compiling num_cpus v1.15.0
     Compiling serde_derive v1.0.164
     Compiling tokio-macros v2.1.0
     Compiling socket2 v0.4.9
     Compiling mio v0.8.8
     Compiling prost-derive v0.11.9
     Compiling secp256k1-sys v0.6.1
     Compiling tempfile v3.6.0
     Compiling version_check v0.9.4
     Compiling typenum v1.16.0
     Compiling io-lifetimes v1.0.11
     Compiling futures-task v0.3.28
     Compiling generic-array v0.14.7
     Compiling tracing-attributes v0.1.24
     Compiling tracing-core v0.1.31
     Compiling bitcoinconsensus v0.20.2-0.5.0
     Compiling target-lexicon v0.12.7
     Compiling rustversion v1.0.12
     Compiling futures-util v0.3.28
     Compiling rustix v0.37.20
     Compiling tracing v0.1.37
     Compiling bitcoin_hashes v0.11.0
     Compiling slab v0.4.8
     Compiling prettyplease v0.1.25
     Compiling untrusted v0.7.1
     Compiling linux-raw-sys v0.3.8
     Compiling hashbrown v0.12.3
     Compiling fnv v1.0.7
     Compiling pin-utils v0.1.0
     Compiling bitflags v1.3.2
     Compiling hex v0.4.3
     Compiling spin v0.5.2
     Compiling http v0.2.9
     Compiling prost v0.11.9
     Compiling secp256k1 v0.24.3
     Compiling aho-corasick v1.0.2
     Compiling bech32 v0.9.1
     Compiling fastrand v1.9.0
     Compiling regex-syntax v0.7.2
     Compiling futures-sink v0.3.28
     Compiling strsim v0.10.0
     Compiling ident_case v1.0.1
     Compiling fixedbitset v0.4.2
     Compiling time-core v0.1.0
     Compiling darling_core v0.20.1
     Compiling time-macros v0.2.6
     Compiling bitcoin v0.29.2
     Compiling regex v1.8.4
     Compiling petgraph v0.6.3
     Compiling tokio-util v0.7.8
     Compiling pyo3-build-config v0.18.3
     Compiling prost-types v0.11.9
     Compiling which v4.4.0
     Compiling thiserror v1.0.40
     Compiling tower-service v0.3.2
     Compiling heck v0.4.1
     Compiling multimap v0.8.3
     Compiling httparse v1.8.0
     Compiling lazy_static v1.4.0
     Compiling unicode-xid v0.2.4
     Compiling futures-channel v0.3.28
     Compiling minimal-lexical v0.2.1
     Compiling nom v7.1.3
     Compiling prost-build v0.11.9
     Compiling synstructure v0.12.6
     Compiling time v0.3.17
     Compiling darling_macro v0.20.1
     Compiling crypto-common v0.1.6
     Compiling http-body v0.4.5
     Compiling thiserror-impl v1.0.40
     Compiling pin-project-internal v1.1.0
     Compiling num-integer v0.1.45
     Compiling try-lock v0.2.4
     Compiling async-trait v0.1.68
     Compiling want v0.3.1
     Compiling darling v0.20.1
     Compiling rusticata-macros v4.1.0
     Compiling pin-project v1.1.0
     Compiling asn1-rs-derive v0.4.0
     Compiling tonic-build v0.8.4
     Compiling h2 v0.3.19
     Compiling axum-core v0.3.4
     Compiling asn1-rs-impl v0.1.0
     Compiling displaydoc v0.2.4
     Compiling backtrace v0.3.67
     Compiling num-bigint v0.4.3
     Compiling hashbrown v0.8.2
     Compiling tower-layer v0.3.2
     Compiling termcolor v1.2.0
     Compiling adler v1.0.2
     Compiling rustls v0.20.8
     Compiling httpdate v1.0.2
     Compiling base64 v0.13.1
     Compiling gimli v0.27.3
     Compiling humantime v2.1.0
     Compiling asn1-rs v0.5.2
     Compiling miniz_oxide v0.6.2
     Compiling serde_with_macros v2.3.3
     Compiling addr2line v0.19.0
     Compiling hyper v0.14.26
     Compiling lightning v0.0.115
     Compiling axum v0.6.18
     Compiling webpki v0.22.0
     Compiling sct v0.7.0
     Compiling serde_bolt v0.2.4
     Compiling bolt-derive v0.1.0 (https://gitlab.com/cdecker/vls?tag=snapshot-20230620#3a016a06)
     Compiling object v0.30.4
     Compiling atty v0.2.14
     Compiling mime v0.3.17
     Compiling ahash v0.3.8
     Compiling oid-registry v0.6.1
     Compiling rustc-demangle v0.1.23
     Compiling env_logger v0.9.3
     Compiling serde_with v2.3.3
     Compiling tower v0.4.13
     Compiling pyo3-ffi v0.18.3
     Compiling txoo v0.4.3
     Compiling inout v0.1.3
     Compiling tokio-io-timeout v1.2.0
     Compiling async-stream-impl v0.3.5
     Compiling secp256k1-sys v0.8.1
     Compiling serde_json v1.0.97
     Compiling percent-encoding v2.3.0
     Compiling pin-project-internal v0.4.30
     Compiling base64 v0.21.2
     Compiling subtle v2.5.0
     Compiling matchit v0.7.0
     Compiling sync_wrapper v0.1.2
     Compiling zeroize v1.6.0
     Compiling cpufeatures v0.2.8
     Compiling cipher v0.4.4
     Compiling rustls-pemfile v1.0.2
     Compiling universal-hash v0.5.1
     Compiling async-stream v0.3.5
     Compiling hyper-timeout v0.4.1
     Compiling tokio-rustls v0.23.4
     Compiling der-parser v8.2.0
     Compiling lightning-invoice v0.23.0
     Compiling cln-grpc v0.1.3 (https://github.com/ElementsProject/lightning.git?branch=master#ea7d4285)
     Compiling vls-core v0.9.1-rc.2 (https://gitlab.com/cdecker/vls?tag=snapshot-20230620#3a016a06)
     Compiling tracing-futures v0.2.5
     Compiling tokio-stream v0.1.14
     Compiling memoffset v0.8.0
     Compiling ryu v1.0.13
     Compiling opaque-debug v0.3.0
     Compiling data-encoding v2.4.0
     Compiling as-any v0.3.0
     Compiling vls-protocol v0.9.1-rc.2 (https://gitlab.com/cdecker/vls?tag=snapshot-20230620#3a016a06)
     Compiling x509-parser v0.14.0
     Compiling poly1305 v0.8.0
     Compiling tonic v0.8.3
  error: failed to run custom build command for `cln-grpc v0.1.3 (https://github.com/ElementsProject/lightning.git?branch=master#ea7d4285)`

  Caused by:
    process didn't exit successfully: `/home/tony/work/repos/greenlight/libs/target/release/build/cln-grpc-a60635fa626866d4/build-script-build` (exit status: 101)
    --- stdout
    cargo:rerun-if-changed=proto/node.proto
    cargo:rerun-if-changed=proto

    --- stderr
    thread 'main' panicked at 'Could not find `protoc` installation and this build crate cannot proceed without
        this knowledge. If `protoc` is installed and this crate had trouble finding
        it, you can set the `PROTOC` environment variable with the specific path to your
        installed `protoc` binary.If you're on debian, try `apt-get install protobuf-compiler` or download it from https://github.com/protocolbuffers/protobuf/releases

    For more information: https://docs.rs/prost-build/#sourcing-protoc
    ', /home/tony/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.11.9/src/lib.rs:1457:10
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  warning: build failed, waiting for other jobs to finish...
  💥 maturin failed
    Caused by: Failed to build a native library through cargo
    Caused by: Cargo build finished with "exit status: 101": `cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --`
  🍹 Building a mixed python/rust project
  🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.7
  🐍 Not using a specific python interpreter (With abi3, an interpreter is only required on windows)
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/tmplig5yeql/.venv/bin/python'] returned non-zero exit status 1


  at ~/.local/lib/python3.10/site-packages/poetry/installation/chef.py:152 in _prepare
      148│
      149│                 error = ChefBuildError("\n\n".join(message_parts))
      150│
      151│             if error is not None:
    → 152│                 raise error from None
      153│
      154│             return path
      155│
      156│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with gl-client (0.1.9 /home/tony/work/repos/greenlight/libs/gl-client-py) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "gl-client @ file:///home/tony/work/repos/greenlight/libs/gl-client-py"'.

  • Installing pytest (7.4.0)

Despite the error on installing gl-client I tried to run the test test_getinfoapp which returned an error:

(my-gl-example-py3.10) $ pytest -s app_test.py::test_getinfoapp
=============================================== test session starts ===============================================
platform linux -- Python 3.10.12, pytest-7.4.0, pluggy-1.2.0
rootdir: /home/tony/work/repos/greenlight/examples
collected 0 items / 1 error

===================================================== ERRORS ======================================================
__________________________________________ ERROR collecting app_test.py ___________________________________________
ImportError while importing test module '/home/tony/work/repos/greenlight/examples/app_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
app_test.py:3: in <module>
    from glclient import Scheduler, Signer, TlsConfig,Node, nodepb
E   ModuleNotFoundError: No module named 'glclient'
============================================= short test summary info =============================================
ERROR app_test.py
================================================ 1 error in 0.03s =================================================
ERROR: not found: /home/tony/work/repos/greenlight/examples/app_test.py::test_getinfoapp
(no name '/home/tony/work/repos/greenlight/examples/app_test.py::test_getinfoapp' in any of [<Module app_test.py>])

Finally, I ran the command suggested in the error message of poetry install that suggested that the error came from PEP 517. I also reproduce it here as It may help you find out what am I doing wrong:

(my-gl-example-py3.10) $ pip wheel --use-pep517 "gl-client @ file:///home/tony/work/repos/greenlight/libs/gl-client-py"
Processing /home/tony/work/repos/greenlight/libs/gl-client-py
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pyln-grpc-proto>=0.1
  Downloading pyln_grpc_proto-0.1.1.tar.gz (25 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting protobuf>=3
  Downloading protobuf-4.23.4-cp37-abi3-manylinux2014_x86_64.whl (304 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 304.5/304.5 kB 4.8 MB/s eta 0:00:00
Collecting grpcio>=1.56
  Using cached grpcio-1.56.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB)
Collecting protobuf3
  Downloading protobuf3-0.2.1.tar.gz (10 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Saved ./grpcio-1.56.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Saved ./protobuf-4.23.4-cp37-abi3-manylinux2014_x86_64.whl
Building wheels for collected packages: gl-client, pyln-grpc-proto, protobuf3
  Building wheel for gl-client (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for gl-client (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      Running `maturin pep517 build-wheel -i /home/tony/.cache/pypoetry/virtualenvs/my-gl-example-FG-kLkqi-py3.10/bin/python`
         Compiling cln-grpc v0.1.3 (https://github.com/ElementsProject/lightning.git?branch=master#ea7d4285)
         Compiling gl-client v0.1.9 (/home/tony/work/repos/greenlight/libs/gl-client)
         Compiling chacha20 v0.9.1
         Compiling secp256k1-sys v0.8.1
      error: failed to run custom build command for `cln-grpc v0.1.3 (https://github.com/ElementsProject/lightning.git?branch=master#ea7d4285)`

      Caused by:
        process didn't exit successfully: `/home/tony/work/repos/greenlight/libs/target/release/build/cln-grpc-a60635fa626866d4/build-script-build` (exit status: 101)
        --- stdout
        cargo:rerun-if-changed=proto/node.proto
        cargo:rerun-if-changed=proto

        --- stderr
        thread 'main' panicked at 'Could not find `protoc` installation and this build crate cannot proceed without
            this knowledge. If `protoc` is installed and this crate had trouble finding
            it, you can set the `PROTOC` environment variable with the specific path to your
            installed `protoc` binary.If you're on debian, try `apt-get install protobuf-compiler` or download it from https://github.com/protocolbuffers/protobuf/releases

        For more information: https://docs.rs/prost-build/#sourcing-protoc
        ', /home/tony/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.11.9/src/lib.rs:1457:10
        note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      warning: build failed, waiting for other jobs to finish...
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit status: 101": `cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --`
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.7
      🐍 Not using a specific python interpreter (With abi3, an interpreter is only required on windows)
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/home/tony/.cache/pypoetry/virtualenvs/my-gl-example-FG-kLkqi-py3.10/bin/python'] returned non-zero exit status 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for gl-client
  Building wheel for pyln-grpc-proto (pyproject.toml) ... done
  Created wheel for pyln-grpc-proto: filename=pyln_grpc_proto-0.1.1-py3-none-any.whl size=26626 sha256=f79ee2348b6b4bf30f29d8236c6c585c38f1f4490fdcc5630154d8e953bc4834
  Stored in directory: /home/tony/.cache/pip/wheels/57/cf/94/81631bfddb10415add6971d40a3558825bce52c0a105ceaee8
  Building wheel for protobuf3 (pyproject.toml) ... done
  Created wheel for protobuf3: filename=protobuf3-0.2.1-py3-none-any.whl size=17492 sha256=c3ad47986d0b8b1eb675b12a6576a6a704130f55e8779bd3ca76acbf6dededa8
  Stored in directory: /home/tony/.cache/pip/wheels/d4/0d/fb/8e446852431498a25ba99e3111b3e489af9b54b4e207fc345e
Successfully built pyln-grpc-proto protobuf3
Failed to build gl-client
ERROR: Failed to build one or more wheels

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

@nepet
Copy link
Collaborator Author

nepet commented Aug 8, 2023

Hey Tony, from the following lines of your output I suspect that you are missing the protoc protobuf compiler:

--- stderr
    thread 'main' panicked at 'Could not find `protoc` installation and this build crate cannot proceed without
        this knowledge. If `protoc` is installed and this crate had trouble finding
        it, you can set the `PROTOC` environment variable with the specific path to your
        installed `protoc` binary.If you're on debian, try `apt-get install protobuf-compiler` or download it from https://github.com/protocolbuffers/protobuf/releases

I guess I forgot to add this to the prerequisites section of the tutorial. If one wants to compile gl-client outside of the docker-container, one needs protoc to be present.

These are exactly the kind of inconveniences that I was hoping for you to find, as I start from an already polluted system ^^. Maybe I set up a container environment that allows me to start from scratch in the future 🤔.
I am currently working in all the comments and will also add protoc to the prerequisites section.

Thanks for your efforts!

@nepet
Copy link
Collaborator Author

nepet commented Aug 8, 2023

@cdecker All comments with 👍 have been addressed in the latest push/rebase. Working with git-branchless is quite nice locally but makes it hard to follow PRs after review in comparison to fixups that address one comment at a time. Let me know what you think and if we should switch back to fixups to keep track of changes.

@tonyaldon
Copy link

@nepet You're welcome!

I've just tested it with protoc installed and it works perfectly 💯

@cdecker
Copy link
Collaborator

cdecker commented Aug 9, 2023

Technically we can also change the dependency of gl-client-py to pull from PyPI, since the users relying on this documentation are unlikely to want to develop on gl-client and rather be happy with a one-stop install using poetry or pip.

@nepet shall we merge as is and we can layer change on top of it later? This is a rather nice change and I'd like to merge it sooner rather than later.

@nepet
Copy link
Collaborator Author

nepet commented Aug 9, 2023

@cdecker sounds good 👍. I just triggered the one failing test for a second run. When the CI is happy I am also happy if you proceed and merge the PR.

@cdecker
Copy link
Collaborator

cdecker commented Aug 10, 2023

Thanks @nepet, I'll take over the PR and shepherd it through CI for you :-)

nepet and others added 11 commits August 16, 2023 16:19
We need to update mkdocs to a version that has the 'social' plugin
included.
By the way, this commit also adds a docs cache that we could use in
CI to avoid potential rebuilds.

Signed-off-by: Peter Neuroth <[email protected]>
This makes it more convenient to access built targets, test logs
etc.

Signed-off-by: Peter Neuroth <[email protected]>
Signed-off-by: Peter Neuroth <[email protected]>
These examples are going to be referenced in the gltesting tutorial.

Signed-off-by: Peter Neuroth <[email protected]>
The REPO and REPO_ROOT env vars can only be set via the git command
when executed outside of the docker container as the .git dir lives
outside of the mounted directory.

Signed-off-by: Peter Neuroth <[email protected]>
@cdecker cdecker enabled auto-merge (rebase) August 16, 2023 15:40
@cdecker cdecker merged commit 4cb6257 into main Aug 16, 2023
17 checks passed
@cdecker cdecker deleted the 202306-tutorial-additions branch August 16, 2023 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: certificates and environment variables in testing section docs: the test test_node_network fails
3 participants