Skip to content

Commit 2ac8701

Browse files
authored
Merge pull request #117 from cloudgraphdev/beta
Release
2 parents ea13175 + 4f19130 commit 2ac8701

226 files changed

Lines changed: 37597 additions & 1600 deletions

File tree

Some content is hidden

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

.github/workflows/publish.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
name: publish
3+
4+
on:
5+
push:
6+
branches:
7+
- alpha
8+
- beta
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
persist-credentials: false
19+
token: ${{secrets.gh_token}}
20+
- uses: actions/setup-node@v3
21+
with:
22+
node-version: 18
23+
registry-url: "https://registry.npmjs.org"
24+
25+
- uses: pnpm/action-setup@v2.0.1
26+
name: Install pnpm
27+
id: pnpm-install
28+
with:
29+
version: 7
30+
run_install: false
31+
32+
- name: Get pnpm store directory
33+
id: pnpm-cache
34+
run: |
35+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
36+
37+
- uses: actions/cache@v3
38+
name: Setup pnpm cache
39+
with:
40+
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
41+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42+
restore-keys: |
43+
${{ runner.os }}-pnpm-store-
44+
45+
- name: Install dependencies
46+
run: pnpm install
47+
env:
48+
NPM_TOKEN: ${{secrets.npm_token}}
49+
GITHUB_TOKEN: ${{secrets.gh_token}}
50+
51+
- name: Lint
52+
run: pnpm lint
53+
env:
54+
NPM_TOKEN: ${{secrets.npm_token}}
55+
GITHUB_TOKEN: ${{secrets.gh_token}}
56+
57+
# - name: Test
58+
# run: pnpm test
59+
60+
# - name: Publish
61+
# run: pnpm release
62+
# env:
63+
# NODE_ENV: "cicd"
64+
# NPM_TOKEN: ${{secrets.npm_token}}
65+
# GITHUB_TOKEN: ${{secrets.gh_token}}
66+
# GIT_AUTHOR_NAME: "autocloud-deploy-bot"
67+
# GIT_AUTHOR_EMAIL: "no-reply@autocloud.dev"
68+
# GIT_COMMITTER_NAME: "autocloud-deploy-bot"
69+
# GIT_COMMITTER_EMAIL: "no-reply@autocloud.dev"

.npmrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
registry=https://registry.npmjs.org/
2+
@cloudgraph:registry=https://registry.npmjs.org/
3+
14
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
5+
//registry.npmjs.org/:always-auth=false
26

7+
auto-install-peers=true
8+
ignore-scripts=true

.releaserc.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
branches:
3+
- name: main
4+
- name: beta
5+
channel: beta
6+
prerelease: beta
7+
- name: alpha
8+
channel: alpha
9+
prerelease: alpha
10+
plugins:
11+
- "@semantic-release/commit-analyzer"
12+
- "@semantic-release/release-notes-generator"
13+
- - "@semantic-release/changelog"
14+
- changelogFile: CHANGELOG.md
15+
- - "@semantic-release/git"
16+
- assets:
17+
- CHANGELOG.md
18+
- package.json
19+
- - "semantic-release-pnpm"
20+
- npmPublish: true
21+
- "@semantic-release/github"
22+
verifyConditions:
23+
- "@semantic-release/changelog"
24+
- "@semantic-release/github"
25+
- "semantic-release-pnpm"
26+
prepare:
27+
- "@semantic-release/changelog"
28+
- "semantic-release-pnpm"
29+
- - "@semantic-release/git"
30+
- message: "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
31+
publish:
32+
- "@semantic-release/github"
33+
- "semantic-release-pnpm"
34+
success: false
35+
fail: false
36+
tagFormat: "${version}"

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 25 additions & 25 deletions
Large diffs are not rendered by default.

.yarn/releases/yarn-3.2.0.cjs

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,4 +782,4 @@ ${o.map(a=>`
782782
*
783783
* Copyright (c) 2015-present, Jon Schlinkert.
784784
* Released under the MIT License.
785-
*/
785+
*/

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ cg scan aws gcp azure
2929
| [CIS Amazon Web Services Foundations 1.2.0](https://www.npmjs.com/package/@cloudgraph/policy-pack-aws-cis-1.2.0) |
3030
| [CIS Amazon Web Services Foundations 1.3.0](https://www.npmjs.com/package/@cloudgraph/policy-pack-aws-cis-1.3.0) |
3131
| [CIS Amazon Web Services Foundations 1.4.0](https://www.npmjs.com/package/@cloudgraph/policy-pack-aws-cis-1.4.0) |
32-
| [CIS Google Cloud Platform Foundations 1.2.0](https://www.npmjs.com/package/@cloudgraph/policy-pack-gcp-cis-1.2.0) |
33-
| [CIS Microsoft Azure Foundations 1.3.1](https://www.npmjs.com/package/@cloudgraph/policy-pack-azure-cis-1.3.1) |
32+
| [CIS Amazon Web Services Foundations 1.5.0](https://www.npmjs.com/package/@cloudgraph/policy-pack-aws-cis-1.5.0) |
3433
| [AWS PCI Data Security Standard version 3.2.1](https://www.npmjs.com/package/@cloudgraph/policy-pack-aws-pci-dss-3.2.1) |
3534
| [NIST 800-53 Rev. 4 for Amazon Web Services](https://www.npmjs.com/package/@cloudgraph/policy-pack-aws-nist-800-53-rev4) |
35+
| [CIS Google Cloud Platform Foundations 1.2.0](https://www.npmjs.com/package/@cloudgraph/policy-pack-gcp-cis-1.2.0) |
36+
| [CIS Google Cloud Platform Foundations 1.3.0](https://www.npmjs.com/package/@cloudgraph/policy-pack-gcp-cis-1.2.0) |
37+
| [GCP PCI Data Security Standard version 3.2.1](https://www.npmjs.com/package/@cloudgraph/policy-pack-gcp-pci-dss-3.2.1) |
38+
| [NIST 800-53 Rev. 4 for Google Cloud Services](https://www.npmjs.com/package/@cloudgraph/policy-pack-gcp-nist-800-53-rev4) |
39+
| [CIS Microsoft Azure Foundations 1.3.1](https://www.npmjs.com/package/@cloudgraph/policy-pack-azure-cis-1.3.1) |
40+
| [Azure PCI Data Security Standard version 3.2.1](https://www.npmjs.com/package/@cloudgraph/policy-pack-azure-pci-dss-3.2.1) |
41+
| [NIST 800-53 Rev. 4 for Microsoft Azure Services](https://www.npmjs.com/package/@cloudgraph/policy-pack-azure-nist-800-53-rev4) |

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@
3333
},
3434
"scripts": {
3535
"release": "NODE_AUTH_TOKEN=$NPM_TOKEN NPM_CONFIG_IGNORE_SCRIPTS='true' NODE_JQ_SKIP_INSTALL_BINARY='true' multi-semantic-release --ignore-scripts",
36-
"clean": "yarn workspaces foreach -p run clean",
37-
"lint": "yarn workspaces foreach run lint",
38-
"lint:fix": "yarn workspaces foreach run lint:fix",
36+
"clean": "pnpm -r clean",
37+
"lint": "pnpm -r lint",
38+
"lint:fix": "pnpm -r lint:fix",
3939
"prebuild": "tsc -b",
40-
"build": "yarn workspaces foreach run build"
40+
"build": "pnpm -r build"
4141
},
4242
"dependencies": {
43+
"@cloudgraph/sdk": "0.21.1",
4344
"lodash": "^4.17.21"
4445
}
4546
}

0 commit comments

Comments
 (0)