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

Release beta to master #33

Merged
merged 49 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7d35840
feat(package.json): read name, description and manifest version from …
pgrzy-golem Sep 8, 2023
9b75277
refactor: read version from package.json and used source and out dirs
grisha87 Sep 7, 2023
e9d51b1
refactor: be more verbose about actions and look for the last index o…
grisha87 Sep 7, 2023
bc6cba1
chore: fixed formatting and introduced a pre-commit format check
grisha87 Sep 8, 2023
05c17e4
fix(manifest sign): --private-key option is required and validated
pgrzy-golem Sep 8, 2023
e4c1528
fix(manifest verify): certificate file and signature file presence is…
pgrzy-golem Sep 8, 2023
cfad344
Merge pull request #13 from golemfactory/review-remarks
grisha87 Sep 8, 2023
feadc8d
Merge pull request #17 from golemfactory/bugfix/JST-386/Private-key-o…
grisha87 Sep 8, 2023
9746d0c
Merge pull request #18 from golemfactory/bugfix/JST-387/Manifest-veri…
grisha87 Sep 8, 2023
a6ee81f
Merge pull request #16 from golemfactory/feature/JST-385/Read-values-…
grisha87 Sep 8, 2023
9e66dcf
Merge branch 'master' into beta
grisha87 Sep 8, 2023
47f193c
build: configured release workflow on dry-run for testing
grisha87 Sep 8, 2023
7152d35
build: disabled dry-run and added binary usage check to the regular c…
grisha87 Sep 8, 2023
e2454e7
build: configured publish access to public to address release errors
grisha87 Sep 8, 2023
3fd834b
refactor: renamed golem-cli to golem-sdk in main.ts
grisha87 Sep 8, 2023
a20ef07
chore(deps): removed dependency on @golem-sdk/golem-js from the CLI
grisha87 Sep 8, 2023
176636e
feat(manifest sign): better passphrase handling in manifest sign command
pgrzy-golem Sep 11, 2023
cea82f2
feat(manifest sign): better passphrase handling in manifest sign command
pgrzy-golem Sep 11, 2023
c19f60c
Merge pull request #19 from golemfactory/pair-programming-patches
pgrzy-golem Sep 11, 2023
c133dd6
feat(manifest verify): certificate is now in pem format
pgrzy-golem Sep 11, 2023
157f889
Merge pull request #20 from golemfactory/feature/JST-396/Better-passp…
pgrzy-golem Sep 11, 2023
7b333a3
chore(deps-dev): bump eslint from 8.48.0 to 8.49.0
dependabot[bot] Sep 11, 2023
2ba5126
chore(deps-dev): bump @types/lodash from 4.14.197 to 4.14.198
dependabot[bot] Sep 11, 2023
df882fd
chore(deps-dev): bump prettier from 3.0.2 to 3.0.3
dependabot[bot] Sep 11, 2023
7123d21
Merge pull request #21 from golemfactory/feature/JST-395
pgrzy-golem Sep 12, 2023
8bc56c6
docs: updated README.md according to best practices
pgrzy-golem Sep 12, 2023
da285f7
chore(dependabot): change target branch from master to beta
pgrzy-golem Sep 12, 2023
04fd47b
docs: updated README.md according to best practices - PR requested fixes
pgrzy-golem Sep 13, 2023
f19bccb
docs: updated README.md according to best practices - PR requested fixes
pgrzy-golem Sep 13, 2023
61040be
docs: updated README.md according to best practices - prettier fixes
pgrzy-golem Sep 13, 2023
975e838
Update README.md
jalas167 Sep 13, 2023
96ac3d4
Update README.md
jalas167 Sep 13, 2023
e6412bb
Bugfix/jst 415 (#29)
pgrzy-golem Sep 14, 2023
7a0c837
Update README.md
jalas167 Sep 14, 2023
c3b7416
Update README.md
jalas167 Sep 14, 2023
c6dcd4d
docs: updated README.md according to best practices - changed license
pgrzy-golem Sep 15, 2023
52033a5
docs: updated README.md according to best practices - fixed formatting
pgrzy-golem Sep 15, 2023
3316362
docs: mini fix to the readme
cryptobench Sep 18, 2023
adddfc0
fix: error handling when image is not found by tag (#30)
pgrzy-golem Sep 18, 2023
d55b824
Merge pull request #27 from golemfactory/feature/JST-393/JST-394
pgrzy-golem Sep 18, 2023
b0edd79
chore(deps-dev): bump @typescript-eslint/parser from 6.4.1 to 6.7.0
dependabot[bot] Sep 18, 2023
9e0cd48
feat(new app command): implemented new app creation command from temp…
pgrzy-golem Sep 19, 2023
b6f86c1
feat(new app command): implemented new app creation command from temp…
pgrzy-golem Sep 19, 2023
3d2d0e0
Merge pull request #32 from golemfactory/feature/JST-424/New-command
pgrzy-golem Sep 19, 2023
30df1e1
Merge pull request #31 from golemfactory/dependabot/npm_and_yarn/type…
pgrzy-golem Sep 21, 2023
3474838
Merge pull request #28 from golemfactory/fix-dependabot
pgrzy-golem Sep 21, 2023
d250f49
Merge pull request #26 from golemfactory/dependabot/npm_and_yarn/pret…
pgrzy-golem Sep 21, 2023
c4d84d8
Merge pull request #22 from golemfactory/dependabot/npm_and_yarn/esli…
grisha87 Sep 21, 2023
02b9bce
Merge pull request #25 from golemfactory/dependabot/npm_and_yarn/type…
grisha87 Sep 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
target-branch: "beta"
schedule:
interval: "weekly"
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ jobs:
npm run format:check
npm run lint
npm run build
npm ln
golem-sdk --version
82 changes: 82 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Release Pipeline

on:
push:
branches:
# Regular release channels
- master
- next
- beta
- alpha
# Support, hotfix branches like: 1.0.x or 1.x
- '([0-9]+)(\.([0-9]+))?\.x'

# Allows triggering the workflow manually
workflow_dispatch:

# We're going to interact with GH from the pipelines, so we need to get some permissions
permissions:
contents: read # for checkout

jobs:
regular-checks:
name: Build and unit-test on supported platforms and NodeJS versions
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- name: Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Perform regular checks
run: |
npm install
npm run format:check
npm run lint
npm run build
npm ln
golem-sdk --version

release:
name: Release to NPM and GitHub
needs: regular-checks
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup NodeJS
uses: actions/setup-node@v3
with:
# Semantic release requires this as bare minimum
node-version: 18

- name: Install dependencies
run: npm install

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures

- name: Build the SDK for release
run: npm run build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ dist/
.vscode/
.DS_Store

manifest.json
manifest.json
*.sig

data/project-templates/**/package-lock.json
data/project-templates/**/node_modules
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.*
tsconfig.json
node_modules/
data/**/package-lock.json
data/**/node_modules/
src/
Loading