-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Move some into test/integration folder
Signed-off-by: David Gannon <[email protected]>
- Loading branch information
1 parent
b34501b
commit da55207
Showing
5 changed files
with
93 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,7 +244,7 @@ jobs: | |
PORTER_INTEG_FILE: ../../pkg/porter/build_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash | ||
porter_lifecycle_integration_test: | ||
lifecycle_integration_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
|
@@ -271,7 +271,7 @@ jobs: | |
shell: bash | ||
- name: Integration Test | ||
env: | ||
PORTER_INTEG_FILE: ../../pkg/porter/lifecycle_integration_test.go | ||
PORTER_INTEG_FILE: lifecycle_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash | ||
pkg_mixin_pkgmgmt_integration_test: | ||
|
@@ -333,4 +333,34 @@ jobs: | |
env: | ||
PORTER_INTEG_FILE: ../../pkg/pkgmgmt/client/runner_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash | ||
agent_integration_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "${{ env.GOVERSION }}" | ||
cache: true | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Cache Docker layers | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/.buildx-cache | ||
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
- name: Docker Login | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Configure Agent | ||
run: go run mage.go build | ||
shell: bash | ||
- name: Integration Test | ||
env: | ||
PORTER_INTEG_FILE: agent_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -283,7 +283,7 @@ jobs: | |
PORTER_INTEG_FILE: ../../pkg/porter/build_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash | ||
porter_lifecycle_integration_test: | ||
lifecycle_integration_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
|
@@ -310,7 +310,7 @@ jobs: | |
shell: bash | ||
- name: Integration Test | ||
env: | ||
PORTER_INTEG_FILE: ../../pkg/porter/lifecycle_integration_test.go | ||
PORTER_INTEG_FILE: lifecycle_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash | ||
pkg_mixin_pkgmgmt_integration_test: | ||
|
@@ -372,4 +372,34 @@ jobs: | |
env: | ||
PORTER_INTEG_FILE: ../../pkg/pkgmgmt/client/runner_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash | ||
agent_integration_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "${{ env.GOVERSION }}" | ||
cache: true | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Cache Docker layers | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/.buildx-cache | ||
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
- name: Docker Login | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Configure Agent | ||
run: go run mage.go build | ||
shell: bash | ||
- name: Integration Test | ||
env: | ||
PORTER_INTEG_FILE: agent_integration_test.go | ||
run: go run mage.go -v TestIntegration | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters