Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize rest_server template with new layout and subfolder convention #180

Merged
merged 23 commits into from
Sep 11, 2023

Conversation

kevya-google
Copy link
Contributor

@kevya-google kevya-google commented Aug 31, 2023

Addresses #173, also reformats subdirectory contents in accordance to #166.

Template structure:

$ tree -all
.
├── contents
│   ├── go.mod
│   ├── go.sum
│   ├── main.go
│   ├── main_test.go
│   └── README.md
├── deployments
│   ├── config
│   │   └── autopush-rest-server.env
│   ├── contents
│   │   └── Dockerfile
│   ├── README.md
│   ├── spec.yaml
│   └── workflows
│       ├── ci-rest-server.yaml
│       └── deploy-rest-server.yaml
├── README.md
└── spec.yaml

Rendered template structure:

$ tree -all
.
├── Dockerfile
├── .github
│   ├── config
│   │   └── autopush-rest-server.env
│   └── workflows
│       ├── ci-rest-server.yaml
│       └── deploy-rest-server.yaml
├── go.mod
├── go.sum
├── main.go
├── main_test.go
└── README.md

@kevya-google kevya-google marked this pull request as ready for review August 31, 2023 20:47
@kevya-google kevya-google requested review from a team as code owners August 31, 2023 20:47
drevell
drevell previously approved these changes Aug 31, 2023
Copy link
Contributor

@drevell drevell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this

@kevya-google kevya-google marked this pull request as draft September 1, 2023 18:54
@kevya-google
Copy link
Contributor Author

Converting back to draft to fix Dockerfile reference from deployments folder in deploy.yaml and getting consensus with @gjonathanhong on folder structure.

@kevya-google kevya-google marked this pull request as ready for review September 6, 2023 19:43
drevell
drevell previously approved these changes Sep 6, 2023
@kevya-google
Copy link
Contributor Author

kevya-google commented Sep 6, 2023

Pending: will try adding input validation.

Edit: Added.

@kevya-google kevya-google merged commit c4d5678 into main Sep 11, 2023
@kevya-google kevya-google deleted the kevya/factor-out-workflows branch September 11, 2023 16:51
chloechien pushed a commit that referenced this pull request Sep 12, 2023
…ion (#180)

Addresses #173, also reformats
subdirectory contents in accordance to
#166.

Template structure:
```
$ tree -all
.
├── contents
│   ├── go.mod
│   ├── go.sum
│   ├── main.go
│   ├── main_test.go
│   └── README.md
├── deployments
│   ├── config
│   │   └── autopush-rest-server.env
│   ├── contents
│   │   └── Dockerfile
│   ├── README.md
│   ├── spec.yaml
│   └── workflows
│       ├── ci-rest-server.yaml
│       └── deploy-rest-server.yaml
├── README.md
└── spec.yaml

```
Rendered template structure:
```
$ tree -all
.
├── Dockerfile
├── .github
│   ├── config
│   │   └── autopush-rest-server.env
│   └── workflows
│       ├── ci-rest-server.yaml
│       └── deploy-rest-server.yaml
├── go.mod
├── go.sum
├── main.go
├── main_test.go
└── README.md
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants