-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove HAS controllers Signed-off-by: John Collier <[email protected]> * Update dockerfile Signed-off-by: John Collier <[email protected]> * Fix tests Signed-off-by: John Collier <[email protected]> * Fix tests Signed-off-by: John Collier <[email protected]> * Fix entrypoint Signed-off-by: John Collier <[email protected]> --------- Signed-off-by: John Collier <[email protected]>
- Loading branch information
1 parent
bda93f1
commit 338ad7f
Showing
94 changed files
with
11 additions
and
23,646 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -127,76 +127,6 @@ jobs: | |
fetch-depth: 0 | ||
- name: Check if dockerimage build is working | ||
run: docker build -f ./Dockerfile . | ||
build-cdq-analysis-image: | ||
name: Check CDQ Analysis Image Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18 | ||
- name: Change to the cdq-analysis directory | ||
run: cd cdq-analysis/ | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Check if dockerimage build is working | ||
run: docker build -f ./Dockerfile . | ||
pact: | ||
name: Pact tests | ||
runs-on: ubuntu-latest | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
COMMIT_SHA: ${{ github.event.pull_request.head.sha }} | ||
PR_CHECK: true | ||
OPERATOR_SDK_VERSION: v1.14.0 | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.19 | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Cache Operator SDK ${{ env.OPERATOR_SDK_VERSION }} | ||
uses: actions/cache@v2 | ||
id: cache-operator-sdk | ||
with: | ||
path: ~/cache | ||
key: operator-sdk-${{ env.OPERATOR_SDK_VERSION }} | ||
- name: Download Operator SDK ${{ env.OPERATOR_SDK_VERSION }} | ||
if: steps.cache-operator-sdk.outputs.cache-hit != 'true' | ||
run: | | ||
mkdir -p ~/cache | ||
wget https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}/operator-sdk_linux_amd64 -O ~/cache/operator-sdk-${OPERATOR_SDK_VERSION} > /dev/null -O ~/cache/operator-sdk-${OPERATOR_SDK_VERSION} > /dev/null | ||
chmod +x ~/cache/operator-sdk-${OPERATOR_SDK_VERSION} | ||
- name: Install Operator SDK ${{ env.OPERATOR_SDK_VERSION }} | ||
run: | | ||
mkdir -p ~/bin | ||
cp ~/cache/operator-sdk-${OPERATOR_SDK_VERSION} ~/bin/operator-sdk | ||
echo "$HOME/bin" >> $GITHUB_PATH | ||
- name: Cache go modules | ||
id: cache-mod | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Download dependencies | ||
run: go mod download | ||
if: steps.cache-mod.outputs.cache-hit != 'true' | ||
- name: Test Pact contracts | ||
run: | | ||
go get github.com/pact-foundation/pact-go/[email protected] | ||
go install github.com/pact-foundation/pact-go/[email protected] | ||
sudo /home/runner/go/bin/pact-go -l DEBUG install | ||
COMMIT_SHA=${COMMIT_SHA:0:7} | ||
make pact | ||
kube-linter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.