Skip to content

Commit 7b16411

Browse files
committed
Merge branch 'develop'
2 parents 904ed6e + 20a6afa commit 7b16411

File tree

120 files changed

+8711
-6122
lines changed

Some content is hidden

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

120 files changed

+8711
-6122
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: Bug report
33
about: Create a report to help us improve
44
title: 'bug: '
5-
labels: triage
65
assignees: ''
76

87
---

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: Feature request
33
about: Suggest an idea for this project
44
title: 'feat: '
5-
labels: triage
65
assignees: ''
76

87
---

.github/pull_request_template.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
Fixes # (issue)
2+
13
## Description
24

35
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
46

5-
Fixes # (issue)
6-
77
### Type of Change
88

99
Only keep lines below that describe this change, then delete the rest.
@@ -19,23 +19,23 @@ Only keep lines below that describe this change, then delete the rest.
1919

2020
Please provide screenshots / animations for any change that involves the UI. Please provide animations to demonstrate user interaction / behavior changes
2121

22-
## Testing on your branch
23-
24-
Please describe how to test and/or verify your changes. Provide instructions so we can reproduce. Please also provide relevant test data as necessary. These instructions will be used for QA testing below.
25-
26-
- [ ] Test A
27-
- [ ] Test B
28-
2922
## Checklist
3023

3124
- [ ] I have performed a self-review of my own code
3225
- [ ] I have reviewed the title/description of this PR which will be used as the squashed PR commit message
3326
- [ ] I have commented my code, particularly in hard-to-understand areas
3427
- [ ] I have added tests that prove my fix is effective or that my feature works
3528

29+
## How to test
30+
31+
Please describe how to test and/or verify your changes. Provide instructions so we can reproduce. Please also provide relevant test data as necessary. These instructions will be used for QA testing below.
32+
33+
- [ ] Test A
34+
- [ ] Test B
35+
3636
## qa.languageforge.org testing
3737

38-
Reviewers: add/replace your name below and check the box to sign-off/attest the feature works as expected on qa.languageforge.org
38+
Testers: Check the box and put in a date/time to sign-off/attest the feature works as expected on qa.languageforge.org
3939

40-
- [ ] Reviewer1 (YYYY-MM-DD HH:MM)
41-
- [ ] Reviewer2 (YYYY-MM-DD HH:MM)
40+
- [ ] Tester1 (YYYY-MM-DD HH:MM)
41+
- [ ] Tester2 (YYYY-MM-DD HH:MM)

.github/workflows/integrate-and-deploy.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,21 @@ jobs:
6666
-
6767
name: Build legacy app
6868
run: |
69-
docker-compose build --build-arg ENVIRONMENT=production --build-arg BUILD_VERSION=${{ steps.image.outputs.TAG }} app
69+
docker-compose build --build-arg ENVIRONMENT=production --build-arg BUILD_VERSION=${{ steps.image.outputs.TAG_APP }} app
7070
docker-compose run --rm app cat /var/www/html/build-version.txt /var/www/html/version.php
7171
-
7272
name: Build "next" images
7373
run: make build-next
7474
-
7575
name: Unit Tests
7676
run: make unit-tests-ci
77-
-
78-
name: E2E Tests
79-
working-directory: .
80-
run: |
81-
docker-compose -f docker/docker-compose.yml up -d app-for-playwright
82-
npx playwright install
83-
npx playwright test
77+
# -
78+
# name: E2E Tests
79+
# working-directory: .
80+
# run: |
81+
# docker-compose -f docker/docker-compose.yml up -d app-for-playwright
82+
# npx playwright install chromium
83+
# npx playwright test
8484
-
8585
name: Log in to Docker Hub
8686
uses: docker/login-action@v1

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919

2020
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecrets
2121
secrets:
22-
kube-context: ${{ secrets.LTOPS_K8S_PRODUCTION_CONTEXT }}
22+
kube-context: ${{ secrets.K8S_PRODUCTION_CONTEXT }}
2323
image-repo-username: ${{ secrets.DOCKERHUB_USERNAME }}
2424
image-repo-password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

