From 19f7f6d6dea34dd53a158b6692d1f34c17fd4dbe Mon Sep 17 00:00:00 2001 From: Lena Fuhrimann <6780471+cloudlena@users.noreply.github.com> Date: Sun, 24 Mar 2024 20:41:52 +0100 Subject: [PATCH] Upgrade Hugo to version 0.124 --- .github/workflows/main.yaml | 2 +- infrastructure/.gitignore | 28 ---------- infrastructure/.terraform.lock.hcl | 42 --------------- infrastructure/Makefile | 4 -- infrastructure/dns.tf | 11 ---- infrastructure/main.tf | 12 ----- infrastructure/terraform.tfstate | 83 ------------------------------ 7 files changed, 1 insertion(+), 181 deletions(-) delete mode 100644 infrastructure/.gitignore delete mode 100644 infrastructure/.terraform.lock.hcl delete mode 100644 infrastructure/Makefile delete mode 100644 infrastructure/dns.tf delete mode 100644 infrastructure/main.tf delete mode 100644 infrastructure/terraform.tfstate diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ddfa4348..05f06cb7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -24,7 +24,7 @@ jobs: needs: lint runs-on: ubuntu-latest env: - HUGO_VERSION: 0.123.4 + HUGO_VERSION: 0.124.0 steps: - name: Checkout repo uses: actions/checkout@v4 diff --git a/infrastructure/.gitignore b/infrastructure/.gitignore deleted file mode 100644 index d403484a..00000000 --- a/infrastructure/.gitignore +++ /dev/null @@ -1,28 +0,0 @@ -# Local .terraform directories -**/.terraform/* - -# .tfstate files -*.tfstate.* - -# 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 - -# Include override files you do wish to add to version control using negated pattern -# -# !example_override.tf - -# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan -# example: *tfplan* diff --git a/infrastructure/.terraform.lock.hcl b/infrastructure/.terraform.lock.hcl deleted file mode 100644 index fc164ea8..00000000 --- a/infrastructure/.terraform.lock.hcl +++ /dev/null @@ -1,42 +0,0 @@ -# This file is maintained automatically by "tofu init". -# Manual edits may be lost in future updates. - -provider "registry.opentofu.org/hashicorp/aws" { - version = "5.23.1" - constraints = "~> 5.0" - hashes = [ - "h1:XiOt8QC1xvt4cqa2OwSfzDVlEGffO0A2rpSSMZTjwPs=", - "zh:18d251060d1836bbef6c31746abeb09d5d478ed7d30011252cf3f6db279f1d97", - "zh:2d42d2a4ae2bdb405245e7d484a6c045299f197fc200e4e675cda1ec278df9d1", - "zh:5326a9d47962f9e150b89ac27ca1805b6fa79da1d43d86da36cb380f2db31db9", - "zh:64dd8b9fb8ee1fb661261e7eb56a13296d6cf54a8d83225019173706378f2a47", - "zh:a6b42a50ffb652d202da5ead09cbc6515fb57e11f108b6e5707cdf283c3888c9", - "zh:bae0cad0d0b692188d504b2c7f64c9eb4701d635182e32b8ca593ebd6787e1ea", - "zh:be4c58edce0eb639d14a8ae061f0c579bd7917d9dca4a7ffdf7e5e9f08c008f0", - "zh:dd715713b5812d8ebe22dc9abab0765b10cbb46537decdd969e20819c0c08dfd", - "zh:e22c1c4482db7ac5a96f9c293a90bf6cab80e2f982b4e462c3aa645012411b1b", - "zh:f497d040b8baecc86881fb48228847f63bd2b11af51f3ad30754e27ebe3313e3", - ] -} - -provider "registry.terraform.io/hashicorp/aws" { - version = "5.24.0" - hashes = [ - "h1:5kF6+4jUPI73O/uDvm/8/NiKRhiaOqMTqdo5l8uAygo=", - "zh:164b4ac71c9fc6b991021dd6e829591b0c1a0ebfb5831da0a7eb4f10f92c76a7", - "zh:22e85772a1767498796f160b54a156db8173c4e238469dad8328a65093e033e1", - "zh:2655853a6e716a551190bed0ad083e2bdc8a6e9d21e9724bea3c4a97c5985bd8", - "zh:292bf6c084e23b0189d633600cde08eb61ff916e7083f9288c44daec6e566513", - "zh:2ff0f1c78a17cf11010a8beba338b9f72f3148fc37d349faa6278e523877886d", - "zh:643d3a464826b10d746cafea97739a69462c5982ac2dd31001cb798af3548a2e", - "zh:6fcaf09ebc03bc7aeb7340494dc3a75983875d309a93bf1f421774a10c65e994", - "zh:77a2f9b3f89c0a9d6c72be0724d1635cb9cbc69058e60e4bc78fe4091cc2f9a4", - "zh:7a9258d51b2b4437e8dda188a522ceff0df128cb1840713b0453f5d4fe35b452", - "zh:9231fbc0d27e7bdd214f55f05ad85af9d44a0b36a06a4e2747d7c634b2f443bb", - "zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425", - "zh:a805f3caefb98d007958f900e1f55e6fbd0849df3d99cafd96a0c5898170c153", - "zh:aa034c4cefacae133027ec3ebd80b43856fe67b9617a8c854e2a95a637d99023", - "zh:ef0f5bb925e77f1f32210458a372523edc73c70a4cce1c25e39f4498f5b50aa7", - "zh:fc26f82eb289f1476a7486130e2c7e22416c40f77218a7b63c80d59a7ce0de3a", - ] -} diff --git a/infrastructure/Makefile b/infrastructure/Makefile deleted file mode 100644 index 2c22ad42..00000000 --- a/infrastructure/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -.PHONY: apply -apply: - tofu init -upgrade - tofu apply diff --git a/infrastructure/dns.tf b/infrastructure/dns.tf deleted file mode 100644 index b9931452..00000000 --- a/infrastructure/dns.tf +++ /dev/null @@ -1,11 +0,0 @@ -data "aws_route53_zone" "main" { - name = "bespinian.io" -} - -resource "aws_route53_record" "main" { - zone_id = data.aws_route53_zone.main.zone_id - name = "blog" - type = "CNAME" - ttl = 172800 # 2 days - records = ["bespinian.github.io"] -} diff --git a/infrastructure/main.tf b/infrastructure/main.tf deleted file mode 100644 index 2077345f..00000000 --- a/infrastructure/main.tf +++ /dev/null @@ -1,12 +0,0 @@ -terraform { - required_providers { - aws = { - source = "hashicorp/aws" - version = "~> 5.0" - } - } -} - -provider "aws" { - region = "eu-central-1" -} diff --git a/infrastructure/terraform.tfstate b/infrastructure/terraform.tfstate deleted file mode 100644 index b20984a5..00000000 --- a/infrastructure/terraform.tfstate +++ /dev/null @@ -1,83 +0,0 @@ -{ - "version": 4, - "terraform_version": "1.6.0", - "serial": 16, - "lineage": "bcb81f45-105b-c132-c357-da06a193c0b9", - "outputs": {}, - "resources": [ - { - "mode": "data", - "type": "aws_route53_zone", - "name": "main", - "provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:route53:::hostedzone/Z1UVPIZKL5KPK0", - "caller_reference": "terraform-20191215212820221100000001", - "comment": "Managed by Terraform", - "id": "Z1UVPIZKL5KPK0", - "linked_service_description": null, - "linked_service_principal": null, - "name": "bespinian.io", - "name_servers": [ - "ns-1411.awsdns-48.org", - "ns-643.awsdns-16.net", - "ns-203.awsdns-25.com", - "ns-1702.awsdns-20.co.uk" - ], - "primary_name_server": "ns-1411.awsdns-48.org", - "private_zone": false, - "resource_record_set_count": 11, - "tags": { - "environment": "production", - "service-name": "global" - }, - "vpc_id": null, - "zone_id": "Z1UVPIZKL5KPK0" - }, - "sensitive_attributes": [] - } - ] - }, - { - "mode": "managed", - "type": "aws_route53_record", - "name": "main", - "provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 2, - "attributes": { - "alias": [], - "allow_overwrite": null, - "cidr_routing_policy": [], - "failover_routing_policy": [], - "fqdn": "blog.bespinian.io", - "geolocation_routing_policy": [], - "health_check_id": "", - "id": "Z1UVPIZKL5KPK0_blog_CNAME", - "latency_routing_policy": [], - "multivalue_answer_routing_policy": false, - "name": "blog", - "records": [ - "bespinian.github.io" - ], - "set_identifier": "", - "ttl": 172800, - "type": "CNAME", - "weighted_routing_policy": [], - "zone_id": "Z1UVPIZKL5KPK0" - }, - "sensitive_attributes": [], - "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", - "dependencies": [ - "data.aws_route53_zone.main" - ] - } - ] - } - ], - "check_results": null -}