Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
JadenSimon committed Sep 7, 2024
1 parent 61b4976 commit 2c14a51
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pipeline-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
SYNAPSE_FORCE_REMOTE_PROJECTS: yes
SYNAPSE_ENV: ${{ fromJSON(inputs.step-config).environment || 'local' }}
SYNAPSE_PIPELINE_DEPS: ${{ fromJSON(inputs.pipeline-context).deps }}
CROSSREPO_GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

steps:
- uses: actions/checkout@v4
Expand All @@ -47,7 +48,7 @@ jobs:

- uses: Cohesible/get-credentials-action@09824e319b5811b924cfbdd208129f2681127ee4

- run: curl -fsSL "https://synap.sh/install?hash=7d3c23ac624c0287c45c212f69232064b4058a2ad7488b945e1523210e84cd52" | bash
- run: curl -fsSL "https://synap.sh/install?hash=799d3f38e6bff5906ee4196f67dcacf88b62f05a53ed4f151103a1080a972f9e" | bash
if: inputs.runs-on != 'windows-2022'
- run: irm https://synap.sh/install.ps1 | iex
if: inputs.runs-on == 'windows-2022'
Expand Down Expand Up @@ -76,6 +77,10 @@ jobs:
run: synapse publish --remote --ref ${{ fromJSON(inputs.pipeline-context).stepKeyHash }}
if: fromJSON(inputs.step-config).publish

- name: Pipeline Bundle
run: synapse deploy src/cli/install.ts && synapse bundle --sea --downloadOnly --pipelined ${{ fromJSON(inputs.pipeline-context).stepKeyHash }}
if: fromJSON(inputs.step-config).inputs.pipelined

- name: Clean-up
run: synapse destroy || true
if: always() && fromJSON(inputs.step-config).inputs.destroyAfter
Expand Down
1 change: 0 additions & 1 deletion integrations/aws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"testPackage": {
"name": "spr:#conformance",
"commands": [
"false",
"synapse deploy --target aws",
"synapse test --destroy-after"
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"target": "local"
},
"binaryDependencies": {
"node": "https://github.com/Cohesible/node.git",
"terraform": "https://github.com/Cohesible/terraform.git"
"node": "https://github.com/Cohesible/synapse-node-private.git",
"terraform": "https://github.com/Cohesible/synapse-terraform-private.git"
},
"devTools": {
"zig": "0.13.0"
Expand Down
10 changes: 10 additions & 0 deletions pipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"steps": {
"internal-bundle": {
"dependsOn": ["synapse", "synapse-aws", "synapse-local", "synapse-websites", "synapse-react"],
"inputs": {
"pipelined": true
}
}
}
}

0 comments on commit 2c14a51

Please sign in to comment.