deploy int
Passed Started
by
@davinkevin
Davin Kevin
1Running with gitlab-runner 13.0.0 (c127439c)2 on docker-auto-scale 0277ea0f4Using Docker executor with image google/cloud-sdk ...5Pulling docker image google/cloud-sdk ...6Using docker image sha256:5d096c48b3b4bab72df240dcf94940be3e0397606bb4cc94143f2a12189dba1f for google/cloud-sdk ...8Running on runner-0277ea0f-project-19225532-concurrent-0 via runner-0277ea0f-srm-1591443365-4e9ad7c3...10$ eval "$CI_PRE_CLONE_SCRIPT"11Fetching changes with git depth set to 50...12Initialized empty Git repository in /builds/davinkevin/sops-blog-post-repository/.git/13Created fresh repository.15 * [new ref] refs/pipelines/153546622 -> refs/pipelines/15354662216 * [new branch] master -> origin/master17Checking out 84edc518 as master...18Skipping Git submodules setup22$ apt-get update && apt-get install -y curl gnupg23Hit:1 http://deb.debian.org/debian buster InRelease24Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]25Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]26Hit:4 https://packages.cloud.google.com/apt cloud-sdk-buster InRelease27Get:5 http://deb.debian.org/debian sid InRelease [146 kB]28Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [201 kB]29Get:7 http://deb.debian.org/debian sid/main amd64 Packages.diff/Index [27.9 kB]30Get:8 http://deb.debian.org/debian sid/main amd64 Packages 2020-06-05-2003.49.pdiff [23.8 kB]31Get:9 http://deb.debian.org/debian sid/main amd64 Packages 2020-06-06-0208.52.pdiff [16.2 kB]32Get:10 http://deb.debian.org/debian sid/main amd64 Packages 2020-06-06-0803.34.pdiff [12.5 kB]33Get:10 http://deb.debian.org/debian sid/main amd64 Packages 2020-06-06-0803.34.pdiff [12.5 kB]34Fetched 543 kB in 2s (243 kB/s)35Reading package lists...36Reading package lists...37Building dependency tree...38Reading state information...39The following packages were automatically installed and are no longer required:40 dh-python libperl5.28 libpython3.7 libpython3.7-minimal libpython3.7-stdlib41 perl-modules-5.28 python3.7-minimal42Use 'apt autoremove' to remove them.43The following additional packages will be installed:44 dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server45 gpgconf gpgsm gpgv libbrotli1 libcurl446Suggested packages:47 dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage48 scdaemon49The following NEW packages will be installed:50 libbrotli151The following packages will be upgraded:52 curl dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client53 gpg-wks-server gpgconf gpgsm gpgv libcurl45413 upgraded, 1 newly installed, 0 to remove and 132 not upgraded.55Need to get 8559 kB of archives.56After this operation, 1241 kB of additional disk space will be used.57Get:1 http://deb.debian.org/debian sid/main amd64 gpg-wks-client amd64 2.2.20-1 [507 kB]58Get:2 http://deb.debian.org/debian sid/main amd64 dirmngr amd64 2.2.20-1 [740 kB]59Get:3 http://deb.debian.org/debian sid/main amd64 gnupg-utils amd64 2.2.20-1 [889 kB]60Get:4 http://deb.debian.org/debian sid/main amd64 gpg-wks-server amd64 2.2.20-1 [500 kB]61Get:5 http://deb.debian.org/debian sid/main amd64 gpg-agent amd64 2.2.20-1 [641 kB]62Get:6 http://deb.debian.org/debian sid/main amd64 gpg amd64 2.2.20-1 [894 kB]63Get:7 http://deb.debian.org/debian sid/main amd64 gpgconf amd64 2.2.20-1 [532 kB]64Get:8 http://deb.debian.org/debian sid/main amd64 gnupg-l10n all 2.2.20-1 [1035 kB]65Get:9 http://deb.debian.org/debian sid/main amd64 gnupg all 2.2.20-1 [749 kB]66Get:10 http://deb.debian.org/debian sid/main amd64 gpgsm amd64 2.2.20-1 [627 kB]67Get:11 http://deb.debian.org/debian sid/main amd64 gpgv amd64 2.2.20-1 [608 kB]68Get:12 http://deb.debian.org/debian sid/main amd64 libbrotli1 amd64 1.0.7-6.1 [267 kB]69Get:13 http://deb.debian.org/debian sid/main amd64 curl amd64 7.68.0-1 [249 kB]70Get:14 http://deb.debian.org/debian sid/main amd64 libcurl4 amd64 7.68.0-1 [321 kB]71debconf: delaying package configuration, since apt-utils is not installed72Fetched 8559 kB in 0s (22.3 MB/s)73(Reading database ... 85863 files and directories currently installed.)74Preparing to unpack .../00-gpg-wks-client_2.2.20-1_amd64.deb ...75Unpacking gpg-wks-client (2.2.20-1) over (2.2.12-1+deb10u1) ...76Preparing to unpack .../01-dirmngr_2.2.20-1_amd64.deb ...77Unpacking dirmngr (2.2.20-1) over (2.2.12-1+deb10u1) ...78Preparing to unpack .../02-gnupg-utils_2.2.20-1_amd64.deb ...79Unpacking gnupg-utils (2.2.20-1) over (2.2.12-1+deb10u1) ...80Preparing to unpack .../03-gpg-wks-server_2.2.20-1_amd64.deb ...81Unpacking gpg-wks-server (2.2.20-1) over (2.2.12-1+deb10u1) ...82Preparing to unpack .../04-gpg-agent_2.2.20-1_amd64.deb ...83Unpacking gpg-agent (2.2.20-1) over (2.2.12-1+deb10u1) ...84Preparing to unpack .../05-gpg_2.2.20-1_amd64.deb ...85Unpacking gpg (2.2.20-1) over (2.2.12-1+deb10u1) ...86Preparing to unpack .../06-gpgconf_2.2.20-1_amd64.deb ...87Unpacking gpgconf (2.2.20-1) over (2.2.12-1+deb10u1) ...88Preparing to unpack .../07-gnupg-l10n_2.2.20-1_all.deb ...89Unpacking gnupg-l10n (2.2.20-1) over (2.2.12-1+deb10u1) ...90Preparing to unpack .../08-gnupg_2.2.20-1_all.deb ...91Unpacking gnupg (2.2.20-1) over (2.2.12-1+deb10u1) ...92Preparing to unpack .../09-gpgsm_2.2.20-1_amd64.deb ...93Unpacking gpgsm (2.2.20-1) over (2.2.12-1+deb10u1) ...94Preparing to unpack .../10-gpgv_2.2.20-1_amd64.deb ...95Unpacking gpgv (2.2.20-1) over (2.2.12-1+deb10u1) ...96Setting up gpgv (2.2.20-1) ...97Selecting previously unselected package libbrotli1:amd64.98(Reading database ... 85881 files and directories currently installed.)99Preparing to unpack .../libbrotli1_1.0.7-6.1_amd64.deb ...100Unpacking libbrotli1:amd64 (1.0.7-6.1) ...101Preparing to unpack .../curl_7.68.0-1_amd64.deb ...102Unpacking curl (7.68.0-1) over (7.64.0-4+deb10u1) ...103Preparing to unpack .../libcurl4_7.68.0-1_amd64.deb ...104Unpacking libcurl4:amd64 (7.68.0-1) over (7.64.0-4+deb10u1) ...105Setting up libbrotli1:amd64 (1.0.7-6.1) ...106Setting up gnupg-l10n (2.2.20-1) ...107Setting up gpgconf (2.2.20-1) ...108Setting up libcurl4:amd64 (7.68.0-1) ...109Setting up curl (7.68.0-1) ...110Setting up gpg (2.2.20-1) ...111Setting up gnupg-utils (2.2.20-1) ...112Setting up gpg-agent (2.2.20-1) ...113Installing new version of config file /etc/logcheck/ignore.d.server/gpg-agent ...114Setting up gpgsm (2.2.20-1) ...115Setting up dirmngr (2.2.20-1) ...116Setting up gpg-wks-server (2.2.20-1) ...117Setting up gpg-wks-client (2.2.20-1) ...118Setting up gnupg (2.2.20-1) ...119Processing triggers for libc-bin (2.30-8) ...120$ curl -qsL https://github.com/mozilla/sops/releases/download/v3.5.0/sops-v3.5.0.linux -o /usr/local/bin/sops121$ chmod +x /usr/local/bin/sops122$ cat $KEY | gpg --batch --import123gpg: directory '/root/.gnupg' created124gpg: keybox '/root/.gnupg/pubring.kbx' created125gpg: /root/.gnupg/trustdb.gpg: trustdb created126gpg: key FFEFFE9451381735: public key "continuous-integration <ci@domain.fr>" imported127gpg: key FFEFFE9451381735: secret key imported128gpg: Total number processed: 1129gpg: imported: 1130gpg: secret keys read: 1131gpg: secret keys imported: 1132$ echo $PASSPHRASE | gpg --batch --always-trust --yes --passphrase-fd 0 --pinentry-mode=loopback -s $(mktemp)133$ sops -d int.encrypted.env > int.env134$ cat int.env135secret=5Tz2QNxki789YFDa139Job succeeded