-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make dockerfile a language with a file in the repo
Signed-off-by: Alex Ellis <[email protected]> mocked local template repository for test update TEMPLATE.md to reflect that docker is a language rename stack variable to stackYaml to avoid conflict with imported package Signed-off-by: Minh-Quan TRAN <[email protected]>
- Loading branch information
Showing
31 changed files
with
83 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "commands/testdata/templates"] | ||
path = commands/testdata/templates | ||
url = https://github.com/openfaas/templates.git |
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
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
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
commands/testdata/new_function/template/go-armhf/template.yml
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
2 changes: 0 additions & 2 deletions
2
commands/testdata/new_function/template/node-arm64/template.yml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
commands/testdata/new_function/template/node-armhf/template.yml
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
commands/testdata/new_function/template/python-armhf/template.yml
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
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
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 |
---|---|---|
|
@@ -7,3 +7,17 @@ var GitClone = &vcsCmd{ | |
cmds: []string{"clone {repo} {dir} --depth=1"}, | ||
scheme: []string{"git", "https", "http", "git+ssh", "ssh"}, | ||
} | ||
|
||
// GitInitRepo initializes the working directory add commit all files & directories | ||
var GitInitRepo = &vcsCmd{ | ||
name: "Git", | ||
cmd: "git", | ||
cmds: []string{ | ||
"init {dir}", | ||
"config user.email \"[email protected]\"", | ||
"config user.name \"OpenFaaS\"", | ||
"add {dir}", | ||
"commit -m \"Test-commit\"", | ||
}, | ||
scheme: []string{"git", "https", "http", "git+ssh", "ssh"}, | ||
} |