Skip to content

Commit 6a90461

Browse files
committed
chore: publishing setup
1 parent 557da95 commit 6a90461

File tree

18 files changed

+54
-38
lines changed

18 files changed

+54
-38
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/dependabot.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ updates:
55
- package-ecosystem: "gomod"
66
directory: "/"
77
schedule:
8-
interval: "daily"
8+
interval: "weekly"
99
- package-ecosystem: "github-actions"
1010
directory: "/"
1111
schedule:
12-
interval: "daily"
13-
# TODO: Dependabot only updates hashicorp GHAs in the template repository, the following lines can be removed for consumers of this template
14-
allow:
15-
- dependency-name: "hashicorp/*"
12+
interval: "weekly"

.github/workflows/release.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
10+
11+
12+
jobs:
13+
goreleaser:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Unshallow
19+
run: git fetch --prune --unshallow
20+
- name: Setup Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version: 1.22.4
24+
- name: Import GPG Key
25+
id: import_gpg
26+
uses: crazy-max/ghaction-import-gpg@v6.1.0
27+
with:
28+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
29+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
30+
- name: Run GoReleaser
31+
uses: goreleaser/goreleaser-action@v6.0.0
32+
with:
33+
version: latest
34+
args: release --clean
35+
env:
36+
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
37+
# GitHub sets this automatically
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+

.goreleaser.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
3+
version: 2
34
before:
45
hooks:
56
# this is just an example and not a requirement for provider building/publishing
@@ -41,7 +42,7 @@ checksum:
4142
signs:
4243
- artifacts: checksum
4344
args:
44-
# if you are using this in a GitHub action or some other automated pipeline, you
45+
# if you are using this in a GitHub action or some other automated pipeline, you
4546
# need to pass the batch flag to indicate its not interactive.
4647
- "--batch"
4748
- "--local-user"
@@ -57,4 +58,4 @@ release:
5758
# If you want to manually examine the release before its live, uncomment this line:
5859
# draft: true
5960
changelog:
60-
skip: true
61+
disable: true

LICENSE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Copyright (c) 2021 HashiCorp, Inc.
2-
31
Mozilla Public License Version 2.0
42
==================================
53

docs/data-sources/group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "coderd_group Data Source - coderd"
3+
page_title: "coderd_group Data Source - terraform-provider-coderd"
44
subcategory: ""
55
description: |-
66
An existing group on the coder deployment.

docs/data-sources/organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "coderd_organization Data Source - coderd"
3+
page_title: "coderd_organization Data Source - terraform-provider-coderd"
44
subcategory: ""
55
description: |-
66
An existing organization on the coder deployment.

docs/data-sources/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "coderd_template Data Source - coderd"
3+
page_title: "coderd_template Data Source - terraform-provider-coderd"
44
subcategory: ""
55
description: |-
66
An existing template on the Coder deployment.

docs/data-sources/user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "coderd_user Data Source - coderd"
3+
page_title: "coderd_user Data Source - terraform-provider-coderd"
44
subcategory: ""
55
description: |-
66
An existing user on the coder deployment

docs/resources/group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "coderd_group Resource - coderd"
3+
page_title: "coderd_group Resource - terraform-provider-coderd"
44
subcategory: ""
55
description: |-
66
A group on the Coder deployment. If you want to have a group resource with unmanaged members, but still want to read the members in Terraform, use the data.coderd_group data source.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy