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

Enable Porter Application stefan-testcachemultistep #6

Open
wants to merge 82 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
d067b35
Create porter_stack_stefan-testcachemultistep.yml file
porter-internal[bot] Oct 4, 2024
8812765
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
0384174
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
e65a844
Create DockerfileStefanTest
stefanmcshane Oct 4, 2024
1eeae49
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
c3c3b92
Update DockerfileStefanTest
stefanmcshane Oct 4, 2024
f6e348d
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
52ee810
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
f408c7a
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
4383586
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
ae82d24
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
3ac5584
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
3449eb3
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 4, 2024
cd6f4c5
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 6, 2024
f356025
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
e3b0094
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
11aa846
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
fe0cc7a
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
3e8cd38
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
86ab72d
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
73a6af6
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
c367148
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
c71e3b9
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
4ea2697
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
1951ab0
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
3d2e52e
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
a3c103c
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
d1af7d1
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
7403410
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
8ad833e
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
61b85b7
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
b888f8d
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
9d37713
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
9481c8f
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
e0a07a8
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
4e8e73d
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
10c2fa6
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
68a6724
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
83c1ff2
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
0e5d5b4
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
ad786f6
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
ab706bc
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
d66dc1a
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
c8cfa85
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
4351278
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 7, 2024
ca00718
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 10, 2024
884b116
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 10, 2024
2420bfa
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 10, 2024
cd38596
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 11, 2024
091cb1d
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 11, 2024
f0fa9cc
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 11, 2024
6a9769f
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 11, 2024
a087b4e
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 11, 2024
4f187bc
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 14, 2024
6e07b32
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 14, 2024
b5d809f
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 15, 2024
364ab45
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 15, 2024
a28a72c
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 15, 2024
6a523cd
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 15, 2024
af7d633
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 15, 2024
3bad91b
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 15, 2024
25b1ddd
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 23, 2024
8eda0cb
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 23, 2024
bbe805e
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 23, 2024
fb2be25
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 23, 2024
e85e9db
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 23, 2024
cee3028
Update porter_stack_stefan-testcachemultistep.yml
stefanmcshane Oct 23, 2024
6fa5d3a
Update and rename porter_stack_stefan-testcachemultistep.yml to porte…
stefanmcshane Oct 25, 2024
d82d89e
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
0d3c359
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
e5b6ca3
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
075f80e
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
6ceab94
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
31c760c
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
84af1d6
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
a2b5df1
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
cf3e73f
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 25, 2024
3c56d9c
Update DockerfileStefanTest
stefanmcshane Oct 28, 2024
ac24e78
Update DockerfileStefanTest
stefanmcshane Oct 28, 2024
2fca1fd
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 28, 2024
4bf241c
Update DockerfileStefanTest
stefanmcshane Oct 28, 2024
9a3084b
Update porter_stack_stefantest-graviton.yml
stefanmcshane Oct 28, 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
40 changes: 40 additions & 0 deletions .github/workflows/porter_stack_stefantest-graviton.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"on":
push:
branches:
- porter-stack-stefan-testcachemultistep-9570a955
name: Deploy to stefan-testcachemultistep
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: Set Github tag log
id: vars2
run: echo "sha_long=$(git log -1 --format=%H)" >> $GITHUB_OUTPUT
- name: Setup porter
uses: porter-dev/[email protected]

- name: Deploy stack
timeout-minutes: 30
run: |
porter version
echo "stefan" $OSTYPE; arch; uname -a
porter apply
env:
PORTER_CLUSTER: "11"
PORTER_DEPLOYMENT_TARGET_ID: b4d65cbc-45ec-43e1-9e44-d58cb5de3352
PORTER_HOST: https://dashboard.internal-tools.porter.run
PORTER_PR_NUMBER: ${{ github.event.number }}
PORTER_PROJECT: "8"
PORTER_REPO_NAME: ${{ github.event.repository.name }}
PORTER_APP_NAME: stefantest-graviton
PORTER_TAG: ${{ steps.vars2.outputs.sha_long }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }}
GH_TOKEN: ${{ github.token }}
DOCKER_BUILDKIT: 1
STEFAN_ENV: fromGHA

21 changes: 21 additions & 0 deletions DockerfileStefanTest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM golang:1.20.1 as installer
WORKDIR /porter
ARG STEFAN_ENV=dockerdefault
ENV SECOND_VAR ${STEFAN_ENV}
ENV THIRD_VAR $STEFAN_ENV

RUN echo "envs2" $STEFAN_ENV $SECOND_VAR
RUN echo "envs3" $STEFAN_ENV $THIRD_VAR


RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
RUN go install github.com/go-delve/delve/cmd/dlv@latest
RUN chmod +x /go/bin/dlv



FROM debian:bullseye-slim as runner
WORKDIR /porter
RUN apt-get update && apt-get install -y --no-install-recommends sqlite3 curl
COPY --from=installer /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
RUN curl google.com