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

(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...

00ca9286ab06aa143199c66b1f13a71785d10a1c authored over 5 years ago by Nate Wolfe <[email protected]>
(maint) Update Docker Postgres healthcheck

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

9c6b53ec274553b45273a217e5beb962ffa2a9ad authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Add Postgres pg_isready based healthcheck (#3046)

(maint) Add Postgres pg_isready based healthcheck

9f6152d7f822f5653aff79d00fc974c67cbfa71d authored over 5 years ago by Ethan J. Brown <[email protected]>
(maint) add --fail-fast to rspec

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

51f4e4405bf84eb77b6de7180291c49baa39a594 authored over 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...

8de884f9a115bf6f9ecfd1d5440056ae69782aac authored over 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...

2b1eab02111e50718e23776e1d466b5717851b22 authored over 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...

ebdd97076a1ce3b57f281e7c5f5b786482b90f61 authored over 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...

17777028100dbbaf33524801589378f242605427 authored over 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...

07d8c1286da556fa13330dfdfd9a05e9ddb130b9 authored over 5 years ago by Nate Wolfe <[email protected]>
Merge pull request #3032 from Iristyle/update-azure-def-helper-usage

(maint) Update Docker shared helper usage

9448f829835331a59e99ad6243002aa367bd53bb authored over 5 years ago by Ethan J. Brown <[email protected]>
(maint) Update Docker spec_helper usage

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

838b87dcd34424131c76b7961e47b636ea0f0b07 authored over 5 years ago by Iristyle <Iristyle@github>
(MAINT) Use build.ps1 from pupperware gem

4bdf46184ef545a5b31304a3b9911ce4d58cc6be authored over 5 years ago by Nate Wolfe <[email protected]>
Merge pull request #2977 from nwolfe/update-ssl-sha

(MAINT) Use latest ssl.sh in image

a7a607ad8afda08dd55eb81ac81ea20a5446af12 authored over 5 years ago by Nate Wolfe <[email protected]>
(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...

313753391768c06f549aa47d674fd9e320ade891 authored over 5 years ago by Nate Wolfe <[email protected]>
(maint) Use explicit hostname/network for puppetdb tests (#2969)

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

b91ea24ae2e09eb49cf5511758ec77b13c2e97b5 authored over 5 years ago by Morgan Rhodes <[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/...

d05fef0cb38f41e1afb801130f406af08d9184a2 authored over 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...

7a3ffb67d3c88af9dba63a65fa71cf309c6131d6 authored over 5 years ago by Morgan Rhodes <[email protected]>
Merge pull request #2941 from Iristyle/docker-only-query-host-A-records

(maint) Only query host A records in Docker waiter

bdcdc4ffe7a0aa40b1e9fc047d12c9f7ae8a1963 authored over 5 years ago by Ethan J. Brown <[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...

8cd48d27a84aeb6848de9984a4010f12a263c503 authored over 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...

3444fe477e39bcb8d355728164073e1981a6d5e2 authored over 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...

54713c54dfc28a644452801d6dd75958c7c35d0e authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Docker DNS reliability improvements (#2935)

(maint) Docker DNS reliability improvements

e215e47aa61a09436bfc91d6e6adafdfd3a60fe1 authored over 5 years ago by Ethan J. Brown <[email protected]>
(maint) On container startup, lookup Postgres DNS

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

c60259f753d8a739320c2614cbb9a213357c974f authored over 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...

4ae7a02c7914156e9815d16f1614ba2e2566440b authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Add Docker config for Puppetserver port

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

c8939d902baf8e314d8b40c01ffb5cdcda2a5a0e authored over 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...

9cddffd8fe32cb1fc6d569987fffec20f6bf7ee0 authored over 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...

88c2e00b118a6a4067334e22a0de6273f105a0cf authored over 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...

33586b720d1440e545bb233e7ed3f35e12b0f1eb authored over 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 ...

e48fe92f40c2edd59a0265966d6cc967efe8a296 authored over 5 years ago by Morgan Rhodes <[email protected]>
Merge pull request #2921 from underscorgan/maint/master/consul_check

(maint) Fix server check when consul is enabled

1f2da93a1db288c37e553e1bdb2df96990b4a607 authored over 5 years ago by Ethan J. Brown <[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...

3ac03a29f676c81ea96d481a8483317cabd97096 authored over 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 ...

c8d5fe25f3fa695da1de9ecac3a818a7af43d837 authored over 5 years ago by Nate Wolfe <[email protected]>
Merge pull request #2906 from Iristyle/use-shared-testing-gem

(maint) Refactor Docker specs to use shared testing gem

f55d4bccf9ab974da986e7641e141d07ea71b5f8 authored over 5 years ago by Ethan J. Brown <[email protected]>
Merge pull request #2904 from Iristyle/increase-pdb-timeout-for-postgres

(maint) Increase default PDB Postgres wait time

18004b4915aa95a6bf8fed872d7579ffa1be5ef7 authored over 5 years ago by Ethan J. Brown <[email protected]>
(maint) Refactor Docker specs to use shared gem

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

18bacc1dd0333c78cd8f6f0cfe5e807206ff0f3e authored over 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...

6fd493ca7e76a9b98a2845d944a10e7527140b41 authored over 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

fe2eebdef5d6078b0c63d8c88916a8400886018f authored over 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...

476677f7e929dcbeab05216c4d2fe02679aa06a0 authored over 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...

b802dedd09c9e43fce9bcfc3694eba995461eef9 authored over 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...

c854b91778914c0e3e1aa6a8a0b8296d5d93a1ee authored over 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 ...

03bb3cc032d636ed1b1de412e9e3ee9216805d28 authored over 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 ...

687a072e508e0303954a7ef05f6c231e79bad78d authored over 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 ...

dbd40adc9ebfa0926d1316b039b099df0ff1dde0 authored over 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...

bcb836d60bc37389829064697e222043e46c613a authored over 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...

3878cbfdeacd2a9d9f30a91bc2c92593f9f71136 authored over 5 years ago by Iristyle <Iristyle@github>
(maint) Prune Docker volumes / networks

a47f0cb05dcedb1030b4da93ccc6d2d39e0639a4 authored over 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...

09963b5f39f5fcd17c60e962cef1a8f0af5c053d authored over 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...

125da27d52183dafdc043f2c84f8ef8de693d60e authored over 5 years ago by Markus Opolka <[email protected]>
Merge pull request #2877 from underscorgan/maint/master/analytics-updates

(maint) Updates for container analytics

790583b41e045309152aeab2ab8f1e1ff0dd8322 authored almost 6 years ago by Ethan J. Brown <[email protected]>
(maint) Properly perform health checks

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

5ffe7f805469628d9738f546695a3f131dad4aaa authored almost 6 years ago by Iristyle <Iristyle@github>
(maint) Add more information on supported environment variables

b05a466c7e6c89638940b52a6e4030806d4fc2a0 authored almost 6 years ago by Morgan Rhodes <[email protected]>
(maint) Add documentation about analytics and disable them by default

9f596c1329d62e2f8e22a408c0ae3460381f250f authored almost 6 years ago by Morgan Rhodes <[email protected]>
(maint) enable IP anonymization

b1db742f982334dca8f4adbc4c9beb2f574eab9e authored almost 6 years ago by Morgan Rhodes <[email protected]>
(maint) Rename container analytics variable for more consistency

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

87174669f9d3b38ddb354b74c7136afeb8b8caba authored almost 6 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...

7a4f85a59fb36f052beb2abbd34d6e78064ee1b6 authored almost 6 years ago by Iristyle <Iristyle@github>
Merge pull request #2883 from Iristyle/add-Docker-wait-scripts

(maint) Make PDB wait on dependent services

fd4674d1b44965ab5a0dacfb610a97e39afd0dce authored almost 6 years ago by Ethan J. Brown <[email protected]>
(maint) Remove inaccurate Docker script note

- Nit

861d3b5f2ef489548d2383ff712653fe19df757b authored almost 6 years ago by Iristyle <Iristyle@github>
(maint) Move generic Docker helpers to spec_helper

- This code is clearly generic and belongs in helper file

fb338d21cb1c628a3cda1e932e55d44f08118b29 authored almost 6 years ago by Iristyle <Iristyle@github>
(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...

3bf537ac330527113f9ad81c1ba317541484bbb9 authored almost 6 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...

ac3ad6c47fcd1bab00f13590b0a5adc30e201d09 authored almost 6 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...

94883009e0bfd5d176f21780a0c1894872bdf49c authored almost 6 years ago by Iristyle <Iristyle@github>
Merge pull request #2859 from Iristyle/fix-diagnostic-info-when-not-in-Azure

(maint) Docker container debug output / Azure improvements

5f066db0003b2101f926cf4b67d4886a5dfaf27e authored almost 6 years ago by Ethan J. Brown <[email protected]>
(maint) Refactor Docker run_command to spec_helper

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

49a2d552e32719461ff5789f6984cb73de33f27d authored almost 6 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...

468a77eaf66d37953db20d2154fa34f1cbfd9e38 authored almost 6 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...

db981476496bc9c576926a981d08c0550c861286 authored almost 6 years ago by Iristyle <Iristyle@github>
(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...

a42827089db09c7fe70ba6afcd00ac1ea1794289 authored almost 6 years ago by Iristyle <Iristyle@github>
(maint) Additional debug output from Docker specs

- log rspec version
- add `gem env` output

d3ebb45bb1eb0773cce113f888df79abad020226 authored almost 6 years ago by Iristyle <Iristyle@github>
(MAINT) Add container README

Contents copied from existing documentation on DockerHub and new
"Configuration" section added.
...

f2c5dcaabf9b5634939a51e1f50718a26817a6a2 authored almost 6 years ago by Nate Wolfe <[email protected]>
Merge pull request #2831 from nwolfe/update-container-test-for-consistency

(MAINT) Update container test for PE versions

db2ca822047f3db787ee5b99cca9cd16eacb7897 authored almost 6 years ago by Nate Wolfe <[email protected]>
(maint) rename variables for consistency

7ac1221f6b35b0edd34efc8659c251520d6ffb8f authored almost 6 years ago by Morgan Rhodes <[email protected]>
(maint) Take advantage of consul if it's there

94b1fc91f4844bfac50dc25fbd51a003a8ca40a6 authored almost 6 years ago by Morgan Rhodes <[email protected]>
(maint) If consul is enabled, register puppetdb service on startup

4eac6be5094ce997ccde5f557221448887104e1e authored almost 6 years ago by Morgan Rhodes <[email protected]>
(MAINT) Update container test for PE versions

For consistency with our other near-copies of this file.

c04280de9e7d419b577c1438cbace12530f5394b authored almost 6 years ago by Nate Wolfe <[email protected]>
(maint) Use a network instead of `--link` in the container tests

6a429aad8ec001840bf00ff8e1b7dee9c3d3df06 authored almost 6 years ago by Morgan Rhodes <[email protected]>
(maint) Fail fast

c6b4dfa3f5dc217b527566ff3ddeaac67e26bdd3 authored almost 6 years ago by Morgan Rhodes <[email protected]>
Merge pull request #2825 from nwolfe/update-docker-ssl-sha

(MAINT) Use new SSL script in container

75ac4276f3fdcf2637943ad0248cdea57126dfb1 authored almost 6 years ago by Nate Wolfe <[email protected]>
(MAINT) Use new SSL script in container

The ssl.sh script has been updated to use `command -v` instead of `type
-p` when checking for de...

b3965cb454f002962c2f892886915f6d184779ca authored almost 6 years ago by Nate Wolfe <[email protected]>
(MAINT) Configurable image name

Allow the Docker image namespace "puppet" (i.e. puppet/puppetdb) to be
configurable, which makes...

106fe5095782c1bfc37f8c3007a367e2c2660ab3 authored almost 6 years ago by Nate Wolfe <[email protected]>
Merge pull request #2821 from Iristyle/mergeup-6.0.x-to-master

Mergeup 6.0.x to master

69428346fbc0c13216849ed6579e4c0faf2664cf authored almost 6 years ago by Robert Roland <[email protected]>
Merge remote-tracking branch 'origin/6.0.x' into mergeup-6.0.x-to-master

* origin/6.0.x:
(MAINT) Add container analytics (#2804)

d45b58860e5070302bd1611e38c8952bf0316f7b authored almost 6 years ago by Iristyle <Iristyle@github>
Merge pull request #2820 from Iristyle/restore-analytics-to-6.0.x

(MAINT) Add container analytics (#2804)

a785163f2d9063ecede173a666b9a1cdf83ef0c8 authored almost 6 years ago by Nate Wolfe <[email protected]>
(MAINT) Add container analytics (#2804)

This was originally c7b8ad7763f837ea8f2c956412d201394cbe9499 and should
have been included in th...

01eeddc16d65c0e81de6e1ec966dec7661606afe authored almost 6 years ago by Nate Wolfe <[email protected]>
Merge pull request #2819 from Iristyle/mergeup-6.0.x-to-master

Mergeup 6.0.x to master

b7067fda32abc375c759d17a69267bc4182a271a authored almost 6 years ago by Robert Roland <[email protected]>
Merge remote-tracking branch 'origin/6.0.x' into mergeup-6.0.x-to-master

* origin/6.0.x:
(maint) Remove unneeded Docker assets
(maint) Remove docker builds / assets ...

c27e5d3e70b1487893ee161f890a1a68ed2a906c authored almost 6 years ago by Iristyle <Iristyle@github>
Merge pull request #2818 from Iristyle/mergeup-5.2.x-to-6.0.x

(maint) Mergeup 5.2.x to 6.0.x

a06149b170d9799de8211677243e8d193f60aa59 authored almost 6 years ago by Robert Roland <[email protected]>
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x

Keeps Docker assets intact that were deleted from the prior 5.x series
branches.

* origin/5.2.x...

ab1f45a4d5fcd0fd04f345b1e4771930a3771cdf authored almost 6 years ago by Iristyle <Iristyle@github>
Merge pull request #2816 from Iristyle/improve-container-cleanup

(maint) Cleanup Azure container leftovers smarter

43d868856decfcf3269e2011ff03613eb81de062 authored almost 6 years ago by Robert Roland <[email protected]>
Merge pull request #2817 from Iristyle/mergeup-5.1.x-to-5.2.x

Mergeup 5.1.x to 5.2.x / Remove Docker 5.2.x assets

b20e7049ff9e51e4cc92ff2f737850edf872795a authored almost 6 years ago by Robert Roland <[email protected]>
(maint) Remove unneeded Docker assets

- The merge-up from 5.1.x didn't have all the files to remove that are
present in the 5.2.x ...

3a92ce8c4f660ea60c0ff433ba14ddb2d243d639 authored almost 6 years ago by Iristyle <Iristyle@github>
Merge remote-tracking branch 'origin/5.1.x' into mergeup-5.1.x-to-5.2.x

* origin/5.1.x:
(maint) Remove docker builds / assets from 5.x (#2815)

9db42f9149f2df1a92e401624e9bf43217b375ba authored almost 6 years ago by Iristyle <Iristyle@github>
(maint) Remove docker builds / assets from 5.x (#2815)

- Pupperware is only interested in 6.0.x + master at this point,
so remove docker assets fro...

5cf9d6ee6fb2f7655133e54c5ebae6e036518614 authored almost 6 years ago by Ethan J. Brown <[email protected]>
(maint) Cleanup Azure container leftovers smarter

- Cleanup containers by name that are > 14 days old by default

77cd9fa1f83c9e6f2b619424783ad7e70aacf308 authored almost 6 years ago by Iristyle <Iristyle@github>
(MAINT) Add container analytics (#2804)

Add an entrypoint script to submit a "start" event to our pupperware
account on Google Analytic...

c7b8ad7763f837ea8f2c956412d201394cbe9499 authored almost 6 years ago by Nate Wolfe <[email protected]>
Merge 6.0.x into master

5636b6fd4aa353100cec990a1bf7783bbfd9f6b5 authored almost 6 years ago by Austin Blatt <[email protected]>
Merge 5.2.x into 6.0.x

44ea369a4ea2d060541b38ecc771d521048b789e authored almost 6 years ago by Austin Blatt <[email protected]>
Merge pull request #2803 from donoghuc/add-certname

(maint) Allow configuration of certname in ssl-setup.sh

6f65a48405a748a2fffb26ea6ec331e41cb6e84b authored almost 6 years ago by Robert Roland <[email protected]>
(maint) Allow configuration of certname in ssl-setup.sh

Previously the `ssl-setup.sh` script would use the `HOSTNAME` envioronment when dealing with `{c...

8cd8033d9c6b112d704365f80ae3076ddc0e5aa9 authored almost 6 years ago by donoghuc <[email protected]>
Merge 6.0.x into master

876f573d5a5fb368195430434fbcb0912dafb367 authored almost 6 years ago by Austin Blatt <[email protected]>
Merge 5.2.x into 6.0.x

a7b40b54e28e7c02ba4ed8657f96e5b7dbf53976 authored almost 6 years ago by Austin Blatt <[email protected]>
(MAINT) Don't tag as latest in Azure

Tagging as latest was accidentally added during a recent refactor.

We don't need to deal with "...

1c8b8b41987d6552bdba5e200390f014ee94a884 authored almost 6 years ago by Nate Wolfe <[email protected]>