-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cc64e5c
Showing
35 changed files
with
11,543 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/target | ||
.vscode | ||
.idea | ||
/deployments/Pulumi.*.yaml | ||
/deployments/tailcall | ||
!/target/release/tailcall-launchpad | ||
/deployments/node_modules | ||
/deployments/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Check Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: [main] | ||
types: [opened, reopened, synchronize, labeled] | ||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check: | ||
name: Check rust code for syntax errors | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: stable | ||
components: clippy, rustfmt | ||
- name: Check Code | ||
run: cargo check --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Deploy System | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
Deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22.3.0" | ||
|
||
- name: Install Node Dependencies | ||
run: npm i | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
|
||
- uses: pulumi/actions@v5 | ||
with: | ||
command: up | ||
stack-name: dev | ||
config-map: "{ | ||
tailcall-launchpad:PULUMI_ACCESS_TOKEN: { value: ${{ secrets.PULUMI_ACCESS_TOKEN }}, secret: true }, | ||
tailcall-launchpad:AWS_ACCESS_KEY_ID: { value: ${{ secrets.AWS_ACCESS_KEY_ID }}, secret: true }, | ||
tailcall-launchpad:AWS_SECRET_ACCESS_KEY: { value: ${{ secrets.AWS_SECRET_ACCESS_KEY }}, secret: true }, | ||
tailcall-launchpad:AWS_REGION: { value: ${{ secrets.AWS_REGION }}, secret: true }, | ||
}" | ||
env: | ||
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Check Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: [main] | ||
types: [opened, reopened, synchronize, labeled] | ||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
name: Run Formatter and Lint Check | ||
runs-on: ubuntu-latest | ||
env: | ||
LINT_MODE: "check" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v3 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.11.0" | ||
- name: Install Prettier | ||
run: npm install --global prettier | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: stable | ||
components: clippy, rustfmt | ||
- name: Run Lint Script | ||
run: ./lint.sh --mode=$LINT_MODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/target | ||
.env | ||
.vscode | ||
.idea | ||
/deployments/Pulumi.*.yaml | ||
/deployments/tailcall | ||
/bin/ | ||
/node_modules/ | ||
Pulumi.*.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": false, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"bracketSpacing": false, | ||
"overrides": [ | ||
{ | ||
"files": ["devcontainer.json"], | ||
"options": { | ||
"trailingComma": "none" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.