From 597cc1f831c18041bb8ad51798a456080bef9a50 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Thu, 13 Feb 2025 18:37:47 +0100
Subject: [PATCH] Adapt linux build now depending on libssl-dev (#45)

native-tls transitive dependency introduced in !41
which requires libssl-dev package installed
for the build to find ssl components

Switching to non-slim Debian image which comes
with libssl-dev pre-installed

Remove tag requirement on build jobs,
in order to check that the target still builds

Update changelog
---
 .gitlab-ci.yml |  6 +-----
 CHANGELOG.md   | 12 +++++++-----
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 609f2c3..8ca8399 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ stages:
 
 build_linux:
   stage: build
-  image: rust:slim-buster
+  image: rust:buster
   script:
      # Build the project for Linux
     - cargo build --release
@@ -25,8 +25,6 @@ build_linux:
     paths:
       - target/release
       - target/debian
-  only:
-    - tags
 
 build_macos:
   stage: build
@@ -56,8 +54,6 @@ build_macos:
     key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
     paths:
       - target/macos
-  only:
-    - tags
 
 release:
   stage: release
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6aae9b7..1aa8591 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,9 +22,9 @@ List of changelogs ordered from latest to oldest
 - Support for SQLite file database to persist vault data
 - global `-v <NAME>` argument to select a vault Address by name (mutually exclusive with `-a <ADDRESS>` argument)
 - Already mentioned in the "Changed" section above, but it is now possible to add different kind of keys to the vault when doing `vault import`
-  - Default providing _substrate_ URI (or `-S substrate`) : can be a mnemonic or a mini-secret ('0x' prefixed seed) together with optional derivation path; using Sr25519 crypto scheme
-  - `-S seed` : using the 32 character hexadecimal secret seed; using Sr25519 crypto scheme
-  - `-S g1v1` (or `-S cesium`) : allows to input G1v1 `id` and `secret`; using Ed25519 crypto scheme 
+  - Default providing _substrate_ URI (or `-S substrate`): can be a mnemonic or a mini-secret ('0x' prefixed seed) together with optional derivation path; using Sr25519 crypto scheme
+  - `-S seed`: using the 32 character hexadecimal secret seed; using Sr25519 crypto scheme
+  - `-S g1v1` (or `-S cesium`): allows to input G1v1 `id` and `secret`; using Ed25519 crypto scheme
 - Added possibility to `derive` non _g1v1_/_cesium_ Addresses (see `gcli vault derive`)
 - Some commands were added
   - `gcli vault list all` List all \<Base\> SS58 Addresses and their linked derivations in the vault
@@ -39,7 +39,9 @@ List of changelogs ordered from latest to oldest
   - `gcli vault migrate` (deprecated) Migrate old key files into db (will have to provide password for each key)
 
 ### Fixed
-- None
+- #45, !42:
+  - In linux build job, switch to "non-slim" Debian image which provides `libssl-dev` now required
+  - Remove tag requirement on build jobs in order to check that the target still builds
 
 ### Deprecated
 - Two commands are now deprecated and will be removed in a future release
@@ -51,4 +53,4 @@ List of changelogs ordered from latest to oldest
 
 ## [0.3.0] - 2024-10-10
 ### Added
-- Previous version without changelog
\ No newline at end of file
+- Previous version without changelog
-- 
GitLab