Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voxpupuli/container-puppetdb

Container image for PuppetDB
https://github.com/voxpupuli/container-puppetdb

(CPR-718) Update consul entrypoint to correctly determine our IP address

The output for `ifconfig` changed

f0eebf8f8b7bf244cf689fc96a859a5d475ca02a authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Add Puppetserver to Docker specs

- This is necessary to be able to test the USE_PUPPETSERVER
functionality

db10536505fbeba3285d2f445c8de139d82da8de authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Docker set standard log config locations

- Container was setup to use /etc/puppetlabs/puppetdb/logging for
storing logging config. Us...

17f368930b6ea2bb5d20bc25a806ddc951647fa7 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Add environment variable to allow you to specify a network device other than eth0

6b40f5db4ea463214ff9b06577c7bf9b64644d94 authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Move env variables to the dockerfile for more clarity

4c23fc0e897055df16007f54a270de2d47370afc authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Remove Docker log VOLUME

- Reconfigure logs for /opt/puppetlabs/server/data/puppetdb/logs
rather than /var/logs/puppe...

65d3acbdf3f44c3820d2cd7bf367be112308fb93 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Don't create Docker bind mount LCOW specs

- It turns out that LCOW has a bug with permissions on Docker VOLUMEs
which is why Postgres ...

1d44bb42a36a6ac79fa39f931d1938c168d98056 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Explicitly specify Docker VOLUMEs

- Based on the container configuration, there are 3 separate locations
where persistent data...

d52c685dbff191f04b2d570ac4f672261b456234 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Add Postgres pg_isready based healthcheck

- pupperware stack is using this as a healthcheck, which allows
replacing any calls to PDB s...

7d94e550c6b557c9985c0c896fe489f4e50ea430 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Fix Docker ssl-setup.sh for Debian / Dash

- When the base container image was changed from Alpine Linux to
Debian Slim Buster in #3040...

6639c4ac9cbfcfc55f8c0ba7c2a1d2b4d34f0545 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Update Docker Postgres healthcheck

- pg_isready is insufficient for determining that the Postgres database
is "healthy", since ...

1a907cdc1d014127cf99cfc104cdc3ea3c2ae71d authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Use updated shared spec helpers

- docker_compose_up helper does some extra logging
- use require_test_image and docker_compose...

7131e1c3091b9a543215ec4c0bf268f01daf4a9f authored about 5 years ago by Iristyle <Iristyle@github>
(maint) add --fail-fast to rspec

- When the stack fails to start properly (for a variety of reasons),
the suite will fail qui...

f566b69a0c467f7268bf71fea81980704ec13f2f authored about 5 years ago by Iristyle <Iristyle@github>
(MAINT) Remove --fail-fast

We already fail fast when the :before block errors, and we'd prefer to
run all tests if we get o...

23af04fdb76119fa82630f3d23b583c83176e8f6 authored about 5 years ago by Nate Wolfe <[email protected]>
(maint) Remove explicit Docker spec timeouts

- wait_on_service_health now sets the default timeout based on the
definition of the healthc...

12bd0f41723d41cc83d04140e98925de3cfa10dd authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Switch PDB container off of Alpine

- Alpine seems to still be having issues with DNS resolutions inside
an LCOW environment. In...

b7731d87e443e0e9ea3c711e911a6ccf1da520b2 authored about 5 years ago by Iristyle <Iristyle@github>
(MAINT) Fix postgres ENV variable

Using an ENV variable in the definition of another ENV variable in the
Dockerfile doesn't work a...

5cd8f8c9948f61809ffc40d4a14c245d88a33324 authored about 5 years ago by Nate Wolfe <[email protected]>
(maint) Update Docker spec_helper usage

- wait_on_puppetdb_status is deprecated in favor of using generic
HEALTHCHECK waiters that r...

3fae67ea748def1a1ca4aa71f03bc9cb55690799 authored about 5 years ago by Iristyle <Iristyle@github>
(MAINT) Use latest ssl.sh in image

The new version fails immediately if the CA already has an unsigned CSR
for this host, instead o...

