Skip to content

Commit 9d66b58

Browse files
committed
Add Webflow resources: Redirect, RobotsTxt, and Site
- Implemented Redirect resource for managing HTTP redirects with customizable source and destination paths, status codes, and automatic creation timestamps. - Added RobotsTxt resource to manage robots.txt configuration, allowing for crawler access rules and sitemap references. - Created Site resource for programmatically managing Webflow sites, including properties for custom domains, data collection settings, and publishing options. - Updated provider test to reference the new Webflow provider package.
1 parent 87de872 commit 9d66b58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+11435
-1499
lines changed

.ci-mgmt.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
template: native
2-
provider: provider-boilerplate
2+
provider: pulumi-webflow
33
major-version: 0
44
providerDefaultBranch: main
55
publishRegistry: false
6-
providerVersion: github.com/pulumi/pulumi-provider-boilerplate/provider.Version
6+
providerVersion: github.com/jdetmar/pulumi-webflow/provider.Version
77
parallel: 3
8-
sdkModuleDir: sdk/go/pulumi-provider-boilerplate
8+
sdkModuleDir: sdk/go/pulumi-webflow
99
esc:
1010
enabled: true
1111
environment: imports/github-secrets

.devcontainer/devcontainer.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "pulumi-webflow-dev",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
4+
"features": {
5+
"ghcr.io/devcontainers/features/go:1": {
6+
"version": "1.22"
7+
},
8+
"ghcr.io/devcontainers/features/node:1": {
9+
"version": "20"
10+
},
11+
"ghcr.io/devcontainers/features/python:1": {
12+
"version": "3.11"
13+
},
14+
"ghcr.io/devcontainers/features/dotnet:2": {
15+
"version": "6.0"
16+
},
17+
"ghcr.io/devcontainers-extra/features/pulumi:1": {
18+
"version": "latest"
19+
}
20+
},
21+
"remoteUser": "vscode",
22+
"customizations": {
23+
"vscode": {
24+
"settings": {
25+
"go.useLanguageServer": true,
26+
"go.formatTool": "gofumpt",
27+
"go.toolsManagement.autoUpdate": true,
28+
"editor.formatOnSave": true
29+
},
30+
"extensions": [
31+
"golang.Go",
32+
"ms-python.python",
33+
"ms-azuretools.vscode-docker",
34+
"ms-dotnettools.csharp",
35+
"ms-vscode.vscode-typescript-next",
36+
"esbenp.prettier-vscode",
37+
"redhat.vscode-yaml",
38+
"pulumi.pulumi-lsp",
39+
"vscjava.vscode-gradle"
40+
]
41+
}
42+
},
43+
"postCreateCommand": "go version && node --version && python --version && dotnet --info && pulumi version && go install github.com/pulumi/pulumictl/cmd/pulumictl@latest && pulumictl version"
44+
}

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
- "**"
1616
workflow_dispatch: {}
1717
env:
18-
PROVIDER: provider-boilerplate
18+
PROVIDER: pulumi-webflow
1919
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
2020
TRAVIS_OS_NAME: linux
2121
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..

.github/workflows/command-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
issue-type: pull-request
3434
permission: write
3535
reaction-token: ${{ secrets.GITHUB_TOKEN }}
36-
repository: pulumi/pulumi-provider-boilerplate
36+
repository: jdetmar/pulumi-webflow
3737
token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
3838
name: command-dispatch
3939
on:

.github/workflows/prerelease.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
tags:
77
- v*.*.*-**
88
env:
9-
PROVIDER: provider-boilerplate
9+
PROVIDER: pulumi-webflow
1010
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
1111
TRAVIS_OS_NAME: linux
1212
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
@@ -558,8 +558,8 @@ jobs:
558558
with:
559559
repository: ${{ github.repository }}
560560
base-ref: ${{ github.sha }}
561-
source: sdk/go/pulumi-provider-boilerplate
562-
path: sdk/go/pulumi-provider-boilerplate
561+
source: sdk/go/pulumi-webflow
562+
path: sdk/go/pulumi-webflow
563563
version: ${{ steps.version.outputs.version }}
564564
additive: false
565565
files: "**"

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- v*.*.*
88
- "!v*.*.*-**"
99
env:
10-
PROVIDER: provider-boilerplate
10+
PROVIDER: pulumi-webflow
1111
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
1212
TRAVIS_OS_NAME: linux
1313
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
@@ -561,8 +561,8 @@ jobs:
561561
with:
562562
repository: ${{ github.repository }}
563563
base-ref: ${{ github.sha }}
564-
source: sdk/go/pulumi-provider-boilerplate
565-
path: sdk/go/pulumi-provider-boilerplate
564+
source: sdk/go/pulumi-webflow
565+
path: sdk/go/pulumi-webflow
566566
version: ${{ steps.version.outputs.version }}
567567
additive: false
568568
files: "**"

