Skip to content

Commit 16d8bff

Browse files
committed
Merge branch 'hotfix-missing-proxy-jump'
2 parents bcb4d9d + e688e9e commit 16d8bff

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
8+
### Fixed
9+
- Correctly parse missing proxy_jump as None.
810

911
## [0.3.4] - 2025-02-14
1012
### Changed

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ struct Platform {
8383
#[serde(with = "http_serde::authority")]
8484
hostname: axum::http::uri::Authority,
8585
/// The hostname of the SSH jump host.
86-
#[serde(with = "http_serde::option::authority")]
87-
proxy_jump: Option<axum::http::uri::Authority>,
86+
proxy_jump: Option<String>,
8887
}
8988

9089
#[derive(Debug)]

tests/integration/basic.hurl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ HTTP 500
8484
[Asserts]
8585
jsonpath "$.message" contains "RSA keys must be at least 3072 bits long"
8686

87-
GET {{conch}}/sign
88-
Authorization: Bearer {{ test1_token }}
89-
[QueryStringParams]
90-
public_key: {{ ssh_key_dsa_pub }}
91-
HTTP 500
92-
[Asserts]
93-
jsonpath "$.message" contains "DSA keys are not supported"
94-
9587
GET {{conch}}/sign
9688
Authorization: Bearer {{ test2_token }}
9789
[QueryStringParams]

tests/integration/integration.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ ssh-keygen -q -t rsa -b 2048 -N '' -f tests/integration/temp/id_rsa_2048
4040
SSH_KEY_RSA_2048_PUB=$(cat tests/integration/temp/id_rsa_2048.pub)
4141
ssh-keygen -q -t rsa -b 3072 -N '' -f tests/integration/temp/id_rsa_3072
4242
SSH_KEY_RSA_3072_PUB=$(cat tests/integration/temp/id_rsa_3072.pub)
43-
ssh-keygen -q -t dsa -N '' -f tests/integration/temp/id_dsa
44-
SSH_KEY_DSA_PUB=$(cat tests/integration/temp/id_dsa.pub)
4543

4644
header "Running Hurl tests"
4745
hurl \
@@ -50,7 +48,6 @@ hurl \
5048
--variable ssh_key_ed25519_pub="${SSH_KEY_ED25519_PUB}" \
5149
--variable ssh_key_rsa_2048_pub="${SSH_KEY_RSA_2048_PUB}" \
5250
--variable ssh_key_rsa_3072_pub="${SSH_KEY_RSA_3072_PUB}" \
53-
--variable ssh_key_dsa_pub="${SSH_KEY_DSA_PUB}" \
5451
--test \
5552
--report-html results \
5653
--error-format long \

tests/integration/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ projects1=$(jq tojson << EOF
148148
{
149149
"name": "slurm.3.example",
150150
"username": "test"
151+
},
152+
{
153+
"name": "slurm.5.example",
154+
"username": "test"
151155
}
152156
]
153157
},

tests/integration/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ config:
1313
alias: "3.example"
1414
hostname: "3.access.example.com"
1515
proxy_jump: "login.example.com"
16+
slurm.5.example:
17+
alias: "5.example"
18+
hostname: "5.access.example.com"
1619
mappers:
1720
- project_infra: "v1"
1821
extensions:

0 commit comments

Comments
 (0)