fix module source
This commit is contained in:
1 parent
71c1631f56
commit
ff53c49459
4 files changed
+85
-4
No files matched your search
+82
@@ -0,0 +1,82 @@
|
|||||||
|
# OSX leaves these everywhere on SMB shares
|
||||||
|
._*
|
||||||
|
|
||||||
|
# OSX trash
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# Python
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
# Emacs save files
|
||||||
|
*~
|
||||||
|
\#*\#
|
||||||
|
.\#*
|
||||||
|
|
||||||
|
# Vim-related files
|
||||||
|
[._]*.s[a-w][a-z]
|
||||||
|
[._]s[a-w][a-z]
|
||||||
|
*.un~
|
||||||
|
Session.vim
|
||||||
|
.netrwhist
|
||||||
|
|
||||||
|
### https://raw.github.com/github/gitignore/90f149de451a5433aebd94d02d11b0e28843a1af/Terraform.gitignore
|
||||||
|
|
||||||
|
# Local .terraform directories
|
||||||
|
**/.terraform*
|
||||||
|
|
||||||
|
# .tfstate files
|
||||||
|
*.tfstate
|
||||||
|
*.tfstate.*
|
||||||
|
|
||||||
|
# Local tfvars terraform.tfvars
|
||||||
|
**/*.tfvars
|
||||||
|
|
||||||
|
# tf lock file
|
||||||
|
**/.terraform.lock.hcl
|
||||||
|
|
||||||
|
# Crash log files
|
||||||
|
crash.log
|
||||||
|
|
||||||
|
# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
|
||||||
|
# .tfvars files are managed as part of configuration and so should be included in
|
||||||
|
# version control.
|
||||||
|
#
|
||||||
|
# example.tfvars
|
||||||
|
|
||||||
|
# Ignore override files as they are usually used to override resources locally and so
|
||||||
|
# are not checked in
|
||||||
|
override.tf
|
||||||
|
override.tf.json
|
||||||
|
*_override.tf
|
||||||
|
*_override.tf.json
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
# Kitchen files
|
||||||
|
**/inspec.lock
|
||||||
|
**.gem
|
||||||
|
**/.kitchen
|
||||||
|
**/.kitchen.local.yml
|
||||||
|
**/Gemfile.lock
|
||||||
|
# Plan files
|
||||||
|
**/tmp_plan
|
||||||
|
**/.tmp
|
||||||
|
**/tmp
|
||||||
|
|
||||||
|
test/fixtures/shared/terraform.tfvars
|
||||||
|
|
||||||
|
test/integration/gcloud/config.sh
|
||||||
|
test/integration/tmp
|
||||||
|
|
||||||
|
credentials.json
|
||||||
|
|
||||||
|
helpers/foundation-deployer/foundation-deployer
|
||||||
|
helpers/foundation-deployer/.steps.json
|
||||||
|
|
||||||
|
# File to populate env vars used by Docker test runs
|
||||||
|
.envrc
|
||||||
|
|
||||||
|
# Handle files generated on sed command by old (2013-) MacOS versions
|
||||||
|
*.tf-e
|
||||||
|
|
||||||
|
# Go multi-module workspace sum
|
||||||
|
go.work.sum
|
||||||
@@ -22,8 +22,7 @@ deploy_${name}:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
image: registry.bobert.me/anthorob/coder-images:coder-cli
|
image: registry.bobert.me/anthorob/coder-images:coder-cli
|
||||||
script:
|
script:
|
||||||
- cd $dir
|
- coder templates push -d ${dir} --name "${CI_COMMIT_SHORT_SHA}" --message "Auto-deployed from ${CI_PROJECT_PATH} on commit ${CI_COMMIT_SHORT_SHA}" --yes ${name}
|
||||||
- coder templates push --name "${CI_COMMIT_SHORT_SHA}" --message "Auto-deployed from ${CI_PROJECT_PATH} on commit ${CI_COMMIT_SHORT_SHA}" --yes ${name}
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
done
|
done
|
||||||
@@ -32,7 +32,7 @@ data "coder_parameter" "java_version" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module "java_workspace" {
|
module "java_workspace" {
|
||||||
source = "../../coder-base"
|
source = "git::https://git.bobert.me/anthorob/coder-templates.git//coder-base?ref=main"
|
||||||
|
|
||||||
language = "Java"
|
language = "Java"
|
||||||
docker_image = "registry.bobert.me/anthorob/coder-images:java${data.coder_parameter.java_version.value}"
|
docker_image = "registry.bobert.me/anthorob/coder-images:java${data.coder_parameter.java_version.value}"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ data "coder_parameter" "php_version" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module "php_workspace" {
|
module "php_workspace" {
|
||||||
source = "../../coder-base"
|
source = "git::https://git.bobert.me/anthorob/coder-templates.git//coder-base?ref=main"
|
||||||
|
|
||||||
language = "PHP"
|
language = "PHP"
|
||||||
docker_image = "registry.bobert.me/anthorob/coder-images:php${data.coder_parameter.php_version.value}"
|
docker_image = "registry.bobert.me/anthorob/coder-images:php${data.coder_parameter.php_version.value}"
|
||||||
|
|||||||
Reference in new issue
Block a user