Skip to content

Commit 57af8c1

Browse files
ipmbclaude
andcommitted
Remove heroku-20 integration test (EOL)
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent 1692772 commit 57af8c1

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -218,66 +218,6 @@ jobs:
218218
cat apppack.toml
219219
test "$(python -c 'import tomllib; print(tomllib.load(open("apppack.toml", "rb"))["services"]["web"]["command"])')" = "bash -c 'gunicorn --access-logfile - --bind 0.0.0.0:\$PORT --forwarded-allow-ips '\"'\"'*'\"'\"' app:app'"
220220
221-
integration-heroku20:
222-
runs-on: ubuntu-latest
223-
needs: [test, build-image]
224-
permissions:
225-
id-token: write
226-
contents: read
227-
packages: read
228-
steps:
229-
- name: Login to GitHub Container Registry
230-
uses: docker/login-action@v2
231-
with:
232-
registry: ghcr.io
233-
username: ${{ github.actor }}
234-
password: ${{ secrets.GITHUB_TOKEN }}
235-
- name: Pull image
236-
run: docker pull ${{ needs.build-image.outputs.image }}
237-
- name: configure aws credentials
238-
uses: aws-actions/configure-aws-credentials@v4
239-
with:
240-
role-to-assume: arn:aws:iam::891426818781:role/github-actions-integration-tests
241-
aws-region: us-east-1
242-
- name: Checkout sample repo
243-
run: git clone --branch buildpacks-20 https://github.com/apppackio/apppack-demo-python.git
244-
- name: Run integration tests
245-
working-directory: ./apppack-demo-python
246-
run: |
247-
cat <<EOF > .envfile
248-
APPNAME=gh-integration
249-
CODEBUILD_BUILD_ID=demo-python:${{ github.run_id }}
250-
CODEBUILD_SOURCE_VERSION=${{ github.sha }}
251-
DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
252-
DOCKERHUB_ACCESS_TOKEN=${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
253-
DOCKER_REPO=891426818781.dkr.ecr.us-east-1.amazonaws.com/github-integration-test
254-
ARTIFACT_BUCKET=integration-test-buildartifacts
255-
ALLOW_EOL_SHIMMED_BUILDER=1
256-
AWS_REGION
257-
AWS_ACCESS_KEY_ID
258-
AWS_SECRET_ACCESS_KEY
259-
AWS_SESSION_TOKEN
260-
EOF
261-
262-
docker run \
263-
--rm \
264-
--privileged \
265-
--env-file .envfile \
266-
--volume /var/run/docker.sock:/var/run/docker.sock \
267-
--volume "$(pwd):/app" \
268-
--workdir /app \
269-
${{ needs.build-image.outputs.image }} \
270-
/bin/sh -c "set -x; git config --global --add safe.directory /app && apppack-builder prebuild; apppack-builder build; apppack-builder postbuild"
271-
- uses: actions/setup-python@v4
272-
with:
273-
python-version: "3.11"
274-
- name: Verify apppack.toml
275-
working-directory: ./apppack-demo-python
276-
run: |
277-
set -ex
278-
cat apppack.toml
279-
test "$(python -c 'import tomllib; print(tomllib.load(open("apppack.toml", "rb"))["services"]["web"]["command"])')" = 'gunicorn --access-logfile - --bind 0.0.0.0:$PORT --forwarded-allow-ips '"'"'*'"' app:app"
280-
281221
integration-docker:
282222
runs-on: ubuntu-latest
283223
needs: [test, build-image]
@@ -346,7 +286,6 @@ jobs:
346286
- integration
347287
- integration-docker
348288
- integration-appjson
349-
- integration-heroku20
350289
- integration-heroku24
351290
permissions:
352291
id-token: write

0 commit comments

Comments
 (0)