3dc85fa79be8a18e5d4957b66ccc465c42ddb7b0 authored about 5 years ago by Nate Wolfe <[email protected]>
(maint) If consul is enabled, run the http healthcheck every 10 seconds

We should run this check every 10 seconds to
decrease latency with consul knowing what services/...

cdbe6d887e4b9d776d2c02c15305aa9bde62e85c authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Use explicit hostname/network for puppetdb tests (#2969)

* (maint) Use explicit hostname/network for puppetdb tests

1e935bebcc1604e61e61db70414762f86000c846 authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Update Makefile / .travis.yml to use rvm

Bundle installing / bundle execing with an RVM project in travis gets
complicated when there's a...

f7d937f43304e487807e59d3bf48f6a58c5600fe authored about 5 years ago by Morgan Rhodes <[email protected]>
(MAINT) Use build.ps1 from pupperware gem

ac4514934eda1ee7fabe9d46d330ac8700246af9 authored about 5 years ago by Nate Wolfe <[email protected]>
(maint) Only query host A records in Docker waiter

- The host command may return non-zero exit codes when the given host
is missing certain rec...

62b0ba878cfd16c5f377240bde0c08a02a30eafa authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Exit Docker wait script properly

- Running `dig` always yields a non-zero exit code. Capture the exit
status of the wtfc.sh h...

2a6b221d60bf31cc5cea5b6e523505effa375142 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Docker dig names prior to running host

- Unexpectedly, a Travis failure was also encountered where 30 seconds
of running `host post...

970e49d691b4098bcaefc8bddb79af2c871433bd authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Add Docker config for Puppetserver port

- New variable `PUPPETSERVER_PORT` is added that defaults to 8140

02dbc323c85ee63b3d85f96a1331c950d1f980b4 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor host wait ping to DNS lookup

- Rename wait_for_host to wait_for_host_name_resolution to better
reflect its purpose.

C...

7ff10c62ce3655a23b76a13768cfd998f38dc446 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) On container startup, lookup Postgres DNS

- There appear to be many reported issues against Alpine DNS. This
is an attempt to work aro...

148e4bc7dd49855e4efab6ef21c355f1b385bdab authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Make Docker Postgres configurable

- Prior to this commit, the wait script would wait on the host named
'postgres' with a fixed...

a39fdb28f9bc6e7e199d6355ac3dad6188cda550 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Upgrade to latest copy of ssl.sh

- This version adds 5 curl retries with a delay of 2 seconds to work
around transient issues...

41053b53b39d375f9a27224a39289e76980d58d1 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor PDB Docker HEALTHCHECK

- The previous format can confuse LCOW and result in errors like:

CreateProcess: failure in...

e6494c43a8513acd8b6ec756a8df1fc99d213d36 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Remove artifacts to build nightly containers

We haven't built these for quite a while and there's been drift between
the main containers and ...

a85664b0ef07627acd01f7de9f65aa78b820b67d authored about 5 years ago by Morgan Rhodes <[email protected]>
(MAINT) Use new ssl.sh that gets the CRL

The CRL isn't necessary here in PuppetDB but update to the latest
version of this script anyway ...

9ce7b60e1f0709c24c23946ba8812efa9abff0b0 authored about 5 years ago by Nate Wolfe <[email protected]>
(maint) Update the check when consul is enabled

We were checking for an incorrect string to tell when puppetserver is up
and running, causing PD...

0975ef7c4e231b1df55252f7782406b57814b841 authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Remove inaccurate Docker script note

- Nit

ed02ec8a263cb7da1320a7c25bd623b97d193bf3 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Properly perform health checks

- After some fumbling around with @underscorgan, we determined that the
wtfc code doesn't pr...

05e2335b437f0d3b9fb4646005133f27d1477186 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Make PDB wait on dependent services

- Until some of the PDB code is more resilient to Postgres,
Puppetserver and Consul starting...

919f2ba39eec8746e42b477e3c3a1df9b326730d authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor Docker specs to use shared gem

- All shared container helper methods have been extracted so that they
can be consumed acros...

e659d792f4fe9e94f97880750290c38a38325d40 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Increase default PDB Postgres wait time

- When firing up the PDB container, it was waiting 90 seconds by
default for Postgres to bec...

bc601ced9799db949d5d4805587d5c970ecf0fff authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Add env var support to Docker run_command

- Sometimes it's useful to pass in additional env vars, so support
that

375cd78d49f9d650c6d1774ba84faacb84291af4 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Improve Docker spec helper / cleanup

- Ruby added a feature to report on all exceptoins in threads.

Intermittently the suite wil...

c9fdf80546007bcb8678b8bdda383e69640eb2bb authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Clean up Postgres tests / wait on exts

- Given before(:all) waits for the puppetdb database to be created in
Postgres, there's no n...

262545f9245e156b3dc89bf7ded8c6b0d0c1d732 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor PDB specs to use docker-compose

- Much easier to describe the cluster in a compose file and start it
that way than intersper...

469df8e95036bde2c7a5f81773dfeedb4709f47c authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor start_puppetdb waiting

- The name start_puppetdb is misleading, as PDB has already started,
but is not yet running ...

cd65ae7270edf0568d2ceb137c398b1d8a37e392 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor test suite failure modes

- Because of how exceptions are handled, it's not easy to immediately
fail the suite when a ...

4bbfea7617b633943273eeb7060de9efb68c278c authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Randomize the Postgres data volume on disk

- When test suites fail, they may leave the Postgres container running
which locks files on ...

6244a144fce32e3432b2d2df5960bbe9aff66d3c authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Add more information on supported environment variables

49c7accbeb4fe4c6908c946323d837dc16138086 authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) enable IP anonymization

ca0d879b8dfbbbdf1171d108689452fee14a5395 authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Move Docker wait from SSL to wait script

- Centralize waiting operations in 10-wait-for-hosts.sh by moving
any waiting out of 30-conf...

11b45d42dfc7b9be114b77aa219cf0503d9628d2 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Switch Docker image to Linux Postgres

- When running on Windows RS5 builds - i.e. Windows 10 1809 OR
Windows Server 2019, the Linu...

4ff98c4c82202445ee1d85fa81799bed397d4361 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Randomize Docker test network name

- When prior runs fail they may leave the puppetdb_test_network behind
which causes subseque...

9df1da878cfac9232f18894e4b171c7a148b15c6 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Prune Docker volumes / networks

1ebbacce2dd0f64a3cb761825facf3d4520da0be authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Wait on Postgres port to be listening

- In Pupperware tests, waiting on the puppetserver to be listening
introduces additional wai...

ebdc4f2d2919981f34801e8bef00278e7d811706 authored about 5 years ago by Iristyle <Iristyle@github>
Add sync to prevent a 'Text file busy' error

- In rare situations running chmod and the script directly afterwards
causes a 'Text file bu...

e5d96822c7d64c87536ba7d3f4c801b221725e5c authored about 5 years ago by Markus Opolka <[email protected]>
(maint) Add documentation about analytics and disable them by default

02803194047784bbe8f5cc4ab641826f67a9edfb authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Fix unquoted Docker PDB health wait

- Because neither Consul or Puppetserver are enabled in the test suite
a simple test was use...

d16b1eb1b52cab15a621120677abcb380ea73516 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Rename container analytics variable for more consistency

The variable `PUPPERWARE_DISABLE_ANALYTICS` has been renamed to
`PUPPERWARE_ANALYTICS_ENABLED`. ...

686fa264ad3fb4d7b13e273bf1011f3afc3de04d authored about 5 years ago by Morgan Rhodes <[email protected]>
(maint) Fail Docker tests if unable to setup

- If a network or any container fails to initially provision, which
can be due to the same r...

83f4ad484bafb40afa8b0c0fd4ab95a3b351be9a authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Additional debug output from Docker specs

- log rspec version
- add `gem env` output

50e40de0f0383ee79c5b94e611781dd8d436dabd authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Emit container logs during teardown

- Copy in some of the helper code form pupperware so that when things
fail, there's some use...

e1f380a938be547491e1d6f37be42cba956b0b56 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Update Docker command run helper

- Capture stdout as well for the sake of commands that expect to
use output of one command i...

b4626dad1b15f03cfb209ba6be04107b9f509048 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor Docker run_command to spec_helper

- Done for consistency with pupperware
- Switch `;` to `and` to appease rubocop

083102594934aeaefc5904e64613889110c0be8e authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Move generic Docker helpers to spec_helper

- This code is clearly generic and belongs in helper file

98a1d1c2571a13291f6c031a5d9dad7a2eb21679 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Refactor Docker test CLI invocations

- Move from using %x to popen2e

%x seems to be causing problems with Azure runs, causing fa...

ac2020a1da3329af15debe8e69729b4345047d43 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Setup Docker PuppetDB LOGDIR / add logging (#3132)

(maint) Setup Docker PuppetDB LOGDIR / add logging

964308580d0054114b524d0daa4356595deb44a3 authored about 5 years ago by Ethan J. Brown <[email protected]>
(maint) Add Java GC logs to Docker container

- Configure more like pe-puppetdb, adding GC logs to the appropriate
output directory

8f51c2d2f7b24b30be8a80d8d4d129128ed1f321 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Setup PuppetDB LOGDIR / add logging

- Configure open source PDB similarly to pe-puppetdb, to:

* be consistent between environme...

d9fab7fe1672d5583a6f68c50b28c4328491ddf7 authored about 5 years ago by Iristyle <Iristyle@github>
(maint) Emit docker build command line

2fa4f1d5488f216bf3b101afe4f554c9ff006103 authored about 5 years ago by Iristyle <Iristyle@github>
(CPR-718) Add resiliency for consul ipaddress checks (#3116)

(CPR-718) Add resiliency for consul ipaddress checks

76a4224791588fbc75fae8c7f2bfb98c6b056f63 authored about 5 years ago by Ethan J. Brown <[email protected]>
(maint) Decrease healthcheck max wait to 5m

- Reduce both the start period by 2m and increase the retries
by 1m to overall reduce wait t...

e2c7220e80cc5b1c12aca3b08f03d56bfdc045e1 authored about 5 years ago by Iristyle <Iristyle@github>
Merge pull request #3110 from nwolfe/maint/master/gem-groups

(MAINT) Group gem dependencies

b9be1704a61e64f09ccc103e846bcd8b188b059b authored about 5 years ago by Nate Wolfe <[email protected]>
(CPR-718) Add resiliency for consul ipaddress checks

725ebc14a9e2c400697220d45cdb1c937cb3c1d7 authored about 5 years ago by Morgan Rhodes <[email protected]>
(PDB-4540) Only set DNS_ALT_NAMES if an alt name is provided

168f63643ea2a13e2d82683a7fc9aac53895f208 authored about 5 years ago by Morgan Rhodes <[email protected]>
(MAINT) Group gem dependencies

Allows us to speed up calls to bundler by specifying groups to operate on.

e4da5418d9d21a510c4bc0c0ea6b0af846c508ef authored about 5 years ago by Nate Wolfe <[email protected]>
(maint) Use all hostnames for Docker DNS_ALT_NAME

- Docker supplies the HOSTNAME value, which may be different from how
host recognizes its ho...

4687099e76fb91e6f9bd8a992872f4bf09e0a5c6 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Docker spec suite consistency (#3099)

(maint) Docker spec suite consistency

aebab42c6b9af4eee46ea82fa68010523a4e395c authored over 5 years ago by Ethan J. Brown <[email protected]>
(maint) Remove explicit service waiter in specs

- Latest spec helpers include a new wait_on_stack_healthy that is
automatically called by do...

9305508a439ff28e40d547a28e1ea24c49dd5d33 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Make Docker spec suite consistent

- Rewrite docker-compose.yml to follow conventions set in other compose
files - namely speci...

28da63c168b23901b980400bd7a46cedded28c82 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Make sure Docker test bundle is fresh

- Need a bundle update to be able to pull the pupperware spec_helper
(this primarily impacts...

3bee1943568c0f8f7e134fcb78f6f3646a1ca5eb authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Create LCOW logs path in VOLUME

- Due to the LCOW bug https://github.com/moby/moby#39892 make
certain that the logs path als...

4b671b05624d681469ebd115c3df285d5d9ab365 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Ensure Docker log directory exists

- There is a race in container startup where Java may not have a
proper log directory to wri...

fa964a164bde4be9c474f510780de0adeaa127e8 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Make Docker SSL configuration flexible

- In some instances, users may be deriving from this container to
specify well-known cert fi...

0292d98eb5a9e877d13f9bd63f30ac3825b2109f authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Fix Docker Jetty SSL configuration

- Disable all ssl-* settings in jetty.ini initially, and only
enable them when USE_PUPPETSER...

ba9f0062e9fed8fac49dba87f19a9c2e6f394fc1 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Update docker ssl volume (#3082)

(maint) Update docker ssl volume

fa03c79fcfefd8941c0f560a241e06ff6939d822 authored over 5 years ago by Ethan J. Brown <[email protected]>
(maint) Configure Jetty SSL more statically

- Instead of needing an entrypoint script to dynamically rewrite
jetty.ini, use fixed locati...

54ad7341b1895e966b02bde898188c60861050a8 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Relocate Docker SSLDIR / remove VOLUME

- Move the SSLDIR inside the PDB data directory

f3e74bb937a0b3fd045845357c3e17b4378c153b authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Docker remove ssl-setup.sh

- ssl-setup script was an Alpine compatible version of the puppetdb
ssl-setup helper, used t...

967ee0099dfb8ccef22ec60d87680ebef0d4250c authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Explicitly set Docker SSLDIR / CERTNAME

- Make these explicit and use where applicable. This will make things
easier to relocate lat...

f75cecd11cae957d2e0a14ddaa52ed648453ad45 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Add Puppetserver to Docker specs

- This is necessary to be able to test the USE_PUPPETSERVER
functionality

a5f6252db934f3ce1841bde89e7af919d0080a58 authored over 5 years ago by Iristyle <Iristyle@github>
(CPR-718) Update consul entrypoint to correctly determine our IP address

The output for `ifconfig` changed

299cbd22c123b450636561597aab7b7ec47cd7f9 authored over 5 years ago by Morgan Rhodes <[email protected]>
(maint) Add environment variable to allow you to specify a network device other than eth0

4b309e26fab0ba14cf71af957ee367e753f31974 authored over 5 years ago by Morgan Rhodes <[email protected]>
(maint) Move env variables to the dockerfile for more clarity

9670ffd67d9ca5bfa148c0784a561833b277ca60 authored over 5 years ago by Morgan Rhodes <[email protected]>
(maint) Docker set standard log config locations

- Container was setup to use /etc/puppetlabs/puppetdb/logging for
storing logging config. Us...

a525b9d198e15c8b211e18fb4d34319a139d7193 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Remove Docker log VOLUME

- Reconfigure logs for /opt/puppetlabs/server/data/puppetdb/logs
rather than /var/logs/puppe...

3fb5b1c9f15202894f49a5f0ab389514e2249469 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Explicitly specify Docker VOLUMEs

- Based on the container configuration, there are 3 separate locations
where persistent data...

a83bb3e6c5766929f4c9720955186652d8ce0157 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Don't create Docker bind mount LCOW specs

- It turns out that LCOW has a bug with permissions on Docker VOLUMEs
which is why Postgres ...

214365a1b86b24ffe2a1d7a39695dfa01997339f authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Reconfigure Docker logging

- Dockerfile was copying 2 files that were unused. Restore the default
logging configuration...

794739869a7fccf4b17eb28aa89e5e10f6bc1bc9 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Remove explicit Docker spec timeouts

- wait_on_service_health now sets the default timeout based on the
definition of the healthc...

f2ae7a0f5f45cd71389d3e5d3af8816c1bf32505 authored over 5 years ago by Iristyle <Iristyle@github>
Merge pull request #3067 from nwolfe/maint/master/remove-fail-fast

(MAINT) Remove --fail-fast

0c714e6c5bfcb0fcd378bf3b5fde5b4c1b320622 authored over 5 years ago by Nate Wolfe <[email protected]>