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

Fetch known network config #1156

Merged
merged 4 commits into from Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci-nix.yaml
Expand Up @@ -49,7 +49,7 @@ jobs:
if: ${{ matrix.package != 'hydra-tui' }}
run: |
cd ${{ matrix.package }}
nix develop .?submodules=1#tests.${{ matrix.package }} --command tests
nix develop .#tests.${{ matrix.package }} --command tests

- name: ❓ Test (TUI)
id: test_tui
Expand All @@ -61,7 +61,7 @@ jobs:
TERM: "xterm"
run: |
cd ${{ matrix.package }}
nix develop .?submodules=1#tests.${{ matrix.package }} --build
nix develop .#tests.${{ matrix.package }} --build

- name: 💾 Upload build & test artifacts
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

- name: 📚 Documentation (Haddock)
run: |
nix build .?submodules=1#haddocks
nix build .#haddocks
mkdir -p haddocks
cp -aL result/* haddocks/

Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
run: |
mkdir -p benchmarks
cd ${{ matrix.package }}
nix develop .?submodules=1#benchs.${{ matrix.package }} --command ${{ matrix.bench }} ${{ matrix.options }}
nix develop .#benchs.${{ matrix.package }} --command ${{ matrix.bench }} ${{ matrix.options }}

- name: 💾 Upload build & test artifacts
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/smoke-test.yaml
Expand Up @@ -47,9 +47,9 @@ jobs:
- name: 🚬 Run hydra-cluster smoke test
run: |
if [ -n "${{inputs.hydra-scripts-tx-id}}" ]; then
nix develop ".?submodules=1#exes" --command bash -c "hydra-cluster --${{inputs.network}} --hydra-scripts-tx-id ${{inputs.hydra-scripts-tx-id}} --state-directory ${state_dir}"
nix develop .#exes --command bash -c "hydra-cluster --${{inputs.network}} --hydra-scripts-tx-id ${{inputs.hydra-scripts-tx-id}} --state-directory ${state_dir}"
else
nix develop ".?submodules=1#exes" --command bash -c "hydra-cluster --${{inputs.network}} --publish-hydra-scripts --state-directory ${state_dir}"
nix develop .#exes --command bash -c "hydra-cluster --${{inputs.network}} --publish-hydra-scripts --state-directory ${state_dir}"
fi

- name: 💾 Upload logs
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "testnets/cardano-configurations"]
path = testnets/cardano-configurations
url = git@github.com:input-output-hk/cardano-configurations.git
6 changes: 3 additions & 3 deletions docs/README.md
Expand Up @@ -34,10 +34,10 @@ right place before, you can use these `nix` builds from the repository root:

```console
nix build .#spec && ln -s $(readlink result)/hydra-spec.pdf docs/static/hydra-spec.pdf
nix build ".?submodules=1#haddocks" -o docs/static/haddock
nix build .#haddocks -o docs/static/haddock

(cd hydra-node; nix develop ".?submodules=1#benchs.hydra-node" --command tx-cost --output-directory $(pwd)/../docs/benchmarks)
(cd hydra-cluster; nix develop ".?submodules=1#benchs.hydra-cluster" --command bench-e2e --scaling-factor 1 --output-directory $(pwd)/../docs/benchmarks)
(cd hydra-node; nix develop .#benchs.hydra-node --command tx-cost --output-directory $(pwd)/../docs/benchmarks)
(cd hydra-cluster; nix develop .#benchs.hydra-cluster --command bench-e2e --scaling-factor 1 --output-directory $(pwd)/../docs/benchmarks)
```

# Translating
Expand Down
2 changes: 1 addition & 1 deletion hydra-cluster/README.md
Expand Up @@ -17,7 +17,7 @@ must be in scope. You could use a special nix shell containing
`hydra-node` and `hydra-cluster` executables:

```sh
nix develop .?submodules=1#exes
nix develop .#exes
```

Or use an alias:
Expand Down
16 changes: 0 additions & 16 deletions hydra-cluster/config/cardano-configurations/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.