.github/workflows/run-acceptance-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- CHANGELOG.md
1111
workflow_dispatch: {}
1212
env:
13-
PROVIDER: provider-boilerplate
13+
PROVIDER: pulumi-webflow
1414
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
1515
TRAVIS_OS_NAME: linux
1616
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
@@ -168,7 +168,7 @@ jobs:
168168
169169
git stash pop
170170
171-
git add sdk provider/cmd/provider-boilerplate/schema.json
171+
git add sdk provider/cmd/pulumi-webflow/schema.json
172172
173173
git reset sdk/python/*/pulumi-plugin.json \
174174
sdk/python/pyproject.toml \
@@ -322,7 +322,7 @@ jobs:
322322
323323
git stash pop
324324
325-
git add sdk provider/cmd/provider-boilerplate/schema.json
325+
git add sdk provider/cmd/pulumi-webflow/schema.json
326326
327327
git reset sdk/python/*/pulumi-plugin.json \
328328
sdk/python/pyproject.toml \

.github/workflows/weekly-pulumi-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch: {}
88
env:
99
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
10-
PROVIDER: provider-boilerplate
10+
PROVIDER: pulumi-webflow
1111
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
1212
TRAVIS_OS_NAME: linux
1313
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..

.goreleaser.prerelease.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt
22

3-
project_name: pulumi-provider-boilerplate
3+
project_name: pulumi-webflow
44
builds:
55
- id: build-provider
66
dir: provider
@@ -14,13 +14,13 @@ builds:
1414
- amd64
1515
- arm64
1616
ignore: &a1 []
17-
main: ./cmd/pulumi-resource-provider-boilerplate/
17+
main: ./cmd/pulumi-resource-pulumi-webflow/
1818
ldflags: &a2
1919
- -s
2020
- -w
2121
- -X
22-
github.com/pulumi/pulumi-provider-boilerplate/provider/pkg/version.Version={{.Tag}}
23-
binary: pulumi-resource-provider-boilerplate
22+
github.com/jdetmar/pulumi-webflow/provider/pkg/version.Version={{.Tag}}
23+
binary: pulumi-resource-pulumi-webflow
2424
- id: build-provider-sign-windows
2525
dir: provider
2626
env:
@@ -32,9 +32,9 @@ builds:
3232
- amd64
3333
- arm64
3434
ignore: *a1
35-
main: ./cmd/pulumi-resource-provider-boilerplate/
35+
main: ./cmd/pulumi-resource-pulumi-webflow/
3636
ldflags: *a2
37-
binary: pulumi-resource-provider-boilerplate
37+
binary: pulumi-resource-pulumi-webflow
3838
hooks:
3939
post:
4040
- make sign-goreleaser-exe-{{ .Arch }}

.goreleaser.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt
2-
project_name: pulumi-provider-boilerplate
2+
project_name: pulumi-webflow
33
builds:
44
- id: build-provider
55
dir: provider
@@ -13,13 +13,13 @@ builds:
1313
- amd64
1414
- arm64
1515
ignore: &a1 []
16-
main: ./cmd/pulumi-resource-provider-boilerplate/
16+
main: ./cmd/pulumi-resource-pulumi-webflow/
1717
ldflags: &a2
1818
- -s
1919
- -w
2020
- -X
21-
github.com/pulumi/pulumi-provider-boilerplate/provider/pkg/version.Version={{.Tag}}
22-
binary: pulumi-resource-provider-boilerplate
21+
github.com/jdetmar/pulumi-webflow/provider/pkg/version.Version={{.Tag}}
22+
binary: pulumi-resource-pulumi-webflow
2323
- id: build-provider-sign-windows
2424
dir: provider
2525
env:
@@ -31,9 +31,9 @@ builds:
3131
- amd64
3232
- arm64
3333
ignore: *a1
34-
main: ./cmd/pulumi-resource-provider-boilerplate/
34+
main: ./cmd/pulumi-resource-pulumi-webflow/
3535
ldflags: *a2
36-
binary: pulumi-resource-provider-boilerplate
36+
binary: pulumi-resource-pulumi-webflow
3737
hooks:
3838
post:
3939
- make sign-goreleaser-exe-{{ .Arch }}

0 commit comments

Comments
 (0)