Skip to content

Commit fae188b

Browse files
authored
Merge branch 'main' into fix
2 parents d81445f + 1f0a624 commit fae188b

File tree

14 files changed

+2
-978
lines changed

14 files changed

+2
-978
lines changed

.github/workflows/digger_workflow.yml

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -25,64 +25,15 @@ jobs:
2525

2626
steps:
2727
- uses: actions/checkout@v5
28-
#
29-
###- uses: ./.github/workflows/infra_connect.yml
30-
- name: Install 1Password CLI
31-
uses: 1password/install-cli-action@v2
32-
33-
- name: Load secrets
34-
id: load-secrets
35-
uses: 1password/load-secrets-action@v3
36-
with:
37-
export-env: false # Export loaded secrets as environment variables
38-
env:
39-
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
40-
#TF_ENCRYPT_PASSPHRASE: "op://perchnet/tf_encrypt_passphrase/password"
41-
#TF_API_TOKEN: "op://perchnet/terraform-token-github-actions/credential"
42-
TS_OAUTH_CLIENT_ID: "op://perchnet/tailscale-oauth-github-runner/username"
43-
TS_OAUTH_CLIENT_SECRET: "op://perchnet/tailscale-oauth-github-runner/credential"
44-
TF_VAR_onepassword_sdk_token: "op://perchnet/1p-terraform/credential"
45-
OCI_region: "op://perchnet/oci-terraform/oci-meta/region"
46-
OCI_user_ocid: "op://perchnet/oci-terraform/oci-meta/user_ocid"
47-
OCI_compartment_ocid: "op://perchnet/oci-terraform/oci-meta/compartment_ocid"
48-
OCI_tenancy_ocid: "op://perchnet/oci-terraform/oci-meta/tenancy_ocid"
49-
OCI_fingerprint: "op://perchnet/oci-terraform/oci-meta/fingerprint"
50-
OCI_private_key: "op://perchnet/oci-terraform/private key"
51-
#TF_VAR_state_par_url: "op://perchnet/oci-par-url/password"
52-
#SSH_PRIVATE_KEY: "op://perchnet/proxmox-ssh/private key?ssh-format=openssh"
53-
54-
#- name: Inject OCI State URL into TF config
55-
# run: op inject -i backend.tf -o backend.tf -f
56-
# env:
57-
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
58-
- name: Connect to Tailscale
59-
uses: tailscale/github-action@v3
60-
with:
61-
oauth-client-id: ${{ steps.load-secrets.outputs.TS_OAUTH_CLIENT_ID }}
62-
oauth-secret: ${{ steps.load-secrets.outputs.TS_OAUTH_CLIENT_SECRET }}
63-
tags: tag:github-runner
64-
use-cache: "true"
65-
#args: '--accept-routes'
66-
# - uses: mxschmitt/action-tmate@v3
67-
68-
- run: tailscale ping pve1.shark-perch.ts.net
69-
70-
###
28+
- uses: ./.github/workflows/infra_connect.yml
7129
- name: ${{ fromJSON(github.event.inputs.spec).job_id }}
7230
run: echo "job id ${{ fromJSON(github.event.inputs.spec).job_id }}"
7331
- uses: diggerhq/digger@vLatest
7432
with:
7533
digger-spec: ${{ inputs.spec }}
7634
setup-aws: false
7735
setup-terraform: true
78-
terraform-version: 1.13.2
36+
terraform-version: 1.5.5
7937
env:
8038
GITHUB_CONTEXT: ${{ toJson(github) }}
8139
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82-
TF_VAR_onepassword_sdk_token: ${{ steps.load-secrets.outputs.TF_VAR_onepassword_sdk_token }}
83-
OCI_region: ${{ steps.load-secrets.outputs.OCI_region }}
84-
OCI_user_ocid: ${{ steps.load-secrets.outputs.OCI_user_ocid }}
85-
OCI_compartment_ocid: ${{ steps.load-secrets.outputs.OCI_compartment_ocid }}
86-
OCI_tenancy_ocid: ${{ steps.load-secrets.outputs.OCI_tenancy_ocid }}
87-
OCI_fingerprint: ${{ steps.load-secrets.outputs.OCI_fingerprint }}
88-
OCI_private_key: ${{ steps.load-secrets.outputs.OCI_private_key }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
.DS_Store
2-
.terraform

.terraform.lock.hcl

Lines changed: 0 additions & 196 deletions
This file was deleted.

1p.env

Lines changed: 0 additions & 6 deletions
This file was deleted.

backend.tf

Lines changed: 0 additions & 13 deletions
This file was deleted.

locals.tf

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)