Skip to content

Commit

Permalink
checkpoint-kai-1717220852
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Jun 1, 2024
1 parent 27e69ef commit 8d0f72c
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 7 deletions.
3 changes: 3 additions & 0 deletions infrastructure/application/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion infrastructure/application/state.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ provider "kubernetes" {
provider "aws" {
# AWS doesn't have the same regions as GCP, and also doesn't format then in the same way.
# That said, this isn't a huge issue because we are only using AWS for DNS.
region = "us-east-1"
region = "us-east-1"
profile = "coilysiren"
}

data "terraform_remote_state" "foundation" {
Expand Down
6 changes: 5 additions & 1 deletion infrastructure/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ items:
app: application
spec:
containers:
- image: us-central1-docker.pkg.dev/dotted-hope-405813/repository/gke-test-3:certs-add8cea-kai
- image: us-central1-docker.pkg.dev/gke-test-5/repository/gke-test-5:main-27e69ef-kai
name: application
ports:
- containerPort: 8080
resources:
requests:
cpu: "0.1"
memory: 256Mi
kind: List
metadata:
resourceVersion: ""
2 changes: 1 addition & 1 deletion infrastructure/foundation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ module "gke" {
node_pools = [
{
name = "primary"
machine_type = "e2-small"
machine_type = "e2-medium"
min_count = 1
max_count = 1
auto_repair = true
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ items:
number: 80
tls:
- hosts:
- gke-test-3.coilysiren.me
- gke-test-5.coilysiren.me
secretName: web-ssl
- apiVersion: cert-manager.io/v1
kind: Issuer
Expand Down Expand Up @@ -47,4 +47,4 @@ items:
- gke-test-3.coilysiren.me
kind: List
metadata:
resourceVersion: ""
resourceVersion: ''
3 changes: 3 additions & 0 deletions infrastructure/ingress/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion infrastructure/ingress/state.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ provider "kubernetes" {
provider "aws" {
# AWS doesn't have the same regions as GCP, and also doesn't format then in the same way.
# That said, this isn't a huge issue because we are only using AWS for DNS.
region = "us-east-1"
region = "us-east-1"
profile = "coilysiren"
}

data "terraform_remote_state" "foundation" {
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def build(ctx: [invoke.Context, Context]):
ctx = Context(ctx)

# build docker image
ctx.run(f"BUILDKIT_PROGRESS=plain docker build --tag {ctx.name}:{ctx.version} . --target base")
ctx.run(f"BUILDKIT_PROGRESS=plain docker build --platform linux/amd64 --tag {ctx.name}:{ctx.version} . --target base")


@invoke.task
Expand Down

0 comments on commit 8d0f72c

Please sign in to comment.