.github/workflows/pull-request.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,33 @@ jobs:
4747
run: |
4848
npm ci
4949
docker-compose build app
50-
-
51-
name: Playwright E2E Tests
50+
- name: Get installed Playwright version
51+
id: playwright-version
52+
# https://github.com/microsoft/playwright/issues/7249#issuecomment-1201476980
53+
run: echo -n "::set-output name=version::$(npm ls @playwright/test --json | jq --raw-output '.dependencies["@playwright/test"].version')"
54+
55+
# https://github.com/microsoft/playwright/issues/7249#issuecomment-1154603556
56+
- name: Cache playwright browsers
57+
uses: actions/cache@v3
58+
id: playwright-cache
59+
with:
60+
path: '~/.cache/ms-playwright'
61+
# Make each playwright version use its own cache in case it uses different browser versions
62+
# Cache entries are deleted if not accessed for 7 days
63+
# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy
64+
key: 'playwright-${{ steps.playwright-version.outputs.version }}'
65+
66+
- name: Playwright E2E Tests
5267
working-directory: .
5368
# see https://playwright.dev/docs/ci#github-actions
54-
run: |
55-
docker-compose -f docker/docker-compose.yml up -d app-for-playwright
56-
npx playwright install
57-
npx playwright test
69+
run: npm run make playwright-tests
70+
71+
- name: Upload test results
72+
if: always()
73+
uses: actions/upload-artifact@v2
74+
with:
75+
name: test-results
76+
path: test-results
5877

5978
# protractor-tests:
6079
# runs-on: ubuntu-latest

.github/workflows/set-backlog-fields.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ jobs:
6161
}
6262
}
6363
}' -f org=$ORGANIZATION > project_data.json
64-
64+
6565
echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV
6666
echo 'FIELD_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "ProductOwner") | .id' project_data.json) >> $GITHUB_ENV
67-
echo 'TRIAGE_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "ProductOwner") | .settings | fromjson.options[] | select(.name=="Triage") | .id' project_data.json) >> $GITHUB_ENV
68-
67+
echo 'INCOMING_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "ProductOwner") | .settings | fromjson.options[] | select(.name=="Incoming") | .id' project_data.json) >> $GITHUB_ENV
68+
6969
- name: Add issue to project
7070
if: env.IN_PROJECT == 0
7171
env:
@@ -105,5 +105,5 @@ jobs:
105105
id
106106
}
107107
}
108-
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f field=$FIELD_ID -f field_value=${{ env.TRIAGE_ID }}
109-
108+
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f field=$FIELD_ID -f field_value=${{ env.INCOMING_ID }}
109+

.github/workflows/staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717

1818
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecrets
1919
secrets:
20-
kube-context: ${{ secrets.LTOPS_K8S_STAGING_CONTEXT }}
20+
kube-context: ${{ secrets.K8S_STAGING_CONTEXT }}
2121
image-repo-username: ${{ secrets.DOCKERHUB_USERNAME }}
2222
image-repo-password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

.vscode/extensions.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
3-
// for the documentation about the extensions.json format
4-
"recommendations": [
5-
"amodio.tsl-problem-matcher",
6-
"msjsdiag.debugger-for-chrome",
7-
"ms-vscode-remote.remote-containers",
8-
"editorconfig.editorconfig",
9-
"dbaeumer.vscode-eslint",
10-
"xdebug.php-pack",
11-
"svelte.svelte-vscode",
12-
"bradlc.vscode-tailwindcss"
13-
]
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"amodio.tsl-problem-matcher",
6+
"msjsdiag.debugger-for-chrome",
7+
"ms-vscode-remote.remote-containers",
8+
"editorconfig.editorconfig",
9+
"dbaeumer.vscode-eslint",
10+
"xdebug.php-pack",
11+
"svelte.svelte-vscode",
12+
"bradlc.vscode-tailwindcss",
13+
"ms-playwright.playwright"
14+
]
1415
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ We're glad you're here! Read our [Contributing Guide](CONTRIBUTING.md) for how
2323

2424
## Developers ##
2525

26-
Please see our [Developer Guide](docs/DEVELOPER.md) for developer best practices and environment setup
26+
Please see our [Developer Guide](docs/DEVELOPER.md) for developer best practices and environment setup.
2727

2828
For production deployment and release instructions, there is a separate [Production Deployment and Release Guide](docs/RELEASE.md).

0 commit comments

Comments
 (0)