Skip to content

Commit

Permalink
Update Tanzu CLI coexistence tests CI workflow to build the CLI
Browse files Browse the repository at this point in the history
- Starting the local OCI registry have dependency on tanzu CLI binary to add the test local central repository certs to the config before starting the local OCI registry.

Signed-off-by: Prem Kumar Kalle <[email protected]>
  • Loading branch information
prkalle committed May 1, 2023
1 parent 06d71be commit def5b7a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cli-coexistence_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@ jobs:
- name: Checkout code
uses: actions/checkout@v1

- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: 1.19
id: go

- name: go cache
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup dependencies
run: |
make tools
echo "${PWD}/hack/tools/bin" >> $GITHUB_PATH
echo "${PWD}/bin" >> $GITHUB_PATH
- name: Build CLI Core
run: |
make build
- name: Start local OCI registry
run: |
make start-test-central-repo
Expand Down

0 comments on commit def5b7a

Please sign in to comment.