@24i/smartapps-bigscreen-rnv-build-engine 0.17.5 → 0.17.6-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,37 +72,44 @@ drivers/
|
|
|
72
72
|
---
|
|
73
73
|
## Supported build schemes
|
|
74
74
|
|
|
75
|
-
| *Scheme id*
|
|
76
|
-
|
|
|
77
|
-
| **debug**
|
|
78
|
-
| **dev**
|
|
79
|
-
| **dev:latest**
|
|
80
|
-
| **rc** |
|
|
81
|
-
| **rc:
|
|
82
|
-
| **
|
|
83
|
-
| **
|
|
84
|
-
| **release:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
75
|
+
| *Scheme id* | *Environment* | *Usage* |
|
|
76
|
+
| :------------------------- | :-----------------: | ------------------------------------------------------------- |
|
|
77
|
+
| **debug** | development | Local builds for debugging purposes |
|
|
78
|
+
| **dev** | development | |
|
|
79
|
+
| **dev:latest** | development | By CI on merge any pull request into `development` branch |
|
|
80
|
+
| **rc:staging** | staging | |
|
|
81
|
+
| **rc:prod** | production | |
|
|
82
|
+
| **rc:staging:latest** | staging | By CI on merge any pull request into `rc/v?.?.?` branch |
|
|
83
|
+
| **rc:prod:latest** | production | By CI on merge any pull request into `rc/v?.?.?` branch |
|
|
84
|
+
| **release:staging** | staging | |
|
|
85
|
+
| **release:prod** | production | |
|
|
86
|
+
| **release:staging:latest** | staging | By CI on merge any pull request into `master` branch |
|
|
87
|
+
| **release:prod:latest** | production | By CI on merge any pull request into `master` branch |
|
|
88
|
+
| **release:staging:dist** | staging | By CI on merge any pull request into `master` branch |
|
|
89
|
+
| **release:prod:dist** | production | By CI on merge pull request into `master` branch |
|
|
90
|
+
|
|
91
|
+
### Schemes with `[staging/prod]:latest` postfix
|
|
92
|
+
Scheme names with `[staging/prod]:latest` postfix **always deploys into the same location**.
|
|
88
93
|
In other words, app url is the same for each deployed build.
|
|
89
94
|
|
|
90
95
|
An example:
|
|
91
96
|
```
|
|
92
97
|
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/latest/dev/...
|
|
93
|
-
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/latest/rc
|
|
94
|
-
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/latest/release
|
|
98
|
+
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/latest/rc/<ENVIRONMENT>/...
|
|
99
|
+
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/latest/release/<ENVIRONMENT>/...
|
|
95
100
|
```
|
|
96
101
|
|
|
97
|
-
### `release:dist` scheme
|
|
98
|
-
The difference from
|
|
102
|
+
### `release:(staging/prod):dist` scheme
|
|
103
|
+
The difference from schemes with [`[staging/prod]:latest` postfix](#schemes-with-stagingprodlatest-postfix)
|
|
99
104
|
is that new builds are not deployed to the same remote folder all the time.
|
|
100
105
|
Instead, a new folder is created for each new app version.
|
|
101
106
|
|
|
102
107
|
An example:
|
|
103
108
|
```
|
|
104
|
-
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/dist/v0.0.1/...
|
|
105
|
-
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/dist/v0.0.
|
|
109
|
+
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/dist/v0.0.1/staging/...
|
|
110
|
+
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/dist/v0.0.1/production/...
|
|
111
|
+
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/dist/v0.0.2/staging/...
|
|
112
|
+
http://smartapps-bigscreen.<PROJECT_NAME>.24imedia.com.s3.amazonaws.com/builds/<PLATFORM>/<FLAVOUR>/dist/v0.0.2/production/...
|
|
106
113
|
```
|
|
107
114
|
|
|
108
115
|
---
|