generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/gradle/prime-router/com.hieryno…
…mus-sshj-0.35.0
- Loading branch information
Showing
600 changed files
with
59,940 additions
and
17,744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ACTION | ||
Deploy (force push) to branch | ||
USAGE | ||
[<@bot>] gh-deploy [<branch>] to [<branch>] [OPTIONAL: for <owner/repo>] | ||
EXAMPLES | ||
@DevBot gh-deploy master to trialfrontend1 | ||
========================================================================== | ||
ACTION | ||
Lock branch to prevent deployments | ||
USAGE | ||
[<@bot>] gh-lock [add|remove|show] [<branch>] | ||
EXAMPLES | ||
@DevBot gh-lock add feature3 | ||
@DevBot gh-lock remove feature3 | ||
========================================================================== | ||
ACTION | ||
List deployment target branches | ||
USAGE | ||
[<@bot>] gh-targets | ||
EXAMPLES | ||
@DevBot gh-targets | ||
========================================================================== | ||
ACTION | ||
Run workflow with manual trigger | ||
USAGE | ||
[<@bot>] gh-run [<workflow file>] [OPTIONAL: <owner/repo> <branch>] [OPTIONAL: --inputs <a:b,c:d>] | ||
EXAMPLES | ||
@DevBot gh-run destroy_demo_environment.yml --inputs env_name:demo1 | ||
@DevBot gh-run destroy_demo_environment.yml CDCgov/prime-reportstream master --inputs env_name:demo1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
name: Content Request template | ||
about: requests for ReportStream content changes | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
_[Governance document](https://docs.google.com/document/d/1__FE0OGlVAby0m7QyKfo_Qr0Gh_PvALaA1_DeCJSjzQ/edit#heading=h.qyvn837dl01t) for content process reference_ | ||
|
||
**Is this new content or an edit to current content?** | ||
|
||
- [ ] **Edit**: It is not a change that affects the design or functionality of the page/feature. | ||
- [ ] **New**: It is something new that is mostly content (not a tool). | ||
|
||
**Questions for edit requests:** | ||
|
||
1. Current page link: | ||
|
||
|
||
2. Change requested: | ||
|
||
|
||
3. Why is this change needed? | ||
|
||
|
||
4. How urgent is this change and why? | ||
|
||
**Questions for new content requests:** | ||
|
||
1. Explanation: | ||
2. Status of content: | ||
- [ ] Idea | ||
- [ ] Initial draft (rough ideas started) | ||
- [ ] Final draft (fairly confident in the content you have for this) | ||
3. What identified audience need does this content help meet? (See the [user task dashboard ](https://lookerstudio.google.com/u/0/reporting/921e245e-7d5c-4bec-b997-4e1d1f39cdd7/page/JYdKD)for verified needs) | ||
4. What OKR (quarterly or annual) does this help meet? How? | ||
5. Have you considered if existing content already meets these needs, or could with some modification? | ||
|
||
**Complete your request by:** | ||
|
||
- [ ] Making sure you’ve answered all questions for the appropriate request type (edit or new) | ||
- [ ] Labeling this ticket as `content request`, `design` and `experience` | ||
- [ ] Assigning this ticket to @audreykwr | ||
|
||
_Thank you for contributing to content excellence for ReportStream!_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: Platform User Story | ||
about: Platform team's User Story issue template | ||
title: User Story Title | ||
labels: pipeline, platform | ||
assignees: '' | ||
|
||
--- | ||
|
||
### User Story | ||
<!-- | ||
What is a User Story? | ||
A user story is a requirement for any functionality or feature, written down in one or two lines, about one and only one functionality or feature. | ||
Use the following template when creating new User Stories/Tickets. Remove/replace any _italicized_ text: | ||
"As a _[User Persona - who are we building this for?]_ | ||
I want to _[Intent - what is this user trying to achieve?]_, | ||
so that _[Outcome - what is the value add to the user]_." | ||
--> | ||
|
||
### Description/Use Case | ||
<!-- | ||
_Use this section to describe the 'Why', and/or provide an example scenario in which this feature/functionality would be valueable._ | ||
--> | ||
|
||
### Risks/Impacts/Considerations | ||
<!-- | ||
_Use this section to briefly list out any risks/impacts that may come about, as a result of the proposed solution._ | ||
- _System performance may be slowed_ | ||
- _Only a single search parameter can be used_ | ||
--> | ||
|
||
### Dev Notes | ||
<!-- | ||
_Use this section to describe any useful technical information to duplicate an issue or explain requirements related to this ticket without providing implementation details._ | ||
- _Provided is the data that was used to replicate the issue..._ | ||
- _To test, use SimpleReport upload CSV page to ..._ | ||
--> | ||
|
||
### Acceptance Criteria | ||
<!-- | ||
What is Acceptance Criteria? | ||
A set of conditions or business rules, as defined by the Product Owner, which the functionality or feature should satisfy, in order to be accepted by the Product Owner. | ||
Use the following template when creating new Acceptance Criteria: | ||
"Given _[describe the precondition]_, when I _[describe the action performed]_, then I expect _[describe the expected outcome]_." | ||
_OR... it may be written as a bulleted list._ | ||
- _Time must be displayed as HH:MM:SS_ | ||
- _Delivery rate must be shown as a percentage_ | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: AZFunction-start | ||
description: start Azure function on Monday in Test environment | ||
inputs: | ||
resourceGroupName: | ||
required: true | ||
functionAppName: | ||
required: true | ||
functionName: | ||
required: true | ||
Subscription: | ||
required: true | ||
creds: | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Start function app | ||
id: StartAzFunction | ||
shell: pwsh | ||
run: | | ||
$FnDetails = az functionapp show --name ${{ inputs.functionAppName }} --resource-group ${{ inputs.resourceGroupName }} --subscription ${{ inputs.Subscription }} | ||
$Json = $FnDetails | ConvertFrom-JSON | ||
$State = $Json.state | ||
Write-Host $State | ||
if ($State -contains "stop"){ | ||
az functionapp start --name ${{ inputs.functionAppName }} --resource-group ${{ inputs.resourceGroupName }} --subscription ${{ inputs.Subscription }} | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: PostgresServer-start | ||
description: start postgres server on Monday in Test environment | ||
inputs: | ||
name: | ||
required: true | ||
subscription: | ||
required: true | ||
resource-group: | ||
required: true | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
# stop db server | ||
- name: Start Postgres DB | ||
id: start-db | ||
shell: pwsh | ||
|
||
run: | | ||
$FnDetails = az postgres flexible-server show --name ${{ inputs.name }} --resource-group ${{ inputs.resource-group }} --subscription ${{ inputs.subscription }} | ||
$Json = $FnDetails | ConvertFrom-JSON | ||
$State = $Json.state | ||
Write-Host $State | ||
if ($State -notcontains "ready"){ | ||
az postgres flexible-server start --name ${{ inputs.name }} --resource-group ${{ inputs.resource-group }} --subscription ${{ inputs.subscription }} | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: AZFunction-stop | ||
description: stop Azure function on Friday in Test environment | ||
inputs: | ||
resourceGroupName: | ||
required: true | ||
functionAppName: | ||
required: true | ||
functionName: | ||
required: true | ||
Subscription: | ||
required: true | ||
creds: | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Stop function app | ||
id: StopAzFunction | ||
shell: pwsh | ||
run: | | ||
$FnDetails = az functionapp show --name ${{ inputs.functionAppName }} --resource-group ${{ inputs.resourceGroupName }} --subscription ${{ inputs.Subscription }} | ||
$Json = $FnDetails | ConvertFrom-JSON | ||
$State = $Json.state | ||
Write-Host $State | ||
if ($State -contains "run"){ | ||
az functionapp stop --name ${{ inputs.functionAppName }} --resource-group ${{ inputs.resourceGroupName }} --subscription ${{ inputs.Subscription }} | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: PostgresServer-stop | ||
description: stop postgres server on evenings and weekends | ||
inputs: | ||
name: | ||
required: true | ||
subscription: | ||
required: true | ||
resource-group: | ||
required: true | ||
pass: | ||
required: true | ||
host: | ||
required: true | ||
creds: | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
# stop db server | ||
- name: Stop Postgres DB | ||
id: stop-db | ||
shell: pwsh | ||
run: | | ||
$FnDetails = az postgres flexible-server show --name ${{ inputs.name }} --resource-group ${{ inputs.resource-group }} --subscription ${{ inputs.subscription }} | ||
$Json = $FnDetails | ConvertFrom-JSON | ||
$State = $Json.state | ||
Write-Host $State | ||
if ($State -contains "ready"){ | ||
az postgres flexible-server stop --name ${{ inputs.name }} --resource-group ${{ inputs.resource-group }} --subscription ${{ inputs.subscription }} | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.