From 5626e8e24b45a63634b61494bb5c5402d3ee3d3f Mon Sep 17 00:00:00 2001 From: ninotosh <6128440+ninotosh@users.noreply.github.com> Date: Sun, 8 Mar 2026 17:37:35 +0900 Subject: [PATCH 1/3] bump setup-terraform and upload-artifact --- .github/workflows/check-versions.yml | 4 ++-- .github/workflows/deploy.yml | 6 +++--- .github/workflows/integration-tests.yml | 2 +- .github/workflows/keygen.yml | 2 +- .github/workflows/plan.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-versions.yml b/.github/workflows/check-versions.yml index 3f33bd8..7dba7e7 100644 --- a/.github/workflows/check-versions.yml +++ b/.github/workflows/check-versions.yml @@ -32,7 +32,7 @@ jobs: - name: upload-artifact uses: ninotosh/check-github-repo-latest-version@v1 with: - release: actions/upload-artifact@v6 + release: actions/upload-artifact@v7 github_token: ${{ secrets.GITHUB_TOKEN }} - name: cache @@ -50,7 +50,7 @@ jobs: - name: setup-terraform uses: ninotosh/check-github-repo-latest-version@v1 with: - release: hashicorp/setup-terraform@v3 + release: hashicorp/setup-terraform@v4 github_token: ${{ secrets.GITHUB_TOKEN }} - name: terraform diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 52d3fbb..75889cf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,7 +33,7 @@ jobs: - run: make generated.servers.auto.tfvars.json - name: set up terraform - uses: hashicorp/setup-terraform@v3 + uses: hashicorp/setup-terraform@v4 with: terraform_version: ~1.14 cli_config_credentials_token: ${{ secrets.HCP_TERRAFORM_TEAM_TOKEN }} @@ -49,7 +49,7 @@ jobs: - run: terraform apply -auto-approve -refresh-only - name: set up terraform - uses: hashicorp/setup-terraform@v3 + uses: hashicorp/setup-terraform@v4 with: terraform_version: ~1.14 cli_config_credentials_token: ${{ secrets.HCP_TERRAFORM_TEAM_TOKEN }} @@ -107,7 +107,7 @@ jobs: -e download_dir=${DOWNLOAD_DIR} site.yml - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: ovpn_${{ github.run_number }} path: ${{ env.DOWNLOAD_DIR }} diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 668b83d..2b2d4fc 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v6 - name: set up terraform - uses: hashicorp/setup-terraform@v3 + uses: hashicorp/setup-terraform@v4 with: terraform_version: ~1.14 cli_config_credentials_token: ${{ secrets.HCP_TERRAFORM_TEAM_TOKEN }} diff --git a/.github/workflows/keygen.yml b/.github/workflows/keygen.yml index ca25743..53fb94e 100644 --- a/.github/workflows/keygen.yml +++ b/.github/workflows/keygen.yml @@ -16,7 +16,7 @@ jobs: # "y" to overwrite the tmp file - run: echo y | ssh-keygen -t ed25519 -f ${SSH_PRIVATE_KEY_PATH} -C $SSH_USER -N "" - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: ssh_key_pair_${{ github.run_number }} path: | diff --git a/.github/workflows/plan.yml b/.github/workflows/plan.yml index 819584e..c7c1331 100644 --- a/.github/workflows/plan.yml +++ b/.github/workflows/plan.yml @@ -35,7 +35,7 @@ jobs: - run: make generated.servers.auto.tfvars.json - name: set up terraform - uses: hashicorp/setup-terraform@v3 + uses: hashicorp/setup-terraform@v4 with: terraform_version: ~1.14 cli_config_credentials_token: ${{ secrets.HCP_TERRAFORM_TEAM_TOKEN }} From d49618273b033adc7f5fc7881e8afb9ce1aceb9b Mon Sep 17 00:00:00 2001 From: ninotosh <6128440+ninotosh@users.noreply.github.com> Date: Fri, 6 Mar 2026 19:17:21 +0900 Subject: [PATCH 2/3] bump cue --- .github/actions/cue/action.yml | 2 +- .github/workflows/check-versions.yml | 2 +- docker/cue.Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/cue/action.yml b/.github/actions/cue/action.yml index 3e2f78f..82d8d51 100644 --- a/.github/actions/cue/action.yml +++ b/.github/actions/cue/action.yml @@ -4,7 +4,7 @@ inputs: schema-file: required: true cue-version: - default: 0.15.0 + default: 0.16.0 runs: using: "composite" diff --git a/.github/workflows/check-versions.yml b/.github/workflows/check-versions.yml index 7dba7e7..c555c0a 100644 --- a/.github/workflows/check-versions.yml +++ b/.github/workflows/check-versions.yml @@ -74,7 +74,7 @@ jobs: - name: cue uses: ninotosh/check-github-repo-latest-version@v1 with: - release: cue-lang/cue@v0.15 + release: cue-lang/cue@v0.16 github_token: ${{ secrets.GITHUB_TOKEN }} - name: openvpn diff --git a/docker/cue.Dockerfile b/docker/cue.Dockerfile index eaf331b..d423f42 100644 --- a/docker/cue.Dockerfile +++ b/docker/cue.Dockerfile @@ -1,5 +1,5 @@ FROM golang:1.25-bookworm -ARG CUE_VERSION=0.15.0 +ARG CUE_VERSION=0.16.0 RUN apt update && \ apt install -y --no-install-recommends bash-completion && \ From e10b10ad45e532b1f02c032010e194badb3a0bb2 Mon Sep 17 00:00:00 2001 From: ninotosh <6128440+ninotosh@users.noreply.github.com> Date: Sun, 8 Mar 2026 17:39:03 +0900 Subject: [PATCH 3/3] updated README with HCP Account --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca82ed4..f819c1e 100644 --- a/README.md +++ b/README.md @@ -86,11 +86,11 @@ sequenceDiagram - accounts - [GitHub](https://docs.github.com/en/get-started/start-your-journey/creating-an-account-on-github) - - [HCP Terraform](https://developer.hashicorp.com/terraform/tutorials/cloud-get-started/cloud-sign-up) + - [HashiCorp Cloud Platform](https://developer.hashicorp.com/hcp/docs/hcp/create-account) or [HCP Terraform](https://developer.hashicorp.com/terraform/tutorials/cloud-get-started/cloud-sign-up) - one or more of - [AWS](https://aws.amazon.com/resources/create-account/) - [Google](https://support.google.com/accounts/answer/27441) for Google Cloud -- VPN client application +- VPN client application on each client # steps