Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-chat-integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
app
holi-chat-integration
Commits
1ac98ec2
Commit
1ac98ec2
authored
8 months ago
by
Dima Rosmait
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' into production
parents
e7697027
9012a6df
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
terraform/environments/function.tf
+7
-5
7 additions, 5 deletions
terraform/environments/function.tf
with
8 additions
and
6 deletions
.gitlab-ci.yml
+
1
−
1
View file @
1ac98ec2
...
...
@@ -61,7 +61,7 @@ build:
.deploy
:
stage
:
'
deploy'
image
:
name
:
'
europe-north1-docker.pkg.dev/holi-shared/docker-hub-remote/hashicorp/terraform:1.6.
1
'
name
:
'
europe-north1-docker.pkg.dev/holi-shared/docker-hub-remote/hashicorp/terraform:1.6.
6
'
# default entrypoint is terraform command, but we want to run shell scripts
entrypoint
:
[
'
/bin/sh'
,
'
-c'
]
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
terraform/environments/function.tf
+
7
−
5
View file @
1ac98ec2
...
...
@@ -22,13 +22,15 @@ data "google_secret_manager_secret" "chat_admin_access_token" {
}
resource
"google_cloudfunctions2_function"
"holi-chat-integration"
{
project
=
data
.
terraform_remote_state
.
holi_infra_state
.
outputs
.
shared_project_id
name
=
random_id
.
main
.
hex
location
=
local
.
default_region
project
=
data
.
terraform_remote_state
.
holi_infra_state
.
outputs
.
shared_project_id
name
=
random_id
.
main
.
hex
location
=
local
.
default_region
kms_key_name
=
data
.
terraform_remote_state
.
holi_infra_state
.
outputs
.
artifact_registry_cloudfunctions_key_id
build_config
{
runtime
=
"nodejs18"
entry_point
=
"receiveEvent"
runtime
=
"nodejs18"
entry_point
=
"receiveEvent"
docker_repository
=
data
.
terraform_remote_state
.
holi_infra_state
.
outputs
.
cloudfunctions_repository_id
source
{
storage_source
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment