This repository has been archived by the owner on Jul 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add evnironment spec for fc
- Loading branch information
1 parent
acaa9d1
commit 284a014
Showing
4 changed files
with
50 additions
and
6 deletions.
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
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
19 changes: 19 additions & 0 deletions
19
packages/serverless-spec-builder/test/fixtures/fc/f-environment.yml
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
service: | ||
name: serverless-hello-world | ||
|
||
provider: | ||
name: aliyun | ||
environment: | ||
GLOBAL_PASS: admin | ||
|
||
functions: | ||
index: | ||
handler: index.handler | ||
index2: | ||
handler: index2.handler | ||
environment: | ||
MYSQL_USER: root | ||
MYSQL_PASS: pass | ||
|
||
package: | ||
artifact: code.zip |