Skip to content

Commit e4f3964

Browse files
v3 new release (#84)
swap to graphql
1 parent 20d2b4f commit e4f3964

File tree

1,492 files changed

+67053
-66255
lines changed

Some content is hidden

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

1,492 files changed

+67053
-66255
lines changed

.github/ISSUE_TEMPLATE/issue--bug-report---feature-request.md

-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ about: Create a report to help us improve
44
title: ''
55
labels: need-to-triage
66
assignees: ''
7-
87
---
9-
10-

.github/workflows/defaultLabels.yml

+26-26
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@ name: setting-default-labels
22

33
# Controls when the action will run.
44
on:
5-
schedule:
6-
- cron: "0 0/3 * * *"
5+
schedule:
6+
- cron: '0 0/3 * * *'
77

88
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
99
jobs:
10-
build:
11-
# The type of runner that the job will run on
12-
runs-on: ubuntu-latest
10+
build:
11+
# The type of runner that the job will run on
12+
runs-on: ubuntu-latest
1313

14-
# Steps represent a sequence of tasks that will be executed as part of the job
15-
steps:
16-
- uses: actions/stale@v3
17-
name: Setting issue as idle
18-
with:
19-
repo-token: ${{ secrets.GITHUB_TOKEN }}
20-
stale-issue-message: "This issue is idle because it has been open for 14 days with no activity."
21-
stale-issue-label: "idle"
22-
days-before-stale: 14
23-
days-before-close: -1
24-
operations-per-run: 100
25-
exempt-issue-labels: "backlog"
14+
# Steps represent a sequence of tasks that will be executed as part of the job
15+
steps:
16+
- uses: actions/stale@v3
17+
name: Setting issue as idle
18+
with:
19+
repo-token: ${{ secrets.GITHUB_TOKEN }}
20+
stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.'
21+
stale-issue-label: 'idle'
22+
days-before-stale: 14
23+
days-before-close: -1
24+
operations-per-run: 100
25+
exempt-issue-labels: 'backlog'
2626

27-
- uses: actions/stale@v3
28-
name: Setting PR as idle
29-
with:
30-
repo-token: ${{ secrets.GITHUB_TOKEN }}
31-
stale-pr-message: "This PR is idle because it has been open for 14 days with no activity."
32-
stale-pr-label: "idle"
33-
days-before-stale: 14
34-
days-before-close: -1
35-
operations-per-run: 100
27+
- uses: actions/stale@v3
28+
name: Setting PR as idle
29+
with:
30+
repo-token: ${{ secrets.GITHUB_TOKEN }}
31+
stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.'
32+
stale-pr-label: 'idle'
33+
days-before-stale: 14
34+
days-before-close: -1
35+
operations-per-run: 100
+63-63
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
1-
name: "Trigger Integration tests"
1+
name: 'Trigger Integration tests'
22
on:
3-
pull_request:
4-
branches:
5-
- main
6-
- "releases/*"
3+
pull_request:
4+
branches:
5+
- main
6+
- 'releases/*'
77
jobs:
8-
trigger-integration-tests:
9-
name: Trigger Integration tests
10-
runs-on: ubuntu-latest
11-
env:
12-
HELM_3_8_0: "v3.8.0"
13-
HELM_3_7_2: "v3.7.2"
14-
HELM_NO_V: "3.5.0"
15-
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
16-
steps:
17-
- name: Check out repository
18-
uses: actions/checkout@v2
19-
- name: npm install and build
20-
id: action-npm-build
21-
run: |
22-
echo $PR_BASE_REF
23-
if [[ $PR_BASE_REF != releases/* ]]; then
24-
npm install
25-
npm run build
26-
fi
27-
- name: Setup helm
28-
uses: ./
29-
with:
30-
version: ${{ env.HELM_3_8_0 }}
31-
- name: Validate helm 3.8.0
32-
run: |
33-
if [[ $(helm version) != *$HELM_3_8_0* ]]; then
34-
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0"
35-
echo "HELM VERSION OUTPUT: $(helm version)"
36-
exit 1
37-
else
38-
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY"
39-
fi
40-
- name: Setup helm 3.7.2
41-
uses: ./
42-
with:
43-
version: ${{ env.HELM_3_7_2 }}
44-
- name: Validate 3.7.2
45-
run: |
46-
if [[ $(helm version) != *$HELM_3_7_2* ]]; then
47-
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2"
48-
echo "HELM VERSION OUTPUT: $(helm version)"
49-
exit 1
50-
else
51-
echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY"
52-
fi
53-
- name: Setup helm 3.5.0 with no v in version
54-
uses: ./
55-
with:
56-
version: ${{ env.HELM_NO_V }}
57-
- name: Validate 3.5.0 without v in version
58-
run: |
59-
if [[ $(helm version) != *$HELM_NO_V* ]]; then
60-
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0"
61-
echo "HELM VERSION OUTPUT: $(helm version)"
62-
exit 1
63-
else
64-
echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY"
65-
fi
8+
trigger-integration-tests:
9+
name: Trigger Integration tests
10+
runs-on: ubuntu-latest
11+
env:
12+
HELM_3_8_0: 'v3.8.0'
13+
HELM_3_7_2: 'v3.7.2'
14+
HELM_NO_V: '3.5.0'
15+
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
16+
steps:
17+
- name: Check out repository
18+
uses: actions/checkout@v2
19+
- name: npm install and build
20+
id: action-npm-build
21+
run: |
22+
echo $PR_BASE_REF
23+
if [[ $PR_BASE_REF != releases/* ]]; then
24+
npm install
25+
npm run build
26+
fi
27+
- name: Setup helm
28+
uses: ./
29+
with:
30+
version: ${{ env.HELM_3_8_0 }}
31+
- name: Validate helm 3.8.0
32+
run: |
33+
if [[ $(helm version) != *$HELM_3_8_0* ]]; then
34+
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0"
35+
echo "HELM VERSION OUTPUT: $(helm version)"
36+
exit 1
37+
else
38+
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY"
39+
fi
40+
- name: Setup helm 3.7.2
41+
uses: ./
42+
with:
43+
version: ${{ env.HELM_3_7_2 }}
44+
- name: Validate 3.7.2
45+
run: |
46+
if [[ $(helm version) != *$HELM_3_7_2* ]]; then
47+
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2"
48+
echo "HELM VERSION OUTPUT: $(helm version)"
49+
exit 1
50+
else
51+
echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY"
52+
fi
53+
- name: Setup helm 3.5.0 with no v in version
54+
uses: ./
55+
with:
56+
version: ${{ env.HELM_NO_V }}
57+
- name: Validate 3.5.0 without v in version
58+
run: |
59+
if [[ $(helm version) != *$HELM_NO_V* ]]; then
60+
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0"
61+
echo "HELM VERSION OUTPUT: $(helm version)"
62+
exit 1
63+
else
64+
echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY"
65+
fi

.github/workflows/prettify-code.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Run prettify'
2+
on:
3+
pull_request:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
prettier:
9+
name: Prettier Check
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v2
14+
15+
- name: Enforce Prettier
16+
uses: actionsx/prettier@v2
17+
with:
18+
args: --check .

.github/workflows/release-pr.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Create release PR
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
release:
7-
description: "Define release version (ex: v1, v2, v3)"
8-
required: true
4+
workflow_dispatch:
5+
inputs:
6+
release:
7+
description: 'Define release version (ex: v1, v2, v3)'
8+
required: true
99

1010
jobs:
11-
release-pr:
12-
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main
13-
with:
14-
release: ${{ github.event.inputs.release }}
11+
release-pr:
12+
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main
13+
with:
14+
release: ${{ github.event.inputs.release }}

.github/workflows/tag-and-draft.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Tag and create release draft
22

33
on:
4-
push:
5-
branches:
6-
- releases/*
4+
push:
5+
branches:
6+
- releases/*
77

88
jobs:
9-
tag-and-release:
10-
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main
9+
tag-and-release:
10+
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main

.github/workflows/unit-tests.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: "Run unit tests."
1+
name: 'Run unit tests.'
22
on: # rebuild any PRs and main branch changes
3-
pull_request:
4-
branches:
5-
- main
6-
- "releases/*"
7-
push:
8-
branches:
9-
- main
10-
- "releases/*"
3+
pull_request:
4+
branches:
5+
- main
6+
- 'releases/*'
7+
push:
8+
branches:
9+
- main
10+
- 'releases/*'
1111

1212
jobs:
13-
build: # make sure build/ci works properly
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v1
13+
build: # make sure build/ci works properly
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v1
1717

18-
- name: Run L0 tests.
19-
run: |
20-
npm install
21-
npm test
18+
- name: Run L0 tests.
19+
run: |
20+
npm install
21+
npm test

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# dependencies
2+
/node_modules
3+
coverage
4+
/lib

.prettierrc.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"trailingComma": "none",
3+
"bracketSpacing": false,
4+
"semi": false,
5+
"tabWidth": 3,
6+
"singleQuote": true,
7+
"printWidth": 80
8+
}

CODE_OF_CONDUCT.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Microsoft Open Source Code of Conduct
2-
3-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4-
5-
Resources:
6-
7-
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8-
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9-
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
1+
# Microsoft Open Source Code of Conduct
2+
3+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4+
5+
Resources:
6+
7+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9+
- Contact [[email protected]](mailto:[email protected]) with questions or concerns

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
This project welcomes contributions and suggestions. Most contributions require you to agree to a
3+
This project welcomes contributions and suggestions. Most contributions require you to agree to a
44
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
55
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
66

0 commit comments

Comments
 (0)