Skip to content

Commit

Permalink
Initial PR: Setup, Workspace Resource and Workspace Data source (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandyliu authored Apr 4, 2024
2 parents 32cf08f + f303399 commit 145425c
Show file tree
Hide file tree
Showing 64 changed files with 13,161 additions and 1,199 deletions.
21 changes: 0 additions & 21 deletions .copywrite.hcl

This file was deleted.

2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @hashicorp/terraform-devex
* @vandyliu @sunkickr @astronomer/astro-control-plane-applications
5 changes: 0 additions & 5 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ updates:
directory: "/"
schedule:
interval: "daily"
# TODO: Dependabot only updates hashicorp GHAs in the template repository, the following lines can be removed for consumers of this template
allow:
- dependency-name: "hashicorp/*"
25 changes: 25 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Description

> Describe the purpose of this pull request.
## 🎟 Issue(s)

Related #XXX

## 🧪 Functional Testing

> List the functional testing steps to confirm this feature or fix.
## 📸 Screenshots

> Add screenshots to illustrate the validity of these changes.
## 📋 Checklist

- [ ] Rebased from the main (or release if patching) branch (before testing)
- [ ] Ran `make test` before taking out of draft
- [ ] Ran `make fmt` before taking out of draft
- [ ] Added/updated applicable tests
- [ ] Tested against [Astro-API](https://github.com/astronomer/astro/) (if necessary).
- [ ] Communicated to/tagged owners of respective clients potentially impacted by these changes.
- [ ] Updated any related [documentation](https://github.com/astronomer/docs/)
23 changes: 15 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
paths-ignore:
- 'README.md'
push:
branches:
- main
paths-ignore:
- 'README.md'

Expand All @@ -18,7 +20,7 @@ permissions:
jobs:
# Ensure project builds before running testing matrix
build:
name: Build
name: Build and unit test
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
Expand All @@ -29,10 +31,19 @@ jobs:
cache: true
- run: go mod download
- run: go build -v .
- name: Run linters
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
- run: make test

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
version: latest
go-version-file: 'go.mod'
cache: true
- run: make validate-fmt


generate:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -66,10 +77,6 @@ jobs:
# list whatever Terraform versions here you would like to support
terraform:
- '1.0.*'
- '1.1.*'
- '1.2.*'
- '1.3.*'
- '1.4.*'
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ website/node_modules
*.iml
*.test
*.iml
*.tfvars

website/vendor
test_results
vendor/
.terraformrc

# Test exclusions
!command/test-fixtures/**/*.tfstate
Expand Down
27 changes: 0 additions & 27 deletions .golangci.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .terraformrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
provider_installation {
dev_overrides {
"registry.terraform.io/astronomer/astronomer" = "~/astronomer/astronomer-terraform-provider/bin"
}
direct {}
}
3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

6 changes: 0 additions & 6 deletions GNUmakefile

This file was deleted.

Loading

0 comments on commit 145425c

Please sign in to comment.