Skip to content

Instantly share code, notes, and snippets.

2020-04-02T18:02:39.199+0200 [TRACE] secrets.database.database_60c58363.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=1.5161081s
2020-04-02T18:02:40.247+0200 [TRACE] secrets.database.database_60c58363.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:02:40.503+0200 [TRACE] secrets.database.database_60c58363.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=1.531720591s
2020-04-02T18:02:41.562+0200 [TRACE] secrets.database.database_60c58363.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:02:41.797+0200 [TRACE] secrets.database.database_60c58363.postgresql-database-plugin: create user: transport=builtin status=finished err=<nil> took=1.550164912s
2020-04-02T18:02:42.840+0200 [TRACE] secrets.database.database_60c58363.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:03:42.606+0200 [TRACE] secrets.database.database_
2020-04-02T18:30:28.353+0200 [TRACE] secrets.database.database_703f9efd.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:30:46.643+0200 [TRACE] secrets.database.database_703f9efd.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:31:04.914+0200 [TRACE] secrets.database.database_703f9efd.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:31:05.153+0200 [TRACE] secrets.database.database_703f9efd.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:32:05.963+0200 [TRACE] secrets.database.database_703f9efd.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:32:06.197+0200 [TRACE] secrets.database.database_703f9efd.postgresql-database-plugin: create user: transport=builtin status=started
2020-04-02T18:32:21.536+0200 [TRACE] secrets.database.database_703f9efd.postgresql-database-plugin: create user: transport=builtin status=finished e
➜ vault-issues ./start-server.sh
==> Vault server configuration:
Api Address: http://0.0.0.0:8200
Cgo: disabled
Cluster Address: https://0.0.0.0:8201
Listener 1: tcp (addr: "0.0.0.0:8200", cluster address: "0.0.0.0:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
Log Level: trace
Mlock: supported: true, enabled: false
Storage: inmem
#!/bin/sh
docker run --rm --privileged \
-e "VAULT_ADDR=http://0.0.0.0:8202" \
-v $(pwd):/home/vault/ \
--network host vault:1.0.1 \
secrets enable database
docker run --privileged \
-e "VAULT_ADDR=http://0.0.0.0:8202" \
@melkorm
melkorm / Makefile.makefile
Created December 1, 2016 14:34 — forked from skarllot/Makefile.makefile
Makefile to merge coverage data from all subpackages (Golang)
.PHONY: test-cover-html
PACKAGES = $(shell find ./ -type d -not -path '*/\.*')
test-cover-html:
echo "mode: count" > coverage-all.out
$(foreach pkg,$(PACKAGES),\
go test -coverprofile=coverage.out -covermode=count $(pkg);\
tail -n +2 coverage.out >> coverage-all.out;)
go tool cover -html=coverage-all.out
command_name: depends_on
execute
➜ php-testing git:(master) make
composer install -o;
You are running composer with xdebug enabled. This has a major impact on runtime
performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating optimized autoload files
vendor/bin/phpunit --coverage-text;
PHPUnit 4.8.24 by Sebastian Bergmann and contributors.
test: composer # we want to run our tests with code coverage
vendor/bin/phpunit --coverage-text;
composer: # we want to install dependencies
composer install -o;
test55:
image: melkorm/php-docker:5.5-alpha
stage: test
script:
- mkdir -p /storage/vendor/${CI_PROJECT_ID}/${CI_BUILD_REF_NAME}
- ln -s /storage/vendor/${CI_PROJECT_ID}/${CI_BUILD_REF_NAME} vendor
- make
stages:
- test