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
#!/bin/bash | |
# SPDX-License-Identifier: EPL-1.0 | |
############################################################################## | |
# Copyright (c) 2022 The Linux Foundation and others. | |
# | |
# All rights reserved. This program and the accompanying materials | |
# are made available under the terms of the Eclipse Public License v1.0 | |
# which accompanies this distribution, and is available at | |
# http://www.eclipse.org/legal/epl-v10.html | |
############################################################################## |
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
FROM centos:7 | |
SHELL ["/bin/bash", "-c"] | |
ARG SIGN_DIR="${WORKSPACE}/m2repo" | |
ARG GIT_TAG="" | |
RUN echo $'[fedora-infra-sigul] \n\ | |
name=Fedora builder packages for sigul \n\ | |
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/epel\$releasever-infra/latest/\$basearch/ \n\ | |
enabled=1 \n\ |
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
diff --git a/templates/builder.json b/templates/builder.json | |
index 0fa217d..c1eb535 100644 | |
--- a/templates/builder.json | |
+++ b/templates/builder.json | |
@@ -56,6 +56,7 @@ | |
{ | |
"type": "ansible", | |
"playbook_file": "provision/local-builder.yaml", | |
+ "extra_arguments": ["-vvvv"], | |
"ansible_env_vars": [ |
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
## pyenv configs | |
# Set the python version available under pyenv | |
export PYENV_ROOT="/opt/pyenv" | |
export PATH="$PYENV_ROOT/bin:$PATH" | |
set_python_version="3.9" | |
# Takes 3.x and returns 3.x.y from the available py3.x versions on the system | |
pyver() { grep "^$(echo ${1//[a-zA-Z]/})\(\..*\)\?\.[0-9]\+$" <(pyenv versions | sed 's/[[:alpha:]|(|)|/||*|[:space:]]//g'| tr -d ' ') | sort -V | tail -n 1 ; } | |
if command -v pyenv 1>/dev/null 2>&1; then | |
eval "$(pyenv init -)" |
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
#!/usr/bin/no-execute | |
# shellcheck shell=bash | |
# SPDX-License-Identifier: EPL-1.0 | |
############################################################################## | |
# Copyright (c) 2019 The Linux Foundation and others. | |
# | |
# All rights reserved. This program and the accompanying materials | |
# are made available under the terms of the Eclipse Public License v1.0 | |
# which accompanies this distribution, and is available at |
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
#!/bin/bash | |
# Script to run the sigul signing within the docker image | |
set -x | |
echo "Sign files in: $SIGN_DIR" | |
set -e # Fail immediately if any if signing fails | |
find "${SIGN_DIR}" -type f ! -name "*.asc" \ | |
! -name "*.md5" \ | |
! -name "*.sha1" \ |
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
FROM centos:7 | |
SHELL ["/bin/bash", "-c"] | |
RUN echo $'[fedora-infra-sigul] \n\ | |
name=Fedora builder packages for sigul \n\ | |
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/epel\$releasever-infra/latest/\$basearch/ \n\ | |
enabled=1 \n\ | |
gpgcheck=1 \n\ | |
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS \n\ | |
includepkgs=sigul* \n\ |
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
builder]$ ./check-bashisms.sh | |
could not find any possible bashisms in bash script ./jenkins-init-scripts/mininet-ubuntu.sh | |
could not find any possible bashisms in bash script ./jenkins-init-scripts/robot.sh | |
could not find any possible bashisms in bash script ./jenkins-init-scripts/builder.sh | |
could not find any possible bashisms in bash script ./jenkins-init-scripts/devstack.sh | |
could not find any possible bashisms in bash script ./jenkins-init-scripts/docker.sh | |
could not find any possible bashisms in bash script ./packer/provision/system_reseal_local_env.sh | |
could not find any possible bashisms in bash script ./packer/provision/rh-user_data.sh | |
could not find any possible bashisms in bash script ./packer/provision/system_reseal.sh | |
could not find any possible bashisms in bash script ./packer/provision/null_data.sh |
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
kubectl get po -A -o wide | |
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES | |
default sdnc-opendaylight-0 0/1 Pending 0 37m <none> <none> <none> <none> | |
kube-system calico-kube-controllers-7b67cb9dd4-vnfm8 0/1 Pending 0 44m <none> <none> <none> <none> | |
kube-system calico-node-9kwq4 1/1 Running 0 40m 10.0.0.50 sandbox-packaging-k8s-odl-depl-ycser6ofq7ic-node-1 <none> <none> | |
kube-system calico-node-jvpgh 1/1 Running 0 40m 10.0.0.59 sandbox-packaging-k8s-odl-depl-ycser6ofq7ic-node-0 <none> <none |
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
#!/bin/bash | |
# SPDX-License-Identifier: EPL-1.0 | |
############################################################################## | |
# Copyright (c) 2017 The Linux Foundation and others. | |
# | |
# All rights reserved. This program and the accompanying materials | |
# are made available under the terms of the Eclipse Public License v1.0 | |
# which accompanies this distribution, and is available at | |
# http://www.eclipse.org/legal/epl-v10.html | |
############################################################################### |
NewerOlder