Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jun 19, 2024

Fixes: #153

Description of changes: makes the github PR workflow test against all OSes. Fixing integ tests is out of scope of this PR.
Drops 3.7 from all OSes except for AL1. AL1 will be removed completely in subsequent PR.

Target (OCI, Managed Runtime, both): N/A

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

@ghost ghost requested review from alex-pewpew, briensea and krk June 19, 2024 10:52
Mirrors the structure of the NodeJS ric with respect to github actions
to run integ tests against all vendors.

Issues with particular vendors won't be fixed in this PR to keep it
short.

Drops: python 3.7 in all but al1
@ghost ghost requested a review from andclt June 19, 2024 10:54
Copy link
Contributor

@krk krk left a comment

Choose a reason for hiding this comment

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

thanks, lgtm

Comment on lines +17 to +56

alpine:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run alpine integration tests
run: DISTRO=alpine make test-integ

amazonlinux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run amazonlinux integration tests
run: DISTRO=amazonlinux make test-integ

centos:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run centos integration tests
run: DISTRO=centos make test-integ

debian:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run debian integration tests
run: DISTRO=debian make test-integ

ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run ubuntu integration tests
run: DISTRO=ubuntu make test-integ
Copy link
Author

Choose a reason for hiding this comment

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

This was pulled directly from the nodejs ric.

.PHONY: test-integ
test-integ: setup-codebuild-agent
CODEBUILD_IMAGE_TAG=codebuild-agent tests/integration/codebuild-local/test_all.sh tests/integration/codebuild/.
CODEBUILD_IMAGE_TAG=codebuild-agent DISTRO="$(DISTRO)" tests/integration/codebuild-local/test_all.sh tests/integration/codebuild/.
Copy link
Author

Choose a reason for hiding this comment

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

Pulled from nodejs ric, with some modification on the test path.

Comment on lines +57 to +58
echo $DISTRO $BUILDSPEC_YML_DIR
ls $BUILDSPEC_YML_DIR
Copy link
Author

Choose a reason for hiding this comment

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

Nit: this isn't necessary, will remove later.

@ghost ghost merged commit 1d061f4 into main Jun 19, 2024
@ghost ghost deleted the 153 branch June 19, 2024 11:50
This pull request was closed.
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.

Make the PR workflow test on each OS vendor

3 participants