Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit eaee6a0

Browse files
committed
ci: fix release process
1 parent 832f49f commit eaee6a0

File tree

8 files changed

+11
-86
lines changed

8 files changed

+11
-86
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"project_support_nomad": false,
2525
"project_support_packer": false,
2626
"project_support_terraform": true,
27-
"project_support_terraform_module": true
27+
"project_support_terraform_module": false
2828
}
2929
},
3030
"directory": null,

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ updates:
3131
open-pull-requests-limit: 8
3232
assignees:
3333
- "jlec"
34-
- package-ecosystem: "terraform"
35-
directory: "/"
36-
schedule:
37-
interval: "weekly"
38-
registries: "*"
39-
open-pull-requests-limit: 8
40-
assignees:
41-
- "jlec"
4234
registries:
4335
terraform-jlec:
4436
type: terraform-registry

.goreleaser.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44
before:
55
hooks:
66
# this is just an example and not a requirement for provider building/publishing
7-
- go mod tidy
8-
# you may remove this if you don't need go generate
9-
- go generate ./...
7+
- go mod tidy -v
108
builds:
11-
- binary: "{{ .ProjectName }}_v{{ .Version }}"
12-
env:
9+
- env:
1310
# goreleaser does not work with CGO, it could also complicate
1411
# usage by users in CI/CD systems like Terraform Cloud where
1512
# they are unable to install libraries.
@@ -19,19 +16,20 @@ builds:
1916
- -trimpath
2017
ldflags:
2118
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
22-
goarch:
23-
- amd64
24-
- "386"
25-
- arm
26-
- arm64
2719
goos:
28-
- freebsd
29-
- windows
20+
# - freebsd
21+
# - windows
3022
- linux
3123
- darwin
24+
goarch:
25+
- amd64
26+
# - "386"
27+
# - arm
28+
- arm64
3229
ignore:
3330
- goos: darwin
3431
goarch: "386"
32+
binary: "{{ .ProjectName }}_v{{ .Version }}"
3533
archives:
3634
- format: zip
3735
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
TF provider for Turing PI BMC
44

5-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
6-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
75

86
## License
97

deployment/README.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,6 @@
33
TF provider for Turing PI BMC
44

55
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
6-
## Requirements
7-
8-
| Name | Version |
9-
|------|---------|
10-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.4.0 |
11-
| <a name="requirement_tfe"></a> [tfe](#requirement\_tfe) | ~>0.40 |
12-
13-
## Providers
14-
15-
| Name | Version |
16-
|------|---------|
17-
| <a name="provider_tfe"></a> [tfe](#provider\_tfe) | ~>0.40 |
18-
19-
## Modules
20-
21-
No modules.
22-
23-
## Resources
24-
25-
| Name | Type |
26-
|------|------|
27-
| [tfe_registry_module.terraform-module](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/registry_module) | resource |
28-
| [tfe_oauth_client.gh_oauth_token](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/oauth_client) | data source |
29-
30-
## Inputs
31-
32-
| Name | Description | Type | Default | Required |
33-
|------|-------------|------|---------|:--------:|
34-
| <a name="input_tfe_token"></a> [tfe\_token](#input\_tfe\_token) | TFE access for agents | `string` | n/a | yes |
35-
36-
## Outputs
37-
38-
No outputs.
396
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
407

418
## License

deployment/main.tf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,2 @@
11
locals {
2-
tfe_oauth_name = "TF/Github/jlec"
3-
tfe_org_name = "jlec"
4-
}
5-
6-
data "tfe_oauth_client" "gh_oauth_token" {
7-
name = local.tfe_oauth_name
8-
organization = local.tfe_org_name
9-
}
10-
11-
resource "tfe_registry_module" "terraform-module" {
12-
vcs_repo {
13-
display_identifier = "jlec/terraform-provider-turing-pi-bmc"
14-
identifier = "jlec/terraform-provider-turing-pi-bmc"
15-
oauth_token_id = data.tfe_oauth_client.gh_oauth_token.oauth_token_id
16-
}
172
}

deployment/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +0,0 @@
1-
2-
variable "tfe_token" {
3-
type = string
4-
description = "TFE access for agents"
5-
}

deployment/versions.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,4 @@ terraform {
77
name = "terraform_provider_turing_pi_bmc"
88
}
99
}
10-
required_providers {
11-
tfe = {
12-
source = "hashicorp/tfe"
13-
version = "~>0.40"
14-
}
15-
}
16-
}
17-
provider "tfe" {
18-
# Configuration options
19-
token = var.tfe_token
2010
}

0 commit comments

Comments
 (0)