Commit Graph

15 Commits

Author SHA1 Message Date
Sergiy Markin c052d40277 Pegleg focal upgrade
This PS delivers focal version of Pegleg image and has the following updates:
- removed release-notes-jobs-python3 gate job because of incompartibility with Sphinx from current requirements
- added focal gate node and switched gates to use it
- added bindep.txt file into project root
- added bindep role into gate jobs
- added ubuntu_focal dockerfile for building focal pegleg image
- switched tox profiles to py38
- uplifted references to shipyard_client, promenade and deckhand projects
- resolved required dependencies conflicts by weakening constraints in Pipfile
- updated tox profile update-requirements for generate requirements.txt and test-requirements.txt
- generated new Pipfile.lock, requirements.txt and test-requirements.txt from Pipfile
- switched tox profiles to use requirements.txt and test-requirements.txt instead of pipenv because of upstream zuul nodes Pypi mirrorring issue
- updated reference to seaworthy site certificates in treasuremap repo
- fixed unit tests issues caused by pytest/mock updates and new openssl version
- fixed focal docker image publishing issue
- added multiprocessing into coverage tests running process
- made unit and coveraget tests more verbosive

Change-Id: I5c4c519dc725cfb8c7b4e14756347c9336028aff
2023-05-02 15:05:45 +00:00
Rajeshwari Dharwadkar 6ee2aaf845 Support pegleg to run on opensuse leap15 image
Add DISTRO parameter to support multiple distros
Add Dockerfile for opensuse to build leap 15 image.

Change-Id: I7a529476937494e042a4801117489325aa6621c7
2019-05-14 09:41:21 -07:00
Ahmad Mahmoudi eb0deeb9e5 Pegleg encryption of site secrets
Added secret encryption/decryption to pegleg cli.

Change-Id: I95b993748d99fc4398eee1d1c59e74f382497f74
2018-10-30 16:53:51 +00:00
Kaspars Skels 87b385be60 Enable override of terminal options for pegleg.sh
This takes care of removing -t option when running the script
with automated system (e.g. Jenkins)

Change-Id: I087b32d2635251f967a8f78c4d1f945827573be6
2018-09-22 11:16:06 -05:00
Kaspars Skels ac6297eae6 Add ~/.ssh mount to pegleg.sh
New Pegleg supports feature of pulling git repos.
This mount passes SSH keys to the container.

Change-Id: I6606ac44469099d8560e89482bba98d7bb9c8dbf
2018-09-07 10:31:35 -05:00
Kaspars Skels 4245926e68 Fixes for pegleg.sh
Update image reference to quay.io/airshipit vs quay.io/attcomdev.

Set host networking for running pegleg container.
Recent Ubuntu releases are using 127.0.0.53 in /etc/resolv.conf,
and host networking mode is a way to work around local DNS.

Change-Id: Ib3e39e6f83e0bb7a50f92f85b791c8d0b59664d1
2018-08-23 16:36:42 -05:00
Felipe Monteiro 22584dfdb8 trivial: Update default image reference in pegleg.sh
This patch set updates the default image reference used by
pegleg.sh from a downstream reference to the appropriate
upstream reference.

Change-Id: Id0198c6b69ee145901dae208ab9584e102f39827
2018-08-16 03:17:49 +00:00
Anderson, Craig (ca846m) 83300a3da3 Simplify pegleg.sh usage
Remove unused code. Set WORKSPACE default to $PWD and set workdir in the
container, so that users of pegleg.sh do not need to have any knowledge of
the internal "/worksapce" mountpath inside the container, and in general
simplify the execution of container command line tools.

Change-Id: I56dea7d116f88df303aaeca8dc25a7b24cb291a6
2018-06-22 16:00:09 -07:00
Bryan Strassner cc64765075 Pegleg use artifactory image
The referenced quay.io image was no longer valid. Changed to
use artifactory iamge in atlantafoundry.

Change-Id: I29b384271e5f65e7609ffae52a553bf82f7a0d32
2018-04-11 09:38:46 -04:00
Scott Hussey 8224e6fc21 Support multiple repo for document source
- A single primary repo must be specified which
  holds the site_definition.yaml file.
- Zero or more auxiliary repos can be specified which
  have additional documents used in the site definition.
- Collected documents are written to a file named after their
  source repo. Collection must always be given a output directory
  rather than a single file now.

Change-Id: Iceda4da18c4df45d917d88a49144e39e3f1743ed
2018-03-12 15:30:02 -05:00
Scott Hussey b3ea5de2b8 Update to UCP layout standard
- Create Makefile for image build
- Move Dockerfile into images/pegleg
- Move pegleg module src to src/bin/pegleg

Change-Id: I8fd728888ecfd75fe857da253d6c8cd4fd83f89c
2018-03-05 07:42:00 -06:00
Pete Birley 168c4aa3c8 Docker: use host network for build and none for running pegleg
This PS updates the pegleg script to build and run the docker
image/container with host networking/no networking - enabling it
to be used seamlessly on k8s hosts that do not make use of dockers
iptables rules.

Change-Id: Ia08b805f79ec8f82f3555856f316921f7eddb064
2018-03-02 20:46:51 -05:00
Alan Meadows bf9e121f6f Add site render using deckhand and use deckhand for linting
Change-Id: I8ba6abe6d93db12ded63817a1f5a79fe55d73786
2018-02-28 14:47:29 +00:00
Craig Anderson bc968e2746 Add docs and remove AIC references
Change-Id: I283954d87ef02408859f75cbc21250a1621ad001
2018-02-16 14:48:48 -05:00
Craig Anderson e59c4fbf2a Twigleg to Pegleg transition
Change-Id: Ice500c7e7e30609827d69dc0ae178b627ea046d9
Author: mb874d@att.com
2018-02-01 15:26:59 -08:00