@@ -25,120 +25,120 @@ env:
25
25
VERBOSE : ${{ github.events.input.verbose }}
26
26
27
27
jobs :
28
- install-baedeker :
29
- name : install-baedeker
30
- runs-on : SubtensorCI
31
- strategy :
32
- matrix :
33
- rust-branch :
34
- - stable
35
- rust-target :
36
- - x86_64-unknown-linux-gnu
37
- # - x86_64-apple-darwin
38
- os :
39
- - ubuntu-latest
40
- # - macos-latest
41
- include :
42
- - os : ubuntu-latest
43
- # - os: macos-latest
44
- env :
45
- RELEASE_NAME : development
46
- # RUSTFLAGS: -A warnings
47
- RUSTV : ${{ matrix.rust-branch }}
48
- RUST_BACKTRACE : full
49
- RUST_BIN_DIR : target/${{ matrix.rust-target }}
50
- SKIP_WASM_BUILD : 1
51
- TARGET : ${{ matrix.rust-target }}
52
- steps :
53
- - name : Checkout Baedeker repository
54
- uses : actions/checkout@v3
55
- with :
56
- repository : ' UniqueNetwork/baedeker'
57
- path : ' baedeker'
58
-
59
- - name : Install Rust toolchain
60
- uses : actions-rs/toolchain@v1
61
- with :
62
- toolchain : stable
63
- profile : minimal
64
- override : true
28
+ # install-baedeker:
29
+ # name: install-baedeker
30
+ # runs-on: SubtensorCI
31
+ # strategy:
32
+ # matrix:
33
+ # rust-branch:
34
+ # - stable
35
+ # rust-target:
36
+ # - x86_64-unknown-linux-gnu
37
+ # # - x86_64-apple-darwin
38
+ # os:
39
+ # - ubuntu-latest
40
+ # # - macos-latest
41
+ # include:
42
+ # - os: ubuntu-latest
43
+ # # - os: macos-latest
44
+ # env:
45
+ # RELEASE_NAME: development
46
+ # # RUSTFLAGS: -A warnings
47
+ # RUSTV: ${{ matrix.rust-branch }}
48
+ # RUST_BACKTRACE: full
49
+ # RUST_BIN_DIR: target/${{ matrix.rust-target }}
50
+ # SKIP_WASM_BUILD: 1
51
+ # TARGET: ${{ matrix.rust-target }}
52
+ # steps:
53
+ # - name: Checkout Baedeker repository
54
+ # uses: actions/checkout@v3
55
+ # with:
56
+ # repository: 'UniqueNetwork/baedeker'
57
+ # path: 'baedeker'
58
+
59
+ # - name: Install Rust toolchain
60
+ # uses: actions-rs/toolchain@v1
61
+ # with:
62
+ # toolchain: stable
63
+ # profile: minimal
64
+ # override: true
65
65
66
- - name : Build baedeker
67
- run : |
68
- cd baedeker
69
- cargo build --release
66
+ # - name: Build baedeker
67
+ # run: |
68
+ # cd baedeker
69
+ # cargo build --release
70
70
71
- - name : Prepare binary for artifact upload
72
- run : |
73
- mkdir -p ${{ github.workspace }}/bin
74
- cp ./baedeker/target/release/baedeker ${{ github.workspace }}/bin/
75
- chmod +x ${{ github.workspace }}/bin/baedeker
71
+ # - name: Prepare binary for artifact upload
72
+ # run: |
73
+ # mkdir -p ${{ github.workspace }}/bin
74
+ # cp ./baedeker/target/release/baedeker ${{ github.workspace }}/bin/
75
+ # chmod +x ${{ github.workspace }}/bin/baedeker
76
76
77
- - name : Upload baedeker binary as an artifact
78
- uses : actions/upload-artifact@v3
79
- with :
80
- name : baedeker-binary
81
- path : ${{ github.workspace }}/bin/baedeker
82
-
83
- download-finney-state :
84
- needs : install-baedeker
85
- runs-on : SubtensorCI
86
- strategy :
87
- matrix :
88
- rust-branch :
89
- - stable
90
- rust-target :
91
- - x86_64-unknown-linux-gnu
92
- # - x86_64-apple-darwin
93
- os :
94
- - ubuntu-latest
95
- # - macos-latest
96
- include :
97
- - os : ubuntu-latest
98
- # - os: macos-latest
99
- env :
100
- RELEASE_NAME : development
101
- # RUSTFLAGS: -A warnings
102
- RUSTV : ${{ matrix.rust-branch }}
103
- RUST_BACKTRACE : full
104
- RUST_BIN_DIR : target/${{ matrix.rust-target }}
105
- SKIP_WASM_BUILD : 1
106
- TARGET : ${{ matrix.rust-target }}
107
- steps :
108
- - name : Check-out repository under $GITHUB_WORKSPACE
109
- uses : actions/checkout@v4
110
-
111
- - name : Download baedeker binary
112
- uses : actions/download-artifact@v3
113
- with :
114
- name : baedeker-binary
115
- path : bin
116
-
117
- - name : Execute baedeker
118
- run : |
119
- chmod +x bin/baedeker
120
- RUST_LOG=info bin/baedeker --spec=docker -J.baedeker/vendor/ --generator=docker_compose=.baedeker/.bdk-env --generator=docker_compose_discover=.baedeker/.bdk-env/discover.env --secret=file=.baedeker/.bdk-env/secret --tla-str=relay_spec=rococo-local --input-modules='lib:baedeker-library/ops/nginx.libsonnet' --input-modules='lib:baedeker-library/ops/devtools.libsonnet' --tla-str=repoDir=$(realpath .baedeker/..) .baedeker/forkless-data.jsonnet --tla-str=forked_spec=subtensor --tla-str=fork_source=wss://entrypoint-finney.opentensor.ai .baedeker/rewrites.jsonnet
121
-
122
- - name : Prepare genesis with data for artifact upload
123
- run : |
124
- mkdir -p ${{ github.workspace }}/finney-spec
125
- cp .baedeker/.bdk-env/specs/subtensor.json ${{ github.workspace }}/finney-spec/
126
-
127
- - name : Prepare secrets for artifact upload
128
- run : |
129
- mkdir -p ${{ github.workspace }}/finney-spec
130
- mkdir -p ${{ github.workspace }}/finney-spec/secret
131
- cp -r .baedeker/.bdk-env/secret/* ${{ github.workspace }}/finney-spec/secret
132
-
133
- - name : Upload spec and secrets as an artifact
134
- uses : actions/upload-artifact@v3
135
- with :
136
- name : finney-state
77
+ # - name: Upload baedeker binary as an artifact
78
+ # uses: actions/upload-artifact@v3
79
+ # with:
80
+ # name: baedeker-binary
81
+ # path: ${{ github.workspace }}/bin/baedeker
82
+
83
+ # download-finney-state:
84
+ # needs: install-baedeker
85
+ # runs-on: SubtensorCI
86
+ # strategy:
87
+ # matrix:
88
+ # rust-branch:
89
+ # - stable
90
+ # rust-target:
91
+ # - x86_64-unknown-linux-gnu
92
+ # # - x86_64-apple-darwin
93
+ # os:
94
+ # - ubuntu-latest
95
+ # # - macos-latest
96
+ # include:
97
+ # - os: ubuntu-latest
98
+ # # - os: macos-latest
99
+ # env:
100
+ # RELEASE_NAME: development
101
+ # # RUSTFLAGS: -A warnings
102
+ # RUSTV: ${{ matrix.rust-branch }}
103
+ # RUST_BACKTRACE: full
104
+ # RUST_BIN_DIR: target/${{ matrix.rust-target }}
105
+ # SKIP_WASM_BUILD: 1
106
+ # TARGET: ${{ matrix.rust-target }}
107
+ # steps:
108
+ # - name: Check-out repository under $GITHUB_WORKSPACE
109
+ # uses: actions/checkout@v4
110
+
111
+ # - name: Download baedeker binary
112
+ # uses: actions/download-artifact@v3
113
+ # with:
114
+ # name: baedeker-binary
115
+ # path: bin
116
+
117
+ # - name: Execute baedeker
118
+ # run: |
119
+ # chmod +x bin/baedeker
120
+ # RUST_LOG=info bin/baedeker --spec=docker -J.baedeker/vendor/ --generator=docker_compose=.baedeker/.bdk-env --generator=docker_compose_discover=.baedeker/.bdk-env/discover.env --secret=file=.baedeker/.bdk-env/secret --tla-str=relay_spec=rococo-local --input-modules='lib:baedeker-library/ops/nginx.libsonnet' --input-modules='lib:baedeker-library/ops/devtools.libsonnet' --tla-str=repoDir=$(realpath .baedeker/..) .baedeker/forkless-data.jsonnet --tla-str=forked_spec=subtensor --tla-str=fork_source=wss://entrypoint-finney.opentensor.ai .baedeker/rewrites.jsonnet
121
+
122
+ # - name: Prepare genesis with data for artifact upload
123
+ # run: |
124
+ # mkdir -p ${{ github.workspace }}/finney-spec
125
+ # cp .baedeker/.bdk-env/specs/subtensor.json ${{ github.workspace }}/finney-spec/
126
+
127
+ # - name: Prepare secrets for artifact upload
128
+ # run: |
129
+ # mkdir -p ${{ github.workspace }}/finney-spec
130
+ # mkdir -p ${{ github.workspace }}/finney-spec/secret
131
+ # cp -r .baedeker/.bdk-env/secret/* ${{ github.workspace }}/finney-spec/secret
132
+
133
+ # - name: Upload spec and secrets as an artifact
134
+ # uses: actions/upload-artifact@v3
135
+ # with:
136
+ # name: finney-state
137
137
path : ${{ github.workspace }}/finney-spec/
138
138
139
139
# runs localnet with finney state
140
140
run-local-chain :
141
- needs : download-finney-state
141
+ # needs: download-finney-state
142
142
name : run local chain
143
143
runs-on : SubtensorCI
144
144
strategy :
@@ -184,19 +184,19 @@ jobs:
184
184
with :
185
185
key : ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
186
186
187
- - name : Download finney clone genesis and secrets
188
- uses : actions/download-artifact@v3
189
- with :
190
- name : finney-state
191
- path : finney-spec
187
+ # - name: Download finney clone genesis and secrets
188
+ # uses: actions/download-artifact@v3
189
+ # with:
190
+ # name: finney-state
191
+ # path: finney-spec
192
192
193
- - name : Copy secrets and spec from artifacts
194
- run : |
195
- mkdir -p .baedeker/.bdk-env
196
- mkdir -p .baedeker/.bdk-env/specs
197
- mkdir -p .baedeker/.bdk-env/secret
198
- cp finney-spec/subtensor.json .baedeker/.bdk-env/specs
199
- cp -r finney-spec/secret/* .baedeker/.bdk-env/secret
193
+ # - name: Copy secrets and spec from artifacts
194
+ # run: |
195
+ # mkdir -p .baedeker/.bdk-env
196
+ # mkdir -p .baedeker/.bdk-env/specs
197
+ # mkdir -p .baedeker/.bdk-env/secret
198
+ # cp finney-spec/subtensor.json .baedeker/.bdk-env/specs
199
+ # cp -r finney-spec/secret/* .baedeker/.bdk-env/secret
200
200
201
201
- name : Set up Docker Compose
202
202
run : |
@@ -215,6 +215,7 @@ jobs:
215
215
ls -la
216
216
ls -la ..
217
217
ls -la ../..
218
+ ls -la ../../target
218
219
ls -la ../../target/release
219
220
yarn install
220
221
../../scripts/wait_first_block_local.sh
0 commit comments