Skip to content

Commit

Permalink
Merge branch 'main' into openai
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaiBer authored Mar 18, 2024
2 parents 0d89ace + 67e2358 commit 4767791
Show file tree
Hide file tree
Showing 19 changed files with 426 additions and 104 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,27 @@ jobs:
- name: Test
run: wing test
working-directory: checks
canary-eventbridge:
name: Test eventbridge
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: eventbridge
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: eventbridge
- name: Test
run: wing test
working-directory: eventbridge
canary-fifoqueue:
name: Test fifoqueue
runs-on: ubuntu-latest
Expand Down Expand Up @@ -109,6 +130,27 @@ jobs:
- name: Test
run: wing test
working-directory: github
canary-lock:
name: Test lock
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: lock
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: lock
- name: Test
run: wing test
working-directory: lock
canary-ngrok:
name: Test ngrok
runs-on: ubuntu-latest
Expand Down Expand Up @@ -214,6 +256,27 @@ jobs:
- name: Test
run: wing test
working-directory: sagemaker
canary-simtools:
name: Test simtools
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: simtools
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: simtools
- name: Test
run: wing test
working-directory: simtools
canary-vite:
name: Test vite
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/eventbridge-pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
paths:
- eventbridge/**
jobs:
build:
build-eventbridge:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
Expand Down
21 changes: 19 additions & 2 deletions .github/workflows/eventbridge-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ on:
- main
paths:
- eventbridge/**
- "!eventbridge/package-lock.json"
jobs:
build:
build-eventbridge:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -16,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
Expand All @@ -29,9 +30,25 @@ jobs:
- name: Pack
run: wing pack
working-directory: eventbridge
- name: Get package version
run: echo WINGLIB_VERSION=$(node -p "require('./package.json').version") >>
"$GITHUB_ENV"
working-directory: eventbridge
- name: Publish
run: npm publish --access=public --registry https://registry.npmjs.org --tag
latest *.tgz
working-directory: eventbridge
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Tag commit
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
tag: eventbridge-v${{ env.WINGLIB_VERSION }}
- name: GitHub release
uses: softprops/action-gh-release@v1
with:
name: eventbridge v${{ env.WINGLIB_VERSION }}
tag_name: eventbridge-v${{ env.WINGLIB_VERSION }}
files: "*.tgz"
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/lock-pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
paths:
- lock/**
jobs:
build:
build-lock:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
Expand Down
21 changes: 19 additions & 2 deletions .github/workflows/lock-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ on:
- main
paths:
- lock/**
- "!lock/package-lock.json"
jobs:
build:
build-lock:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -16,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
Expand All @@ -29,9 +30,25 @@ jobs:
- name: Pack
run: wing pack
working-directory: lock
- name: Get package version
run: echo WINGLIB_VERSION=$(node -p "require('./package.json').version") >>
"$GITHUB_ENV"
working-directory: lock
- name: Publish
run: npm publish --access=public --registry https://registry.npmjs.org --tag
latest *.tgz
working-directory: lock
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Tag commit
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
tag: lock-v${{ env.WINGLIB_VERSION }}
- name: GitHub release
uses: softprops/action-gh-release@v1
with:
name: lock v${{ env.WINGLIB_VERSION }}
tag_name: lock-v${{ env.WINGLIB_VERSION }}
files: "*.tgz"
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/simtools-pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: simtools-pull
on:
pull_request:
paths:
- simtools/**
jobs:
build-simtools:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: simtools
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: simtools
- name: Test
run: wing test
working-directory: simtools
- name: Pack
run: wing pack
working-directory: simtools
54 changes: 54 additions & 0 deletions .github/workflows/simtools-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: simtools-release
on:
push:
branches:
- main
paths:
- simtools/**
- "!simtools/package-lock.json"
jobs:
build-simtools:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: simtools
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: simtools
- name: Test
run: wing test
working-directory: simtools
- name: Pack
run: wing pack
working-directory: simtools
- name: Get package version
run: echo WINGLIB_VERSION=$(node -p "require('./package.json').version") >>
"$GITHUB_ENV"
working-directory: simtools
- name: Publish
run: npm publish --access=public --registry https://registry.npmjs.org --tag
latest *.tgz
working-directory: simtools
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Tag commit
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
tag: simtools-v${{ env.WINGLIB_VERSION }}
- name: GitHub release
uses: softprops/action-gh-release@v1
with:
name: simtools v${{ env.WINGLIB_VERSION }}
tag_name: simtools-v${{ env.WINGLIB_VERSION }}
files: "*.tgz"
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,18 @@ pull_request_rules:
- -check-failure=build-containers
- -check-pending=build-containers
- -check-stale=build-containers
- -check-failure=build-eventbridge
- -check-pending=build-eventbridge
- -check-stale=build-eventbridge
- -check-failure=build-fifoqueue
- -check-pending=build-fifoqueue
- -check-stale=build-fifoqueue
- -check-failure=build-github
- -check-pending=build-github
- -check-stale=build-github
- -check-failure=build-lock
- -check-pending=build-lock
- -check-stale=build-lock
- -check-failure=build-ngrok
- -check-pending=build-ngrok
- -check-stale=build-ngrok
Expand All @@ -65,6 +71,9 @@ pull_request_rules:
- -check-failure=build-sagemaker
- -check-pending=build-sagemaker
- -check-stale=build-sagemaker
- -check-failure=build-simtools
- -check-pending=build-simtools
- -check-stale=build-simtools
- -check-failure=build-vite
- -check-pending=build-vite
- -check-stale=build-vite
Expand Down Expand Up @@ -98,12 +107,18 @@ pull_request_rules:
- -check-failure=build-containers
- -check-pending=build-containers
- -check-stale=build-containers
- -check-failure=build-eventbridge
- -check-pending=build-eventbridge
- -check-stale=build-eventbridge
- -check-failure=build-fifoqueue
- -check-pending=build-fifoqueue
- -check-stale=build-fifoqueue
- -check-failure=build-github
- -check-pending=build-github
- -check-stale=build-github
- -check-failure=build-lock
- -check-pending=build-lock
- -check-stale=build-lock
- -check-failure=build-ngrok
- -check-pending=build-ngrok
- -check-stale=build-ngrok
Expand All @@ -119,6 +134,9 @@ pull_request_rules:
- -check-failure=build-sagemaker
- -check-pending=build-sagemaker
- -check-stale=build-sagemaker
- -check-failure=build-simtools
- -check-pending=build-simtools
- -check-stale=build-simtools
- -check-failure=build-vite
- -check-pending=build-vite
- -check-stale=build-vite
Expand Down
4 changes: 2 additions & 2 deletions containers/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion containers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/containers",
"version": "0.0.22",
"version": "0.0.23",
"description": "Container support for Wing",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 4767791

Please sign in to comment.