-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat!: new provider.yaml and new contracts v2 [JS-850, JS-851] #1082
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
c6312f0
feat: new provider.yaml
shamsartem 2c29ba0
feat: new provider.yaml
shamsartem b02b4ce
use 1.1.1.1
shamsartem 6cf65b9
Merge branch 'main' into new-provider-config
shamsartem bea907c
Apply automatic changes
shamsartem 8deca5a
use 2, fix offerName
shamsartem 6f4b70a
Apply automatic changes
shamsartem 568f2c3
improve validation, try some ideas
shamsartem e2f6778
Apply automatic changes
shamsartem be37f9f
use ones again
shamsartem 0f916ee
Apply automatic changes
shamsartem 3ae1baa
group resource names by type, rename vcpu to cpu
shamsartem 7f1dbb2
Apply automatic changes
shamsartem 8386480
feat: add balance keeper
shamsartem a9df52c
feat: use registerMarketOfferV2
shamsartem 971465a
move over the rest of v2 I could find
shamsartem 546a6c2
improve resource definition in provider.yaml
shamsartem 49a1456
Apply automatic changes
shamsartem 2fc2d2d
rename nox to computePeer
shamsartem d839aba
Apply automatic changes
shamsartem 6751450
product review fixes
shamsartem 716d5ea
fix integer
shamsartem 3fa81ca
Apply automatic changes
shamsartem e2828ed
add resource validation and autocomplete
shamsartem 9294d47
use snapshot
shamsartem 862d96d
Merge branch 'add-balance-keeper' into new-provider-config
shamsartem 688d8fb
prepare for getting resources from chain
shamsartem f3cd7de
Apply automatic changes
shamsartem 3a5d0f4
fix offer-create
shamsartem 063db2a
more offer update functionality
shamsartem 3fc437d
use containers
shamsartem 3ed7a1a
Merge branch 'main' into new-provider-config
shamsartem 202bd5b
use chain to get resources, temporary remove resource validation, tem…
shamsartem 6ff73ae
use latest containers
shamsartem 9e5327d
add ip validation across compute peers
shamsartem 0267e74
add 2x when creating offer, check enough ram per core
shamsartem 3f2f137
Apply automatic changes
shamsartem 446c3ef
fix storage description
shamsartem 6fa45d0
Apply automatic changes
shamsartem e4b22c8
fix add, remove and display CU
shamsartem d6a6e6f
remove type assertions
shamsartem 3fdb2aa
fix
shamsartem a4d9dbe
fix
shamsartem f5c3aa8
convert stuff
shamsartem b276b16
Apply automatic changes
shamsartem 0605447
use megabytes and megabits per second for network
shamsartem 4ba0c02
up containers and snapshot
shamsartem 8be3309
fix some update problems
shamsartem 96d640b
fix provider test
shamsartem 86f772d
fix test
shamsartem 2126c72
fix change CU?
shamsartem 4e2afa2
Add docker login to docs job
nahsi d795805
another fix for CU update
shamsartem f5d6b4b
improve resource update?
shamsartem 5013e68
use supply to 0 instead of removePeerResource
shamsartem 87cbd3e
first update ram then CPU
shamsartem a857586
first remove resources then add and check if details changed
shamsartem f94f05d
fix update
shamsartem 0f4fd99
Merge branch 'main' into new-provider-config
shamsartem c10db90
use mebibytes, fix cpu price so it is per VCPU on chain but is still …
shamsartem 3ee3941
Apply automatic changes
shamsartem a312afd
fix offer update
shamsartem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,9 @@ env: | |
|
||
jobs: | ||
docs: | ||
permissions: | ||
contents: write | ||
id-token: write | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | ||
|
@@ -50,6 +53,28 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-turbo- | ||
|
||
- name: Import secrets | ||
uses: hashicorp/[email protected] | ||
id: secrets | ||
with: | ||
url: https://vault.fluence.dev | ||
path: jwt/github | ||
role: ci | ||
method: jwt | ||
jwtGithubAudience: "https://github.com/fluencelabs" | ||
jwtTtl: 300 | ||
exportToken: false | ||
secrets: | | ||
kv/docker-registry/basicauth/ci username | DOCKER_USERNAME ; | ||
kv/docker-registry/basicauth/ci password | DOCKER_PASSWORD ; | ||
|
||
- name: Login to private docker registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: docker.fluence.dev | ||
username: ${{ env.DOCKER_USERNAME }} | ||
password: ${{ env.DOCKER_PASSWORD }} | ||
|
||
- name: Run on each commit | ||
run: yarn on-each-commit | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not anymore cause now all of this is required in the config instead of being optional