Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 🤖 Introduces Functions SGX support with SDK v3 (#22)
## Why? The following introduces support SGX as a flag for proxying the request to the service(s) under Fleek Network.⚠️ Depends on SDK v3 release ## How? - [x] Add SGX flag to functions deploy - [x] Replace the service number on fleek function link outputted - [x] Check if function is not both private and SGX - [x] Introduces changes to work under SDK v3 ## Tickets? - [PLAT-1430](https://linear.app/fleekxyz/issue/PLAT-1430/cli-with-sdk-v3-features-revision) - [PLAT-1473](https://linear.app/fleekxyz/issue/PLAT-1473/%5Bubuntu%5D%5Bcli%5D-no-sites-found-is-shown-although-there-are-sites-in-the) ## Contribution checklist? - [x] The commit messages are detailed - [x] The `build` command runs locally - [ ] Assets or static content are linked and stored in the project - [ ] You have manually tested - [ ] You have provided tests ## Security checklist? - [ ] Sensitive data has been identified and is being protected properly - [ ] Injection has been prevented (parameterized queries, no eval or system calls) ## Preview? ``` Manual tests CLI: - Login ✅ - Logout ✅ - Projects - List ✅ - Create ✅ Obs: ProjectId cm14ucpfg0000vaaxcrhrwb9 - Sites - Init ✅ - List ✅ - Shows recently created site - Deploy ✅ - Deployments ✅ - Domains - Site - Create ✅ - Verify ✅ - List ✅ - Detail ✅ - Delete ✅ - Private Gateway - Create ✅ - Verify ✅ Obs: Do we really need this feature in Domains? The questions is due to the fact that it's an alias for the gateway created via gateways. Why complicate? - Gateways - Create ✅ - Verify ✅ - List ✅ - Delete ✅ - Detail ✅ - Can access storage CID via GW? ✅ - Applications - Create ✅ - List ✅ - Update ✅ - Delete ✅ - Pat - List ✅ - Create ✅ - Delete ✅ Obs: Other feature "delete" is interactive, this one's not. This is not a big deal but should be consistent. - IPFS - Add ✅ - Storage - Add ✅ - List ✅ - Delete - CID ✅ - Name ✅ - Ens - Create ✅ - Verify - Detail - List Obs: Require eth - Ipns - Create ✅ - Resolve ✅ - Delete ✅ - Publish ✅ Obs: "Please input a valid IPFS hash" should verify if input is valid hash - Functions - Create ✅ - Deploy ✅ Obs: the path should accept relative paths - List ✅ - Deployments ✅ - Update Obs: the update flow is unfriendly, e.g. the user has to specify --name/slug/status non interactively and then shows an interactive screen. The expectation is to do it interactively or non interactive - Delete ✅ - Can call function using both gateways? ✅ ``` --------- Co-authored-by: GitHub Action <[email protected]> Co-authored-by: daltoncoder <[email protected]> Co-authored-by: Helder Oliveira <[email protected]> Co-authored-by: RobertPechaCZ <[email protected]>
- Loading branch information