-
Notifications
You must be signed in to change notification settings - Fork 220
chore: Swap out integration test in release pipeline #2981
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
Changes from all commits
cf80d91
0e6d636
6ac318c
714c88c
beee8eb
11e03e3
898e861
6dda604
11f31df
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ on: | |
test_name: | ||
type: string | ||
required: false | ||
registry: | ||
type: string | ||
required: false | ||
env: | ||
GOVERSION: 1.20.7 | ||
PORTER_INTEG_FILE: ${{inputs.test_name}}.go | ||
|
@@ -30,7 +33,7 @@ jobs: | |
- name: Docker Login | ||
uses: docker/login-action@v3.0.0 | ||
with: | ||
registry: ghcr.io | ||
registry: ${{inputs.registry}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same thing here, do we need to log in to the registry to build the images? |
||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Configure Agent | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,13 @@ on: | |
paths-ignore: | ||
- 'docs/**' | ||
|
||
workflow_call: | ||
inputs: | ||
registry: | ||
type: string | ||
required: false | ||
default: ghcr.io | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this need to be scoped to ghcr.io/getporter/porter ? |
||
|
||
env: | ||
GOVERSION: 1.20.7 | ||
|
||
|
@@ -14,83 +21,103 @@ jobs: | |
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: archive_test | ||
registry: ${{inputs.registry}} | ||
build_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: build_test | ||
registry: ${{inputs.registry}} | ||
cli_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: cli_test | ||
registry: ${{inputs.registry}} | ||
connection_nix_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: connection_nix_test | ||
registry: ${{inputs.registry}} | ||
copy_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: copy_test | ||
test_name: copy_tests | ||
registry: ${{inputs.registry}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this necessary for each stage of the pipeline if it is not using it? |
||
dependenciesv1_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: dependenciesv1_test | ||
registry: ${{inputs.registry}} | ||
dependenciesv2_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: dependenciesv2_test | ||
registry: ${{inputs.registry}} | ||
driver_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: driver_test | ||
registry: ${{inputs.registry}} | ||
install_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: install_test | ||
registry: ${{inputs.registry}} | ||
invoke_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: invoke_test | ||
registry: ${{inputs.registry}} | ||
lint_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: lint_test | ||
registry: ${{inputs.registry}} | ||
migration_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: migration_test | ||
registry: ${{inputs.registry}} | ||
outputs_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: outputs_test | ||
registry: ${{inputs.registry}} | ||
publish_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: publish_test | ||
registry: ${{inputs.registry}} | ||
pull_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: pull_test | ||
6D40 | registry: ${{inputs.registry}} | |
registry_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: registry_integration_test | ||
registry: ${{inputs.registry}} | ||
schema_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: schema_test | ||
registry: ${{inputs.registry}} | ||
sensitive_data_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: sensitive_data_test | ||
registry: ${{inputs.registry}} | ||
suppress_output_integration_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: suppress_output_test | ||
registry: ${{inputs.registry}} | ||
telemetry_test: | ||
uses: getporter/porter/.github/workflows/integ-reuseable-workflow.yml@main | ||
with: | ||
test_name: telemetry_test | ||
# Reusable workflows only supports 20 jobs | ||
registry: ${{inputs.registry}} | ||
# Reusable workflows only supports 20 jobs | ||
uninstall_test_integ: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -110,7 +137,7 @@ jobs: | |
- name: Docker Login | ||
uses: docker/login-action@v3.0.0 | ||
with: | ||
registry: ghcr.io | ||
registry: ${{inputs.registry}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to build the docker images in the integration tests? Should this be another workflow after we see that the tests are passing? |
||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Configure Agent | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is not required, should we set a default?