Skip to content

Commit

Permalink
kube-burner-ocp
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Jan 19, 2024
1 parent 1bd2b5a commit d0f3261
Show file tree
Hide file tree
Showing 253 changed files with 704 additions and 48,157 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/builders.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Binary and Images
name: Build kube-burner-ocp
on:
workflow_call:
jobs:
Expand All @@ -20,11 +20,6 @@ jobs:
- name: Build code
run: make build

- name: Build container images
run: make images
env:
VERSION: snapshot

- name: Install mkdocs dependencies
run: pip install mkdocs-material mkdocs-include-markdown-plugin mike

Expand All @@ -36,5 +31,5 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: kube-burner
path: /usr/bin/kube-burner
name: kube-burner-ocp
path: /usr/bin/kube-burner-ocp
2 changes: 1 addition & 1 deletion .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:

tests:
needs: build
uses: ./.github/workflows/test-k8s.yml
uses: ./.github/workflows/test-ocp.yml
secrets: inherit
81 changes: 0 additions & 81 deletions .github/workflows/image-upload.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
uses: ./.github/workflows/gorelease.yml
needs: ci-tests

image-upload:
uses: ./.github/workflows/image-upload.yml
needs: ci-tests
secrets: inherit

deploy-docs:
uses: ./.github/workflows/docs.yml
needs: ci-tests
54 changes: 7 additions & 47 deletions .github/workflows/test-k8s.yml → .github/workflows/test-ocp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# test-k8s.yml
name: Execute tests on k8s and OCP
name: Execute tests on OCP
on:
workflow_call:
secrets:
Expand All @@ -10,45 +9,7 @@ on:
OPENSHIFT_PASSWORD:
required: true
jobs:
test-k8s:
runs-on: ubuntu-latest
strategy:
matrix:
k8s-version:
- v1.25.0
- v1.26.0
- v1.27.0
steps:

- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false

- name: Download kube-burner binary
uses: actions/download-artifact@v3
with:
name: kube-burner
path: /tmp/

- name: Install bats
uses: mig4/setup-bats@v1
with:
bats-version: 1.9.0

- name: Execute Tests
run: |
export PATH=${PATH}:/tmp/
chmod +x /tmp/kube-burner
make test-k8s
env:
TERM: linux
KIND_VERSION: v0.19.0
K8S_VERSION: ${{matrix.k8s-version}}

ocp-wrapper:
ocp-e2e-ci:
runs-on: ubuntu-latest
concurrency:
group: ocp-e2e-ci
Expand All @@ -61,16 +22,16 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false

- name: Download kube-burner binary
- name: Download kube-burner-ocp binary
uses: actions/download-artifact@v3
with:
name: kube-burner
name: kube-burner-ocp
path: /tmp/

- name: Install bats
uses: mig4/setup-bats@v1
uses: bats-core/bats[email protected]
with:
bats-version: 1.9.0
bats-version: 1.10.0

- name: Install oc
uses: redhat-actions/oc-installer@v1
Expand All @@ -85,11 +46,10 @@ jobs:
- name: Execute Tests
run: |
export PATH=${PATH}:/tmp/
chmod +x /tmp/kube-burner
chmod +x /tmp/kube-burner-ocp
make test-ocp
env:
TERM: linux
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
OPENSHIFT_USER: ${{ secrets.OPENSHIFT_USER }}
OPENSHIFT_PASSWORD: ${{ secrets.OPENSHIFT_PASSWORD }}

4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ builds:
- arm64
- ppc64le
- s390x
dir: ./cmd/kube-burner/
dir: ./cmd/
ldflags:
- -X github.com/cloud-bulldozer/go-commons/version.GitCommit={{.Commit}} -X github.com/cloud-bulldozer/go-commons/version.BuildDate={{.Date}} -X github.com/cloud-bulldozer/go-commons/version.Version={{.Version}}
archives:
Expand All @@ -39,4 +39,4 @@ changelog:
- '^docs:'
- '^test:'
checksum:
name_template: "kube-burner-checksums.txt"
name_template: "kube-burner-ocp-checksums.txt"
6 changes: 6 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Default owners
* @rsevilla87 @vishnuchalla @smalleni
* @kube-burner/maintainers @kube-burner/ocp-perfscale
# web-burner owners
/cmd/config/web-burner @kube-burner/ocp-perfscale-telco
/web-burner.go @kube-burner/ocp-perfscale-telco
128 changes: 0 additions & 128 deletions CODE_OF_CONDUCT.md

This file was deleted.

6 changes: 0 additions & 6 deletions Containerfile

This file was deleted.

11 changes: 0 additions & 11 deletions MAINTAINERS.md

This file was deleted.

Loading

0 comments on commit d0f3261

Please sign in to comment.