Skip to content

fix: removing codebuild#208

Merged
maxday merged 3 commits into
maxday/fast-cifrom
maxday/remove-codebuild
Jun 18, 2026
Merged

fix: removing codebuild#208
maxday merged 3 commits into
maxday/fast-cifrom
maxday/remove-codebuild

Conversation

@maxday

@maxday maxday commented Jun 17, 2026

Copy link
Copy Markdown
Member

Description of changes:

The CodeBuild infrastructure (buildspec.os.* files, codebuild-local/, docker-compose.template.yml) has been removed in favor of a single GitHub Actions workflow that builds and tests the runtime interface client across a matrix of distros (Alpine, Debian, Ubuntu, Amazon Linux 2/2023) and Python versions (3.10–3.14).
A local integration test script (tests/integration/run-local.sh) is provided as a replacement for the removed codebuild-local tooling.

Target (OCI, Managed Runtime, both):
both

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@maxday maxday changed the title fix: try to remove codebuild fix: removing codebuild Jun 17, 2026
@maxday maxday marked this pull request as ready for review June 17, 2026 20:54
Comment on lines +201 to +232
- name: Run integration test
run: |
TEST_NAME="ric-integ-test"
docker network create "${TEST_NAME}-net"

docker run \
--detach \
--name "${TEST_NAME}-app" \
--network "${TEST_NAME}-net" \
--entrypoint="" \
ric-test \
sh -c "/usr/bin/${RIE} ${{ matrix.python_location }} -m awslambdaric app.handler"

sleep 2

docker run \
--name "${TEST_NAME}-tester" \
--env "TARGET=${TEST_NAME}-app" \
--network "${TEST_NAME}-net" \
--entrypoint="" \
ric-test \
sh -c 'curl -sS -X POST "http://${TARGET}:8080/2015-03-31/functions/function/invocations" -d "{}" --max-time 10'

ACTUAL="$(docker logs --tail 1 "${TEST_NAME}-tester" | xargs)"
EXPECTED="success"
echo "Response: ${ACTUAL}"
if [ "$ACTUAL" != "$EXPECTED" ]; then
echo "FAIL: expected '${EXPECTED}', got '${ACTUAL}'"
exit 1
fi
echo "PASS"

@darklight3it darklight3it Jun 18, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we integrate the dockerized tests also here? I would prefer this to be handled so we give the community a way to test their new features and example for those that wanna create a lambda in python.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes if you don't mind I will add this feature in a new PR, the scope of this one is
codebuild -> GH Actions

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving this.

@maxday maxday mentioned this pull request Jun 18, 2026

@darklight3it darklight3it left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@maxday maxday merged commit e021617 into maxday/fast-ci Jun 18, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants