TT#34318 Discontinue repository 'netscript.git'

The content has been moved to deployment-iso.git for mr6.2+

Change-Id: I29df2d55786b80f985919d5b5b3367db5fbb03ce
changes/77/19877/1
Alexander Lutay 7 years ago
parent 82bd20e90c
commit 455e274fa6

@ -1,23 +0,0 @@
# for syntax checks
BASH_SCRIPTS = deployment.sh
NGCP_VERSION ?= $(shell git log --pretty=format:"%h" -1)
NGCP_VERSION := $(strip $(NGCP_VERSION))
syntaxcheck: shellcheck
shellcheck:
@echo -n "Checking for shell syntax errors"; \
for SCRIPT in $(BASH_SCRIPTS); do \
test -r $${SCRIPT} || continue ; \
bash -n $${SCRIPT} || exit ; \
echo -n "."; \
done; \
echo " done."; \
script_version:
echo "Adjust version information string in deployment.sh to ${NGCP_VERSION}"
sed -i "s/SCRIPT_VERSION=\"%SCRIPT_VERSION%\"/SCRIPT_VERSION=${NGCP_VERSION}/" deployment.sh
.PHONY: clean install build syntaxcheck shellcheck script_version
# EOF

@ -0,0 +1,6 @@
repository discontinued
-----------------------
This script deployment.sh has been moved to
Git repository 'deployment-iso' to be builtin
into Install CD image.

7
debian/.gitignore vendored

@ -1,7 +0,0 @@
*.debhelper
*.log
*.substvars
/.debhelper/
/debhelper-build-stamp
/files
/ngcp-netscript/

310
debian/changelog vendored

@ -1,310 +0,0 @@
ngcp-netscript (6.2.0.0+0~mr6.2.0.0) unstable; urgency=medium
[ Manuel Montecelo ]
* [3a7fe2d] TT#25551 Improve the way to detect installed packages
* [4844134] TT#28474 usage of "sed -ie": /etc/default/grube [sic] present in VMs
[ Alexander Lutay ]
* [16e31e8] TT#29056 Add NGCP/GRML boot option ngcpinitsystem to choose the init system
[ Sergii Kipot ]
* [84ddabd] TT#29456 Add netscript-jessie Dockerfile
* [56db1a5] TT#29456 Add netscript Dockerfile for stretch
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 29 Jan 2018 21:54:17 +0100
ngcp-netscript (6.1.0.0+0~mr6.1.0.0) unstable; urgency=medium
[ Sergii Kipot ]
* [803ad45] TT#23052 Use puppetlabs puppet repo instead of PC1
[ Guillem Jover ]
* [291de5e] TT#22072 Update packaging
[ Alexander Lutay ]
* [984feb5] TT#26109 Switch deployment.sh to 'stretch' by default
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Wed, 06 Dec 2017 00:06:57 +0100
ngcp-netscript (6.0.0.0+0~mr6.0.0.0) unstable; urgency=medium
[ Alexander Lutay ]
* [4580172] TT#17961 Use jessie puppetlabs packages for stretch puppet installations
* [d70725a] TT#18174 Fix silent ngcp-installer errors due to forgotten descriptors into chroot
* [843fb05] TT#19158 Fix a85768bc86: debianrepo/sipwiserepo options has '=' at the end
* [cc97907] TT#17961 Installing puppet-agent independently from debootstrap.
* [ade16ba] TT#17961 Unify GPG key fetching code
* [b7802b5] TT#17961 Install dirmngr on Debian Stretch for 'apt-key adv --recv-keys'
* [6d47ca2] TT#20300 Discontinue GRML boot option 'ngcptrunk' (use common 'ngcpvers=trunk')
* [92b0a2d] TT#21004 Update VBoxGuestAdditions from 5.1.14 to 5.1.26
* [0b32246] TT#21805 Trigger next puppet section only if previous one has no errors
* [d58deef] TT#21890 Upgrade debootstrap to 1.0.89 from Stretch (to use sysv in NGCP)
* [4318d13] TT#22415 Retry connect to public GPG keyserver in case of random failures
* [c1aaca9] TT#22650 Fix Carrier installation type debug output
* [7791340] TT#22435 Bypass MANAGEMENT_IP to PRO ngcp-installer (use IP_HA_SHARED IP address here)
* [aefb806] TT#22435 Fix 7791340: do not redefine $MANAGEMENT_IP on Carrier (it is defined already)
[ Michael Prokop ]
* [a85768b] TT#19158 Make check on debianrepo + sipwiserepo boot options more explicit
* [c519bfa] TT#22411 Fix spelling mistakes/typos
[ Sergii Kipot ]
* [3f95ce0] TT#20663 Fix Facter error while running in chroot
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 02 Oct 2017 23:40:50 +0200
ngcp-netscript (5.5.0.0+0~mr5.5.0.0) unstable; urgency=medium
[ Michael Prokop ]
* [7ab7651] TT#16679 Enable stretch-security mirror in sources.list, now being available
* [7c8b874] TT#16679 Enable debian-debug repository for Debian/stretch
[ Sergii Kipot ]
* [447f7f6] TT#5851 Use authentication for gerrit access
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 17 Jul 2017 22:44:29 +0200
ngcp-netscript (5.4.0.0+0~mr5.4.0.0) unstable; urgency=medium
[ Sergii Kipot ]
* [b3ad534] TT#14583 Do not remove puppet code after installation
* [dce4d36] TT#4916 Check time sync between installed server and puppet
[ Alexander Lutay ]
* [459cef9] TT#14516 Add more debug for ngcp-installer execution section from grml-chroot
[ Michael Prokop ]
* [c02a3ab] TT#15829 Wipe any possibly existing LVM/PV label from target disk
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Tue, 16 May 2017 21:38:33 +0200
ngcp-netscript (5.3.0.0+0~mr5.3.0.0) unstable; urgency=medium
[ Alexander Lutay ]
* [34b219a] TT#9718 Decrease amount of shellcheck warnings, part 2
* [6aa501a] TT#9718 Fix shellcheck v.0.3.4-3 warning
* [bb5afae] TT#8883 Add puppet repeat dialog for recovering from Git
[ Michael Prokop ]
* [df1e2e0] TT#11028 Use virtualbox-guest-additions-iso from VirtualBox upstream
* [d539011] TT#12206 Set custom boot option "net.ifnames=0" in GRUB in Vagrant boxes
* [8b8a339] TT#5444 Revert "TT#5444 Debian stretch doesn't have security support (yet)"
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Wed, 22 Mar 2017 10:56:32 +0100
ngcp-netscript (5.2.0.0+0~mr5.2.0.0) unstable; urgency=medium
[ Sergii Kipot ]
* [40345a6] TT#8883 Add puppet repeat dialog
[ Alexander Lutay ]
* [d960d6b] TT#8883 Fix 40345a: fix while condition exit cause
* [ba7c8ff] TT#7473 Ask user confirmation to use 'unsupported' disk
* [3221d72] TT#9718 Decrease amount of shellcheck warnings, part 1
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Fri, 03 Feb 2017 00:36:31 +0100
ngcp-netscript (5.1.0.0+0~mr5.1.0.0) unstable; urgency=medium
[ Alexander Lutay ]
* [e7fac3a] TT#3961 Switch deployment.sh to new puppetlabs mirror
* [92db066] TT#4166 Fail deployment.sh if ngcp-dumps-upload-to-sipwise has failed
* [6a04bd7] TT#3961 Switch deployment.sh to puppet2.mgm
* [d8b5094] TT#5444 Support http-only Debian mirrors via debianrepotransport boot option
* [24852d0] TT#5444 Debian stretch doesn't have security support (yet)
* [f10ee99] TT#5444 Ensure ca-certificates is available for TLS support
* [9cd97db] TT#5444 Enable support for bootstrapping stretch with older debootstrap versions
* [7518fc8] TT#5444 Add boot option debootstrapkey to fetch remote GPG key
* [cee7feb] TT#5851 Stops using git deamon on git.mgm (wget it from builder.mgm)
[ Sergii Kipot ]
* [ba06d2b] TT#4166 Add step to prepare translations
[ Michael Prokop ]
* [af44f36] TT#5444 hostname.sh init script no longer exists with stretch, adjust
* [efe1466] TT#5444 Fix another instance of /etc/init.d/hostname.sh for stretch
* [ba081be] TT#5444 Debian stretch doesn't have security support (yet)
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Thu, 17 Nov 2016 23:16:19 +0100
ngcp-netscript (5.0.0.0+0~mr5.0.0.0) unstable; urgency=medium
[ Kirill Solomko ]
* [42447d5] MT#21439 remove sipwise.cnf retreival and ngcp-sync-constants invoke
[ Alexander Lutay ]
* [360825c] MT#22131 Do not call 'apt-get update' inside chroot on virtualbox installation stage
-- Alexander Lutay <alutay@sipwise.com> Tue, 27 Sep 2016 15:38:58 +0200
ngcp-netscript (4.6.0.0+0~mr5.0.0.0) unstable; urgency=medium
[ Alexander Lutay ]
* [acbafb4] MT#18723 Fix shared IP parsing logic for carrier
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 01 Aug 2016 16:28:59 +0200
ngcp-netscript (4.5.0.0+0~mr4.5.0.0) unstable; urgency=medium
[ Alexander Lutay ]
* [b1d8d52] MT#17213 Switch GRML disaster recovery to new puppet-agent
* [07895a9] MT#18723 Add ha_int shared IP to PRO
* [7ed4e3b] MT#18723 Add ability to redefine HA shared IP using GRML boot option
* [41b6375] MT#19613 Add grml boot option targetdisk to perform disaster recovery on non-RAID drives
* [2492773] MT#17213 Discontinue puppetinithiera GRML boot option
* [2983472] MT#17213 Discontinue puppetrescuedrive GRML boot option
[ Sergii Kipot ]
* [8e0371f] MT#17213 Add lsb-release package
* [92ba870] MT#17213 Add 'apt' to --tags
* [dd18013] MT#17213 Put puppet code into /etc/puppetlabs/code/environments
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 23 May 2016 18:50:10 +0200
ngcp-netscript (4.4.0.0+0~mr4.4.0.0) unstable; urgency=medium
[ Guillem Jover ]
* [a2a3847] MT#17077 Install ifenslave instead of ifenslave-2.6 on jessie+ systems
* [1c2e851] MT#16473 Convert debian/copyright to machine-readable format
[ Michael Prokop ]
* [78eae68] MT#17215 Skip LVM workaround if FAI's setup-storage >=5.0 is present
* [c17dfa6] MT#17529 Create partitions using optimal partition table alignment
* [8647e35] MT#16911 Depend on grml-debootstrap >=0.74, providing grub-pc/install_devices support
* [430f2a3] MT#17699 Bump Standards-Version to 3.9.7
[ Sergii Kipot ]
* [0eb92e5] MT#17213 Add puppet status for debug output
* [097a4de] MT#17213 Add two-staged puppet run
[ Alexander Lutay ]
* [0b32e55] MT#17213 Add GRML boot option 'puppetserver'
* [aa73619] MT#17213 Force deploy_status 'error' in case of non-success Puppet exit code
* [f4cc0e8] MT#17213 Do not overwrite 'error' deploy status + fix factpath value
* [4040bfe] MT#17213 Add Puppet install from Git repo and support of hiera rescue drive
* [44cda64] MT#17213 Add support of Sipwise Hiera Rescue drive on USB or CDROM
* [a9f3788] MT#17213 Rename default Sipwise Hiera rescue drive to 'SIPWRESCUE*'
* [f96b830] MT#17673 Set DEBIAN_RELEASE=jessie for deployment.sh (NGCP mr4.2+ is jessie based)
* [9835b80] MT#17673 Switch deployment.sh self-updates to available repositories
* [ec8d6ea] MT#17673 Fix 9835b80: augeas-tools installation from ${DEBIAN_RELEASE}
* [e4100cd] MT#17849 Remove PXE handling from deployment.sh, ngcp-installer cares about iPXE
* [766b8d7] MT#17673 Stops mixing installer.log and deploymen debug log as it consuses often
* [fa36ee8] MT#17673 Bypass deployment.sh debug mode to ngcp-installer (if enabled)
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 21 Mar 2016 22:21:45 +0100
ngcp-netscript (4.3.0.0+0~mr4.3.0.0) unstable; urgency=medium
[ Alexander Lutay ]
* [b557563] MT#16489 Switch Vagrant VMs from .ssh/authorized_keys to .ssh/sipwise_vagrant_key
* [35df7a5] MT#16489 Fix typo and default permissions for .ssh/sipwise_vagrant_key
* [034b6d3] MT#16489 Fix plain vagrant VMs (enable ssh key /root/.ssh/sipwise_vagrant_key)
* [828b767] MT#16489 Fix plain squeeze plain vagrant VM
* [da4b25d] MT#16683 Enable repository jessie-security for upcoming mr4.2
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Wed, 16 Dec 2015 09:20:37 +0100
ngcp-netscript (4.2.0.0+0~mr4.2.0.0) unstable; urgency=medium
* New release.
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 12 Oct 2015 15:36:25 +0200
ngcp-netscript (4.1.0.0+0~mr4.1.0.0) unstable; urgency=low
* New release.
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Mon, 13 Jul 2015 15:20:08 +0200
ngcp-netscript (4.0.0.0+0~mr4.0.0.0) unstable; urgency=medium
[ Alexander Lutay ]
* [d689c13] MT#6557 Move sipwise user creation to ngcp-installer
* [5d64bd1] MT#12195 Add support for NGCP PPA repos to deployment.sh (testing installer)
* [87927cf] MT#10697 Add ngcpppainstaller boot option
* [419689d] MT#10697 Add PPA debug details to 'green hat'
* [64dc77b] MT#8883 Update md5sum of md5sum_sipwise_key_expected
* [e5664d5] MT#8883 Fix 43c9f159: CE Install CD missed pre-scripts/install-sipwise-key.sh
* [364a434] MT#13637 Install apt-transport-https in GRML if not available (using http)
[ Victor Seva ]
* [2a9cf92] MT#10697 fix 87927cf1fcb45. Don't set ngcpppainstaller from ngcpppa
[ Michael Prokop ]
* [7340bf2] MT#12537 Workaround for GRUB installations to virtio disks with lvm >=v2.02.106
* [adcb72d] MT#12713 Support jessie deployments using puppet
* [4daf950] MT#12713 jessie support: do not fail under needrestart
* [81900e0] MT#13637 Install apt-transport-https, switch to HTTPS + provide sipwiserepotransport boot option
* [c938cea] MT#13711 Set up /etc/apt/apt.conf.d/42_ngcp_aptproxy on fresh lenny/squeeze installs
-- Alexander Lutay <alutay@sipwise.com> Mon, 13 Jul 2015 11:46:46 +0200
ngcp-netscript (3.9.0.0+0~mr4.0.0.0) unstable; urgency=low
[ Alexander Lutay ]
* [b4bb192] MT#9695 Add boot options ngcpnomysqlrepl for PRO reinstall
* [d65a545] MT#11263 Remove adjust_for_low_performance compatibility code
* [21bf493] MT#11263 Remove enable_vm_services compatibility code
* [772c0ea] MT#11263 Small restyling for better code readability (ngcp-installer-cmdline.log)
* [d1321a1] MT#11263 Remove compatibility code for ngcp-mediaproxy-ng
* [11458cf] MT#11263 Remove compatibility code (function adjust_hb_device)
* [094a34d] MT#11263 Introduce CARRIER_EDITION to simplify carrier detection in code
* [cd161f7] MT#11263 Fixed definition of CARRIER_EDITION variable
* [3b73ba8] MT#11263 Small layout changes for logo header
* [8ea34f8] MT#11263 Remove boot option ngcpsystemd (replaced by Jessie VMs)
* [68673df] MT#10093 Bypass ngcp-installer PXE specific resources for Carrier 3.x
* [b54a156] MT#10093 Fix PXE_IMAGES_PATH handling (create folder + read-only)
* [daf8a3c] MT#11263 Remove old code 'dkms install ngcp-rtpengine'
* [cbdb868] MT#11263 Remove old code: boot option 'ngcpmaster'
* [e75b014] MT#11263 Switch hardcoded list of service to system-tools/ngcp.inc
* [f919236] MT#11263 Move db/cfg upload to separate script ngcp-dumps-upload-to-sipwise
* [bfd912d] MT#11263 Typo fix for previous commit
* [3935632] MT#11263 Start/stop glusterfs-server manually for manipulations with network.yml
* [710440b] MT#11493 Updated IBM chassis slot detection
* [f08477d] MT#11455 Use install_sipwise_key for grml_debootstrap_upgrade
* [43c9f15] MT#11455 Clean up keyring usage flow
* [bbb0367] MT#11947 Do NOT force PRO_EDITION if blade chassis detected
* [e51ca3f] MT#11947 Re-download sipwise.gpg if file is corrupted
* [9112067] MT#9223 Commit /etc/* changes using etckeeper for Vagrant/VirtualBox
* [a0c272a] MT#9249 Move network.yml commands from deployment.sh to installer.git
* [fbfcb7f] MT#9249 Add boot option ngcpfillcache & stop changing hosts/interfaces on Carrier
* [354bd2c] MT#9249 Add more defaults and boot options for network.yml on Carrier
[ Michael Prokop ]
* [cfd2239] MT#11393 Install vlan and related network tools on all systems
* [05c83c8] MT#7335 Use our own Debian/jessie mirror
* [f40a15b] MT#7335 Disable security mirror when installing jessie
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <jenkins@sipwise.com> Wed, 18 Mar 2015 14:06:11 +0100
ngcp-netscript (3.8.0.0+0~mr3.8.0.0) unstable; urgency=medium
* Initial release
-- Victor Seva <vseva@sipwise.com> Thu, 22 Jan 2015 16:58:59 +0100

1
debian/compat vendored

@ -1 +0,0 @@
10

17
debian/control vendored

@ -1,17 +0,0 @@
Source: ngcp-netscript
Section: admin
Priority: optional
Maintainer: Sipwise Development Team <support@sipwise.com>
Homepage: https://www.sipwise.com/
Standards-Version: 3.9.8
Build-Depends:
debhelper (>= 10),
git,
Package: ngcp-netscript
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
Description: NGCP deployment scripts
scripts needed to install Sipwise NGCP system.

10
debian/copyright vendored

@ -1,10 +0,0 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://www.sipwise.com/
Upstream-Contact: Sipwise Development Team <support@sipwise.com>
Files: *
Copyright:
Copyright © 2015 Sipwise GmbH, Austria
License: Sipwise-proprietary
All rights reserved. You may NOT copy, distribute or modify without
prior written permission from Sipwise GmbH, Austria.

1
debian/dirs vendored

@ -1 +0,0 @@
/usr/share/ngcp-netscript

1
debian/install vendored

@ -1 +0,0 @@
deployment.sh usr/share/ngcp-netscript/

19
debian/rules vendored

@ -1,19 +0,0 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
DEBVERSION:=$(shell head -n 1 debian/changelog \
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
ifneq ($(GIT_COMMIT),)
export NGCP_VERSION := $(GIT_COMMIT)
else
export NGCP_VERSION:=$(DEBVERSION)
endif
%:
dh $@
override_dh_auto_configure:
echo "NGCP_VERSION=$(NGCP_VERSION)"
make script_version

@ -1 +0,0 @@
3.0 (native)

@ -1 +0,0 @@
extend-diff-ignore=.gitreview

File diff suppressed because it is too large Load Diff

@ -1,33 +0,0 @@
# DOCKER_NAME=netscript-stretch
FROM docker.mgm.sipwise.com/sipwise-stretch:latest
# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2018-01-22
RUN apt-get update && apt-get install --assume-yes git make
RUN echo './t/testrunner' >>/root/.bash_history
WORKDIR /code/
################################################################################
# Instructions for usage
# ----------------------
# When you want to build the base image from scratch
# jump to the next section if you don't want to build yourself!:
#
# % docker build --tag="lua-ngcp-kamailio-stretch" -f t/Dockerfile .
# % docker run --rm -i -t -v $(pwd):/code:rw lua-ngcp-kamailio-stretch:latest bash
#
# Use the existing docker image:
# % docker pull docker.mgm.sipwise.com/lua-ngcp-kamailio-stretch
# NOTE: run the following command from root folder of git repository:
# % docker run --rm -i -t -v $(pwd):/code:rw docker.mgm.sipwise.com/lua-ngcp-kamailio-stretch:latest bash
#
# Inside docker (the command is in history, just press UP button):
# ./t/testrunner
#
################################################################################

@ -1,21 +0,0 @@
#!/bin/bash
# This script is used for running the tests with proper arguments
# from within Jenkins
set -e
set -u
if [ -d /results ] ; then
# Running from Jenkins (RW)
RESULTS="/results"
cd "/code"
else
# Running locally in Docker
RESULTS="./results"
mkdir -p "${RESULTS}"
fi
make
make syntaxcheck
make script_version
Loading…
Cancel
Save