Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb79d851

Browse files
chore: publishing setup (#59)
1 parent8af42aa commitb79d851

File tree

18 files changed

+53
-38
lines changed

18 files changed

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

‎.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.

‎docs/resources/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 Resource - coderd"
3+
page_title:"coderd_template Resource -terraform-provider-coderd"
44
subcategory:""
55
description:|-
66
A Coder template

‎docs/resources/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 Resource - coderd"
3+
page_title:"coderd_user Resource -terraform-provider-coderd"
44
subcategory:""
55
description:|-
66
A user on the Coder deployment.

‎docs/resources/workspace_proxy.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_workspace_proxy Resource - coderd"
3+
page_title:"coderd_workspace_proxy Resource -terraform-provider-coderd"
44
subcategory:""
55
description:|-
66
A Workspace Proxy for the Coder deployment.

‎internal/provider/group_resource.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright (c) HashiCorp, Inc.
2-
// SPDX-License-Identifier: MPL-2.0
3-
41
package provider
52

63
import (

‎internal/provider/group_resource_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright (c) HashiCorp, Inc.
2-
// SPDX-License-Identifier: MPL-2.0
3-
41
package provider
52

63
import (

‎internal/provider/provider_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright (c) HashiCorp, Inc.
2-
// SPDX-License-Identifier: MPL-2.0
3-
41
package provider
52

63
import (

‎main.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright (c) HashiCorp, Inc.
2-
// SPDX-License-Identifier: MPL-2.0
3-
41
package main
52

63
import (
@@ -20,7 +17,7 @@ import (
2017

2118
// Run the docs generation tool, check its repository for more information on how it works and how docs
2219
// can be customized.
23-
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate -provider-name coderd
20+
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
2421

2522
var (
2623
// these will be set by the goreleaser configuration
@@ -38,10 +35,7 @@ func main() {
3835
flag.Parse()
3936

4037
opts:= providerserver.ServeOpts{
41-
// TODO: Update this string with the published name of your provider.
42-
// Also update the tfplugindocs generate command to either remove the
43-
// -provider-name flag or set its value to the updated provider name.
44-
Address:"registry.terraform.io/hashicorp/scaffolding",
38+
Address:"registry.terraform.io/coder/coderd",
4539
Debug:debug,
4640
}
4741

‎tools/tools.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright (c) HashiCorp, Inc.
2-
// SPDX-License-Identifier: MPL-2.0
3-
41
//go:build tools
52

63
package tools

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp