Skip to content

Commit 1a7147d

Browse files
authored
Merge pull request #72 from php-etl/feature/cloud
Changed the location of the cloud doc + added more details
2 parents 31987ca + 4da5cd0 commit 1a7147d

File tree

3 files changed

+108
-23
lines changed

3 files changed

+108
-23
lines changed

config.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,17 @@ hasChildren = true
216216
url = "connectivity/zoho"
217217
weight = 15
218218

219+
[[menu.main]]
220+
weight = 4
221+
name = "Cloud"
222+
hasChildren = true
223+
224+
[[menu.main]]
225+
parent = "Cloud"
226+
name = "Usage"
227+
url = "cloud/usage"
228+
weight = 1
229+
219230
[params]
220231
logo = "logo-web.svg"
221232
logo_white = "logo-web.svg"

content/cloud/usage/_index.en.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
---
2+
title: "Usage"
3+
date: 2024-01-12T14:52:40+01:00
4+
draft: true
5+
---
6+
7+
Gyroscops also allows you to have your satellites stored in the cloud.
8+
9+
Thanks to the cloud executable provided by the package `php-etl/satellite`,
10+
you can manage your satellites quickly and easily thanks to command lines.
11+
12+
## Requirements
13+
14+
Before you start, make sure you have installed the utility in your project.
15+
16+
If you haven't already done so, simply run this command:
17+
18+
```shell
19+
composer require php-etl/satellite:'*'
20+
```
21+
22+
## Log into the API
23+
24+
The `login` command is used to establish a connection with the Gyroscops API, allowing access to the various functionalities.
25+
Before executing this command, make sure you have the necessary identification information to hand.
26+
27+
```shell
28+
bin/cloud login
29+
```
30+
31+
> The service may ask you to select your organization and your workspace.
32+
33+
### Options
34+
- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"]
35+
- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com
36+
- `--ssl`|`--no-ssl`: Enable or disable SSL
37+
- `--help`: Display help for the given command
38+
39+
See the following sections of this documentation for details of the various commands.
40+
41+
## Create your satellite
42+
43+
The `create` command is used to create a satellite associated with your account.
44+
45+
```shell
46+
php bin/cloud create <path/to/satellite.yaml>
47+
```
48+
49+
### Options
50+
- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"]
51+
- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com
52+
- `--ssl`|`--no-ssl`: Enable or disable SSL
53+
- `--help`: Display help for the given command
54+
55+
Once you have created your satellite, you can access its configuration from the interface by following these steps:
56+
57+
- Enter the following URL in the address bar: https://app.gyroscops.com (or https://beta.gyroscops.com)
58+
- Log in with your credentials
59+
60+
## Update your satellite
61+
62+
The `update` command is used to update a given satellite.
63+
64+
```shell
65+
php bin/cloud update <path/to/satellite.yaml>
66+
```
67+
68+
### Options
69+
- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"]
70+
- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com
71+
- `--ssl`|`--no-ssl`: Enable or disable SSL
72+
- `--help`: Display help for the given command
73+
74+
## Remove your satellite
75+
76+
The `remove` command is used to remove a given satellite.
77+
78+
```shell
79+
php bin/cloud remove <path/to/satellite.yaml>
80+
```
81+
82+
### Options
83+
- `-u`, `--url`: Base URL of the cloud instance [default: "https://app.gyroscops.com"]
84+
- `--beta`: Shortcut to set the cloud instance to https://beta.gyroscops.com
85+
- `--ssl`|`--no-ssl`: Enable or disable SSL
86+
- `--help`: Display help for the given command
87+
88+
## Other commands
89+
90+
In addition to the main commands we have already explored, this command line utility offers a number of additional features.
91+
These commands can be useful in a variety of situations.
92+
93+
For a list of these commands, use the following command:
94+
95+
```shell
96+
bin/cloud list
97+
```

content/core-concept/satellite/_index.en.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ weight: 1
1919
- [Configuration formats](#configuration-formats)
2020
- Building
2121
- [Building locally](#build-your-satellite-locally)
22-
- [Building through Gyroscops Cloud](#send-your-satellite-to-gyroscops-cloud)
2322
- [Migration from version 0.2 and earlier](#migration-from-version-02-and-earlier)
2423
- [Importing external files](#importing-external-configuration-files)
2524

@@ -376,28 +375,6 @@ If you selected the [Filesystem variant](#using-the-file-system), you can now ex
376375
* For a Pipeline: `bin/satellite run:pipeline build/`
377376
* For a Workflow: `bin/satellite run:workflow build/`
378377

379-
### Send your satellite to Gyroscops Cloud
380-
381-
If you are using Gyroscops Cloud, you can push your satellite configuration to the service.
382-
383-
You will need to authenticate to the service before sending your satellites.
384-
385-
```shell
386-
bin/cloud login [email protected] # authenticate as [email protected]
387-
```
388-
389-
> The service may ask you to select your organization and your workspace.
390-
391-
```shell
392-
# Either use the satellite.yaml file in the current working directory
393-
php bin/cloud create
394-
395-
# or specify the path to the yaml file
396-
php bin/cloud create path/to/satellite.yaml
397-
```
398-
399-
Once done, you will be able to control your satellite execution through the Gyroscops Cloud interface.
400-
401378
## Migration from version 0.2 and earlier
402379

403380
If you are using a configuration for satellite prior to version 0.3, you should migrate your files ot the updated version.

0 commit comments

Comments
 (0)