Skip to content

Commit f46eab4

Browse files
authored
fix: remove known-good-providers recommendation in examples (#214)
1 parent 4edab90 commit f46eab4

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

upload-action/examples/single-workflow/build-and-upload.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,6 @@ jobs:
2929
mkdir -p dist
3030
echo "Built content" > dist/index.html
3131
32-
# Temporary allowlist of storage providers that have proven reliable during launch.
33-
# This exists to paper over early stability issues while the wider provider ecosystem
34-
# catches up. Remove once automatic provider discovery is trustworthy again.
35-
# Having a FilOz-approved set of SPs onchain is happening in https://github.com/FilOzone/filecoin-services/issues/291
36-
# This PROVIDER_ID set here will be used by the upload action below to override provider selection.
37-
- name: Select random known good provider
38-
run: |
39-
known_good_provider_ids=(2)
40-
selected_provider_id=${known_good_provider_ids[$RANDOM % ${#known_good_provider_ids[@]}]}
41-
echo "PROVIDER_ID=$selected_provider_id" >> $GITHUB_ENV
42-
echo "Selected known good provider ID: $selected_provider_id"
43-
4432
# Upload to Filecoin - the action will build CAR and upload in a single flow
4533
- name: Upload to Filecoin
4634
uses: filecoin-project/filecoin-pin/upload-action@v0

upload-action/examples/two-workflow-pattern/upload-to-filecoin.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@ jobs:
3434
repository: ${{ github.event.workflow_run.repository.full_name }}
3535
run-id: ${{ github.event.workflow_run.id }}
3636

37-
# Temporary allowlist of storage providers that have proven reliable during launch.
38-
# This exists to paper over early stability issues while the wider provider ecosystem
39-
# catches up. Remove once automatic provider discovery is trustworthy again.
40-
# Having a FilOz-approved set of SPs onchain is happening in https://github.com/FilOzone/filecoin-services/issues/291
41-
# This PROVIDER_ID set here will be used by the upload action below to override provider selection.
42-
- name: Select random known good provider
43-
run: |
44-
known_good_provider_ids=(2)
45-
selected_provider_id=${known_good_provider_ids[$RANDOM % ${#known_good_provider_ids[@]}]}
46-
echo "PROVIDER_ID=$selected_provider_id" >> $GITHUB_ENV
47-
echo "Selected known good provider ID: $selected_provider_id"
48-
4937
# Upload to Filecoin using the downloaded build artifacts
5038
# The action will create a CAR file from the downloaded artifacts and upload to Filecoin
5139
- name: Upload to Filecoin

0 commit comments

Comments
 (0)