-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update to latest nnf-ec - Disable --mock in config/manager/manager.yaml to run on DP0 - add script to set $VERSION for a developer build setDevVersion.sh now locates the tag in artifactory that matches the current commit's SHA.
- Loading branch information
Showing
21 changed files
with
287 additions
and
88 deletions.
There are no files selected for viewing
Submodule .dws-operator
updated
from 2b73fb to fcd578
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 |
---|---|---|
|
@@ -31,3 +31,6 @@ commands.log | |
kind-config.yaml | ||
standalone-playground | ||
nnf-sos | ||
|
||
# .vscode log files | ||
.vscode/*.log |
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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
// Procedure for building NNF Element Controller | ||
// Procedure for building NNF Storage Orchestration Services | ||
|
||
@Library('dst-shared@master') _ | ||
|
||
// See https://github.hpe.com/hpe/hpc-dst-jenkins-shared-library for all | ||
// the inputs to the dockerBuildPipeline. | ||
// In particular: vars/dockerBuildPipeline.groovy | ||
dockerBuildPipeline { | ||
repository = "cray" | ||
imagePrefix = "cray" | ||
app = "dp-nnf-sos" | ||
name = "dp-nnf-sos" | ||
description = "Near Node Flash Storage Orchestration Services" | ||
dockerfile = "Dockerfile" | ||
useLazyDocker = true | ||
autoJira = false | ||
createSDPManifest = false | ||
product = "kj" | ||
product = "rabsw" | ||
} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package crd | ||
|
||
// Empty file so other repositories can import the custom resource definitionss | ||
// Empty file so other repositories can import the custom resource definitions |
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,6 @@ | ||
bases: | ||
- ../top | ||
|
||
patchesStrategicMerge: | ||
# Let the node-manager daemonset mount host dirs for lustre tools and libs. | ||
- manager_volumes_patch.yaml |
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,52 @@ | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: node-manager | ||
namespace: system | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: manager | ||
args: | ||
- --controller=node | ||
volumeMounts: | ||
- mountPath: /mnt | ||
name: mnt-dir | ||
mountPropagation: Bidirectional | ||
- mountPath: /dev | ||
name: dev-dir | ||
mountPropagation: HostToContainer | ||
- mountPath: /var/run/dbus | ||
name: dbus-dir | ||
- mountPath: /run/udev | ||
name: udev-dir | ||
- mountPath: /usr/sbin | ||
name: usbin-dir | ||
- mountPath: /usr/lib64 | ||
name: lib64-dir | ||
- mountPath: /sys | ||
name: sys-dir | ||
mountPropagation: HostToContainer | ||
volumes: | ||
- name: mnt-dir | ||
hostPath: | ||
path: /mnt | ||
- name: dev-dir | ||
hostPath: | ||
path: /dev | ||
- name: dbus-dir | ||
hostPath: | ||
path: /var/run/dbus | ||
- name: usbin-dir | ||
hostPath: | ||
path: /usr/sbin | ||
- name: lib64-dir | ||
hostPath: | ||
path: /usr/lib64 | ||
- name: sys-dir | ||
hostPath: | ||
path: /sys | ||
- name: udev-dir | ||
hostPath: | ||
path: /run/udev |
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
# Use source to push the environment variables back into the calling shell | ||
# "source ./setDevVersion.sh" | ||
|
||
# Command to access arti and list all of the docker images there filtering out the tag for the | ||
# version matching the current git SHA | ||
unset VERSION | ||
unset IMAGE_TAG_BASE | ||
|
||
# Setup some artifactory paths to the developer and master branch locations | ||
ARTI_URL_DEV=https://arti.dev.cray.com/artifactory/rabsw-docker-unstable-local/cray-dp-nnf-sos/ | ||
ARTI_URL_MASTER=https://arti.dev.cray.com/artifactory/rabsw-docker-master-local/cray-dp-nnf-sos/ | ||
|
||
# Retrieve the name of the current branch. If we are in detached HEAD state, assume it is master. | ||
CURRENT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) | ||
|
||
# Depending on whether we are on the master branch or not, setup for deployment from artifactory | ||
# NOTE: Detached HEAD state is assumed to match 'master' | ||
if [[ "$CURRENT_BRANCH_NAME" == "master" ]] || [[ "$CURRENT_BRANCH_NAME" == "HEAD" ]]; then | ||
ARTI_URL="$ARTI_URL_MASTER" | ||
else # not on the master branch | ||
ARTI_URL="$ARTI_URL_DEV" | ||
|
||
# Deploying a developer build requires the IMAGE_TAG_BASE to change as well. | ||
# Master branch is the default, so we don't change it when we are on the master branch. | ||
IMAGE_TAG_BASE=arti.dev.cray.com/rabsw-docker-unstable-local/cray-dp-nnf-sos | ||
export IMAGE_TAG_BASE | ||
echo IMAGE_TAG_BASE: "$IMAGE_TAG_BASE" | ||
fi | ||
|
||
# Locate the container tags in arti to set the VERSION environment variable | ||
# which allows us to run `make deploy` and pull the correct version from ARTI. | ||
LATEST_LOCAL_COMMIT=$(git rev-parse --short HEAD) | ||
ARTI_TAG=$(wget --spider --recursive --no-parent -l1 "$ARTI_URL" 2>&1 | grep -- ^-- | awk '{print $3}' | grep "$LATEST_LOCAL_COMMIT" | tail -1) | ||
VERSION=$(basename "$ARTI_TAG") | ||
export VERSION | ||
echo VERSION: "$VERSION" |
11 changes: 7 additions & 4 deletions
11
vendor/github.hpe.com/hpe/hpc-rabsw-nnf-ec/pkg/manager-fabric/switchtec_mock.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
vendor/github.hpe.com/hpe/hpc-rabsw-nnf-ec/pkg/manager-nnf/file_share.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.