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

Bug/fix bug #12

Open
wants to merge 223 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
4d88e6e
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
bc1f1d8
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
15aadfc
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
768dc95
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
7f91c9d
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
e8ae50e
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
c2a060f
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
d08b093
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
1373308
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
905a4da
removed github action
stefanmcshane Dec 20, 2022
6a1530a
Merge branch 'master' of github.com:porter-dev/js-test-app
stefanmcshane Dec 20, 2022
e9cb31e
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
9a3df2d
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 20, 2022
a441603
Create porter_preview_env.yml file
porter-staging[bot] Dec 21, 2022
d46084e
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 21, 2022
23d2bec
removing gha for deployments
stefanmcshane Dec 21, 2022
eeef444
Merge pull request #3 from porter-dev/remove-preview
stefanmcshane Dec 21, 2022
8447c95
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 21, 2022
dd01e91
Delete porter_preview_env.yml file
porter-staging[bot] Dec 21, 2022
fac94dd
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 21, 2022
2452ad1
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 21, 2022
32925d1
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 21, 2022
6792524
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
10cbf01
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
a33a4b8
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
262547a
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
7a74187
overide branch name
stefanmcshane Dec 22, 2022
df20d40
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
4787a3e
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
210c6f4
Delete porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
92dbf7d
Create porter_preview_env.yml file
porter-dev-development[bot] Dec 22, 2022
491f8fa
Create porter_preview_env.yml file
porter-staging[bot] Jan 18, 2023
cf84086
Create porter_preview_env.yml file
porter-staging[bot] Jan 24, 2023
e7499f3
Create porter_nearly_or_to_production.yml file
porter-staging[bot] Feb 7, 2023
05b11b9
Update porter_nearly_or_to_production.yml
portersupport Feb 7, 2023
b492594
Delete porter_coal_station_origin.yml
portersupport Feb 7, 2023
ede5eaa
Delete porter_cut_radio_recognize_production.yml
portersupport Feb 7, 2023
5d7ee2b
Delete porter_heroku_tetr.yml
portersupport Feb 7, 2023
afa4d74
Update porter_nearly_or_to_production.yml
portersupport Feb 7, 2023
8dc153f
Create porter_acidic_obnoxious_bird.yml file
porter-deployment-app[bot] Apr 20, 2023
81f763f
Create porter_nervous_broad_appointment.yml file
porter-deployment-app[bot] Apr 21, 2023
f2f40c5
Delete porter_nervous_broad_appointment.yml file
porter-deployment-app[bot] Apr 21, 2023
a9529cb
Create porter_attractive_repulsive_hydrogen.yml file
porter-deployment-app[bot] Apr 21, 2023
eb8dacc
Create porter_stack_one-of-these-show.yml file
porter-deployment-app[bot] May 3, 2023
4f69e52
Merge pull request #5 from porter-dev/porter-stack
jusrhee May 3, 2023
efa2945
Delete .github/workflows directory
jusrhee May 8, 2023
9ce20a9
Create porter_stack_test-toggle-nested.yml file
porter-deployment-app[bot] May 8, 2023
ccbcde3
Merge pull request #13 from porter-dev/porter-stack
jusrhee May 8, 2023
e4dc333
Create porter_stack_github-test.yml file
porter-deployment-app[bot] May 8, 2023
e61f9ef
Merge pull request #14 from porter-dev/porter-stack
jusrhee May 8, 2023
154fd74
Update index.js
jusrhee May 11, 2023
161d539
Create porter_stack_hello-world.yml file
porter-deployment-app[bot] May 17, 2023
6c37f2e
Merge pull request #19 from porter-dev/porter-stack
sunguroku May 17, 2023
d329bc7
Update porter.yaml
jusrhee May 30, 2023
c267a74
Create porter_stack_ok-to-test.yml file
porter-deployment-app[bot] May 30, 2023
f522fb0
Merge pull request #24 from porter-dev/porter-stack
jusrhee May 30, 2023
d339a85
Create porter_stack_pre-deploy-check.yml file
porter-deployment-app[bot] Jun 1, 2023
e33e832
Merge pull request #29 from porter-dev/porter-stack
jusrhee Jun 1, 2023
a23f49b
Update porter.yaml
jusrhee Jun 1, 2023
35ac2e8
Create porter_stack_testinggke.yml file
porter-deployment-app[bot] Jun 1, 2023
1dcecc4
Merge pull request #30 from porter-dev/porter-stack
portersupport Jun 1, 2023
b377c93
Create porter_stack_hanging-in.yml file
porter-deployment-app[bot] Jun 2, 2023
b93f1e4
Merge pull request #31 from porter-dev/porter-stack
jusrhee Jun 2, 2023
117fbc2
Create porter_stack_cp3.yml file
porter-deployment-app[bot] Jun 7, 2023
7c302df
Merge pull request #38 from porter-dev/porter-stack
jusrhee Jun 7, 2023
37d8a64
Update .env
jusrhee Jun 7, 2023
ccc47c9
Create porter_stack_man-on-the-moon.yml file
porter-deployment-app[bot] Jun 8, 2023
411fb03
Merge pull request #39 from porter-dev/porter-stack
jusrhee Jun 8, 2023
5308322
Create porter_stack_digital-footprint.yml file
porter-deployment-app[bot] Jun 8, 2023
8e959dc
Merge pull request #40 from porter-dev/porter-stack
jusrhee Jun 8, 2023
c09e907
Create porter_stack_testing-it-for-science.yml file
porter-deployment-app[bot] Jun 21, 2023
7d46d74
Merge pull request #42 from porter-dev/porter-stack
jusrhee Jun 21, 2023
35e7c69
Create porter_deploy_my_app.yml file
porter-deployment-app[bot] Jul 4, 2023
73ab8ce
Create porter_stack_my-academic-sophon-channel.yml file
porter-deployment-app[bot] Jul 4, 2023
785de94
Merge pull request #60 from porter-dev/porter-stack
jusrhee Jul 4, 2023
81e19b7
Create porter_stack_tom-cruise.yml file
porter-deployment-app[bot] Jul 6, 2023
bd716fa
Merge pull request #61 from porter-dev/porter-stack
jusrhee Jul 6, 2023
b857b4d
Create porter_stack_tester.yml file
porter-deployment-app[bot] Jul 6, 2023
288a58c
Merge pull request #62 from porter-dev/porter-stack
sdess09 Jul 6, 2023
56841e7
Create porter_stack_a-porter-classic.yml file
porter-deployment-app[bot] Jul 6, 2023
5213e41
Merge pull request #64 from porter-dev/porter-stack
jusrhee Jul 6, 2023
276098b
Create porter_stack_chicken.yml file
porter-deployment-app[bot] Jul 6, 2023
3cdace6
Merge pull request #66 from porter-dev/porter-stack
jusrhee Jul 6, 2023
2f2d800
Create porter_stack_joy.yml file
porter-deployment-app[bot] Jul 6, 2023
bd6f247
Merge pull request #67 from porter-dev/porter-stack
sunguroku Jul 6, 2023
c66d967
Create porter_stack_sophon-reticulum.yml file
porter-deployment-app[bot] Jul 11, 2023
e7a30c2
Merge pull request #76 from porter-dev/porter-stack
jusrhee Jul 11, 2023
6a7406f
Create porter_stack_barbenheimer.yml file
porter-deployment-app[bot] Jul 11, 2023
6d6425e
Merge pull request #77 from porter-dev/porter-stack
jusrhee Jul 11, 2023
2a90404
Create porter_stack_barbenheimer-api.yml file
porter-deployment-app[bot] Jul 11, 2023
310e17b
Merge pull request #78 from porter-dev/porter-stack
jusrhee Jul 11, 2023
e627a95
Delete .github/workflows directory
jusrhee Jul 11, 2023
a852ca7
Create porter_stack_barbenheimer-web.yml file
porter-deployment-app[bot] Jul 11, 2023
f5f22ae
Merge pull request #79 from porter-dev/porter-stack
jusrhee Jul 11, 2023
2264b88
Create porter_stack_test1.yml file
porter-deployment-app[bot] Jul 15, 2023
131f214
Merge pull request #81 from porter-dev/porter-stack
stefanmcshane Jul 15, 2023
940cb55
Create porter_stack_nginx3.yml file
porter-internal[bot] Jul 25, 2023
2f64b2b
Merge pull request #95 from porter-dev/porter-stack
sdess09 Jul 25, 2023
1cb636f
Create porter_stack_tester.yml file
porter-internal[bot] Aug 1, 2023
4ff808f
Merge pull request #97 from porter-dev/porter-stack
sdess09 Aug 1, 2023
b3de643
Create porter_stack_did-they-do-it.yml file
porter-deployment-app[bot] Aug 29, 2023
dbce5d3
Merge pull request #106 from porter-dev/porter-stack
jusrhee Aug 29, 2023
b0905b4
Create porter_stack_f-mohideen.yml file
porter-internal[bot] Sep 12, 2023
11f15d9
Merge pull request #120 from porter-dev/porter-stack
jusrhee Sep 12, 2023
dd36360
Create porter_stack_randall.yml file
porter-internal[bot] Sep 12, 2023
4a8a89d
Merge pull request #121 from porter-dev/porter-stack
jusrhee Sep 12, 2023
bc2cd48
Create porter_portal_app_production.yml file
porter-internal[bot] Sep 13, 2023
a4bea2f
Create test.txt
sdess09 Sep 13, 2023
1544d57
Delete .github/workflows/porter_stack_barbenheimer-web.yml
sdess09 Sep 13, 2023
2320bfe
Delete .github/workflows/porter_stack_did-they-do-it.yml
sdess09 Sep 13, 2023
94112bd
Delete .github/workflows/porter_stack_f-mohideen.yml
sdess09 Sep 13, 2023
d014c76
Delete .github/workflows/porter_stack_nginx3.yml
sdess09 Sep 13, 2023
10a7ef1
Delete .github/workflows/porter_stack_randall.yml
sdess09 Sep 13, 2023
7636e96
Delete .github/workflows/porter_stack_test1.yml
sdess09 Sep 13, 2023
295cd20
Delete .github/workflows/porter_stack_tester.yml
sdess09 Sep 13, 2023
07ab045
Update index.js
jusrhee Sep 13, 2023
b5d2b62
Create porter_asdfasd.yml file
porter-internal[bot] Sep 18, 2023
efd6529
Delete porter_asdfasd.yml file
porter-internal[bot] Sep 18, 2023
69fee2a
Create porter_boathouse_app_production.yml file
porter-internal[bot] Sep 18, 2023
97fb786
Create porter_boathouse_app_production.yml file
porter-internal[bot] Sep 19, 2023
b257a89
Create porter_stack_tetrjs.yml file
porter-deployment-app[bot] Sep 21, 2023
5146e2a
Merge pull request #127 from porter-dev/porter-stack
jusrhee Sep 21, 2023
a8344ce
Create porter_stack_test.yml file
porter-internal[bot] Oct 16, 2023
df12e6f
Merge pull request #146 from porter-dev/porter-stack
stefanmcshane Oct 16, 2023
15c2abd
Create porter_test_aws.yml file
porter-internal[bot] Oct 16, 2023
b32e00d
Delete porter_test_aws.yml file
porter-internal[bot] Oct 16, 2023
71a0936
Create porter_stack_dash.yml file
porter-internal[bot] Nov 2, 2023
903f671
Merge pull request #148 from porter-dev/porter-stack
sdess09 Nov 2, 2023
15eeaef
Create porter_stack_test.yml file
porter-internal[bot] Nov 2, 2023
b74d9ae
Merge pull request #149 from porter-dev/porter-stack
stefanmcshane Nov 2, 2023
1fe0d59
Delete .github/workflows directory
stefanmcshane Nov 3, 2023
78eb725
Create porter_stack_testasdfasdfasdf.yml file
porter-internal[bot] Nov 3, 2023
feab9b7
Merge pull request #156 from porter-dev/porter-stack
stefanmcshane Nov 3, 2023
a2efa65
Create porter_stack_test.yml file
porter-internal[bot] Nov 16, 2023
190d224
Merge pull request #160 from porter-dev/porter-stack
stefanmcshane Nov 16, 2023
29c0477
Delete porter_stack_test.yml file
porter-internal[bot] Nov 16, 2023
eceed24
Merge pull request #161 from porter-dev/porter-stack-delete
stefanmcshane Nov 16, 2023
b06b439
Create porter_stack_test-deploy.yml file
porter-internal[bot] Nov 29, 2023
ed7e732
Merge pull request #163 from porter-dev/porter-stack
sdess09 Nov 29, 2023
23d935b
Create porter_stack_next-test.yml file
porter-deployment-app[bot] Dec 6, 2023
75c7a23
Merge pull request #165 from porter-dev/porter-stack
ianedwards Dec 6, 2023
7c0bfa1
Create porter_stack_testenv.yml file
porter-internal[bot] Dec 21, 2023
1697f68
Merge pull request #166 from porter-dev/porter-stack
sdess09 Dec 21, 2023
66b6963
Delete porter_stack_testenv.yml file
porter-internal[bot] Jan 2, 2024
86e0281
Merge pull request #167 from porter-dev/porter-stack-delete
sdess09 Jan 2, 2024
e747281
Update porter_stack_next-test.yml
d-g-town Jan 17, 2024
56520cc
Update porter_stack_next-test.yml
d-g-town Jan 17, 2024
c0c79ed
Update porter_stack_next-test.yml
d-g-town Jan 17, 2024
21dea5a
Create porter_stack_hello-world.yml file
porter-deployment-app[bot] Jan 18, 2024
1546280
Merge pull request #168 from porter-dev/porter-stack
jusrhee Jan 18, 2024
4306e6b
Create porter_stack_porter-agent.yml file
porter-deployment-app[bot] Jan 27, 2024
c21dd98
Merge pull request #169 from porter-dev/porter-stack
jusrhee Jan 27, 2024
687f2b7
Create porter_stack_tetris-app.yml file
porter-deployment-app[bot] Feb 23, 2024
2fd8753
Merge pull request #180 from porter-dev/porter-stack
jusrhee Feb 23, 2024
f703c96
Create porter_stack_jstris-app.yml file
porter-deployment-app[bot] Feb 23, 2024
ff36fe6
Merge pull request #181 from porter-dev/porter-stack
jusrhee Feb 23, 2024
e8f2884
Delete porter_stack_jstris-app.yml file
porter-deployment-app[bot] Feb 23, 2024
3e9f8fe
Merge pull request #182 from porter-dev/porter-stack-delete
jusrhee Feb 23, 2024
aaa2685
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Feb 25, 2024
85e0a93
Merge pull request #183 from porter-dev/porter-stack
jusrhee Feb 25, 2024
4da92d9
Delete porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Feb 29, 2024
a29f8dd
Merge pull request #185 from porter-dev/porter-stack-delete
jusrhee Feb 29, 2024
d78ce4e
add porter yamls
d-g-town Mar 5, 2024
0a80a53
rename names
d-g-town Mar 5, 2024
8d45af9
fix ports
d-g-town Mar 5, 2024
2837e75
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 8, 2024
039fc7d
Merge pull request #186 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 8, 2024
eea07ab
Create porter_stack_tetris-app.yml file
porter-deployment-app[bot] Mar 10, 2024
9c198a4
Merge pull request #187 from porter-dev/porter-stack-tetris-app-37a30560
jusrhee Mar 10, 2024
db9147c
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 12, 2024
5cd3308
Merge pull request #188 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 12, 2024
7aff1b2
Delete porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 13, 2024
95d0385
Merge pull request #189 from porter-dev/porter-stack-delete
jusrhee Mar 13, 2024
e34356c
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 13, 2024
a302f27
Merge pull request #190 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 13, 2024
a1ae3d5
Delete porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 15, 2024
cb62409
Merge pull request #192 from porter-dev/porter-stack-delete
jusrhee Mar 15, 2024
183fe90
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 15, 2024
2a6c8f3
Merge pull request #193 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 15, 2024
550f894
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 16, 2024
92246eb
Merge pull request #194 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 16, 2024
bfa8f65
Delete porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 18, 2024
015b369
Merge pull request #195 from porter-dev/porter-stack-delete
jusrhee Mar 18, 2024
7442bae
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 18, 2024
7d438a0
Merge pull request #196 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 18, 2024
d4f9d78
Delete porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 18, 2024
f22f951
Merge pull request #197 from porter-dev/porter-stack-delete
jusrhee Mar 18, 2024
9b77ffb
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 18, 2024
7a962c4
Merge pull request #198 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 18, 2024
6a275f4
Create porter_stack_porter-tetris.yml file
porter-deployment-app[bot] Mar 19, 2024
0f61a7c
Merge pull request #199 from porter-dev/porter-stack-porter-tetris-cb…
jusrhee Mar 19, 2024
b7fb023
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 21, 2024
441b516
Merge pull request #202 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 21, 2024
a9cd46b
Create porter_stack_porter-tetris.yml file
porter-sandbox-deployment-app[bot] Mar 22, 2024
bef17ae
Merge pull request #203 from porter-dev/porter-stack-porter-tetris-1e…
jusrhee Mar 22, 2024
499932b
Delete porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 25, 2024
5b94ee5
Merge pull request #204 from porter-dev/porter-stack-delete
jusrhee Mar 25, 2024
398170c
Create porter_stack_porter-tetris-app.yml file
porter-deployment-app[bot] Mar 25, 2024
3cf69c7
Merge pull request #205 from porter-dev/porter-stack-porter-tetris-ap…
jusrhee Mar 25, 2024
0c21224
Delete porter_stack_porter-tetris.yml file
porter-sandbox-deployment-app[bot] Mar 26, 2024
8e8b21d
Merge pull request #206 from porter-dev/porter-stack-delete
jusrhee Mar 26, 2024
2fb2adb
Delete .github/workflows directory
jusrhee May 27, 2024
e4c69d7
Create porter_stack_3test.yml file
porter-deployment-app[bot] Jun 12, 2024
fc9193b
Merge pull request #214 from porter-dev/porter-stack-3test-0e6e7d8c
sunguroku Jun 12, 2024
8903b02
Update porter_stack_3test.yml
sunguroku Jun 12, 2024
c8fc9ce
Create porter_stack_lab-app.yml file
porter-deployment-app[bot] Jun 12, 2024
30aa99a
Merge pull request #215 from porter-dev/porter-stack-lab-app-ecab391f
MarceloFCandido Jun 12, 2024
5a073d8
Delete porter_stack_3test.yml file
porter-deployment-app[bot] Jun 12, 2024
be11e15
Merge pull request #216 from porter-dev/porter-stack-delete
MarceloFCandido Jun 12, 2024
452989e
Create porter_preview_lab-app.yml file
porter-deployment-app[bot] Jun 12, 2024
8b996f6
Merge pull request #217 from porter-dev/porter-stack-preview
MarceloFCandido Jun 12, 2024
4e41e97
test: playground
MarceloFCandido Jun 12, 2024
f88a363
Merge branch 'master' of github.com:porter-dev/js-test-app
MarceloFCandido Jul 11, 2024
ea32e1c
Merge pull request #220 from porter-dev/test/preview-envs-cli
MarceloFCandido Jul 22, 2024
9d57216
Create porter_stack_twin-app.yml file
porter-deployment-app[bot] Jul 26, 2024
6835e3d
Merge pull request #222 from porter-dev/porter-stack-twin-app-262f0bdb
MarceloFCandido Jul 26, 2024
5af4418
Create porter_stack_lab-app.yml file
porter-deployment-app[bot] Sep 27, 2024
9f8970b
Merge pull request #234 from porter-dev/porter-stack-lab-app-e78551e7
MarceloFCandido Sep 27, 2024
e8e05e2
ignore porter.yaml
MarceloFCandido Sep 27, 2024
c0a4276
Create porter_preview_lab-app.yml file
porter-deployment-app[bot] Oct 4, 2024
9612cb7
Merge pull request #235 from porter-dev/porter-stack-preview
MarceloFCandido Oct 4, 2024
85f3180
testing
MarceloFCandido Oct 4, 2024
eb71aca
generating a bug
MarceloFCandido Oct 4, 2024
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
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SPONSOR=bed-is-all-my-pleasure
SPONSOR=tested
35 changes: 35 additions & 0 deletions .github/workflows/porter_preview_lab-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
"on":
pull_request:
branches:
- master
types:
- opened
- synchronize
paths:
- '**'
- '!.github/workflows/porter_**'
name: Deploy to Preview Environment
jobs:
porter-deploy:
runs-on: ubuntu-latest
if: startsWith(github.event.pull_request.title, 'feat/')
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set Github tag
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Setup porter
uses: porter-dev/[email protected]
- name: Build and deploy preview environment
timeout-minutes: 30
run: exec porter apply -f ./porter.yaml --preview
env:
PORTER_CLUSTER: "3828"
PORTER_HOST: https://dashboard.porter.run
PORTER_PR_NUMBER: ${{ github.event.number }}
PORTER_PROJECT: "12155"
PORTER_REPO_NAME: ${{ github.event.repository.name }}
PORTER_STACK_NAME: lab-app
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12155_3828 }}
29 changes: 29 additions & 0 deletions .github/workflows/porter_stack_lab-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"on":
push:
branches:
- master
name: Deploy to lab-app
jobs:
porter-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set Github tag
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Setup porter
uses: porter-dev/[email protected]
- name: Deploy stack
timeout-minutes: 30
run: exec porter apply
env:
PORTER_CLUSTER: "3828"
PORTER_DEPLOYMENT_TARGET_ID: b416e8fe-e19a-4468-835c-4ec08ed618cd
PORTER_HOST: https://dashboard.porter.run
PORTER_PR_NUMBER: ${{ github.event.number }}
PORTER_PROJECT: "12155"
PORTER_REPO_NAME: ${{ github.event.repository.name }}
PORTER_STACK_NAME: lab-app
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12155_3828 }}
29 changes: 29 additions & 0 deletions .github/workflows/porter_stack_twin-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"on":
push:
branches:
- master
name: Deploy to twin-app
jobs:
porter-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set Github tag
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Setup porter
uses: porter-dev/[email protected]
- name: Deploy stack
timeout-minutes: 30
run: exec porter apply
env:
PORTER_CLUSTER: "3828"
PORTER_DEPLOYMENT_TARGET_ID: b416e8fe-e19a-4468-835c-4ec08ed618cd
PORTER_HOST: https://dashboard.porter.run
PORTER_PR_NUMBER: ${{ github.event.number }}
PORTER_PROJECT: "12155"
PORTER_REPO_NAME: ${{ github.event.repository.name }}
PORTER_STACK_NAME: twin-app
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_12155_3828 }}
Empty file added bug.txt
Empty file.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ app.get('/', (req, res) => {
});

var sponsor = process.env.SPONSOR || "unsponsored";
app.listen(3000, () => console.log('Tetris app listening on port 3000! Brought to you by', sponsor + ", of course."));
app.listen(process.env.PORT || 3000, () => console.log('Tetris app listening on port 3000! Brought to you all by', sponsor + ", of course."));
15 changes: 15 additions & 0 deletions integration_tests/buildpack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: v2
name: js-test-app-buildpack
services:
- name: web
run: node index.js
type: web
port: 3000
build:
context: ./
method: pack
builder: heroku/buildpacks:20
buildpacks:
- heroku/nodejs
predeploy:
run: ls
14 changes: 14 additions & 0 deletions integration_tests/dockerfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: v2
name: js-test-app-dockerfile
services:
- name: web
run: node index.js
type: web
port: 3000
build:
context: ./
method: docker
dockerfile: ./docker/Dockerfile
version: v2
predeploy:
run: ls
1 change: 1 addition & 0 deletions playground/.preview-environments
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Just a test. Ignore it.
5 changes: 5 additions & 0 deletions porter-ignore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apps:
web:
run: node index.js
release:
run: ls
3 changes: 0 additions & 3 deletions porter.yaml

This file was deleted.

1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"Test workflow"