-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'openshift:master' into runc_cpu_isolation
- Loading branch information
Showing
58 changed files
with
2,275 additions
and
1,288 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,8 @@ main() { | |
which ginkgo | ||
if [ $? -ne 0 ]; then | ||
echo "Downloading ginkgo tool" | ||
go install -mod=mod github.com/onsi/ginkgo/v2/[email protected] | ||
GINKGO_VERSION=$(go list -m -f '{{.Version}}' github.com/onsi/ginkgo/v2) | ||
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo@"${GINKGO_VERSION}" | ||
ginkgo version | ||
fi | ||
|
||
|
@@ -92,7 +93,6 @@ main() { | |
if [ "$ONLY_CLI_PRINT" = true ]; then | ||
print "Skipping execution as requested by user ... " | ||
else | ||
trap '{ echo "Running cleanup test suite"; ginkgo test/e2e/performanceprofile/functests/Z_deconfig --flake-attempts=2 --junit-report=report.xml; }' EXIT SIGINT SIGTERM SIGSTOP | ||
print "Executing test suites ... " | ||
GOFLAGS=-mod=vendor ginkgo ${GINKGO_FLAGS} | ||
fi | ||
|
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
30 changes: 30 additions & 0 deletions
30
pkg/performanceprofile/controller/performanceprofile/hypershift/consts/consts.go
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package consts | ||
|
||
const ( | ||
// NodePoolNameLabel uses to label ConfigMap objects which are associated with the NodePool | ||
NodePoolNameLabel = "hypershift.openshift.io/nodePool" | ||
|
||
// PerformanceProfileNameLabel uses to label a ConfigMaps that hold objects which were | ||
// created by the performanceProfile controller and which are associated with the performance-profile | ||
// name mentioned in the label | ||
PerformanceProfileNameLabel = "hypershift.openshift.io/performanceProfileName" | ||
|
||
// ControllerGeneratedTunedConfigMapLabel uses to label a ConfigMap that holds encoded tuned object | ||
ControllerGeneratedTunedConfigMapLabel = "hypershift.openshift.io/tuned-config" | ||
|
||
// ControllerGeneratedPerformanceProfileConfigMapLabel uses | ||
//to label a ConfigMap that holds encoded performance-profile object | ||
ControllerGeneratedPerformanceProfileConfigMapLabel = "hypershift.openshift.io/performanceprofile-config" | ||
|
||
// NTOGeneratedMachineConfigLabel attached to kubelet and machine config configmaps generated by NTO. | ||
// The Hypershift operator watches these and acts upon their creation/update/deletion. | ||
NTOGeneratedMachineConfigLabel = "hypershift.openshift.io/nto-generated-machine-config" | ||
|
||
// TuningKey is the key under ConfigMap.Data on which encoded | ||
// tuned and performance-profile objects are stored. | ||
TuningKey = "tuning" | ||
|
||
// ConfigKey is the key under ConfigMap.Data on which encoded | ||
// machine-config, kubelet-config and container-runtime-config objects are stored. | ||
ConfigKey = "config" | ||
) |
Oops, something went wrong.