mirror of
https://github.com/OpenCTI-Platform/opencti.git
synced 2025-12-22 08:17:08 +00:00
[cd] prerelease use bastion (#10361)
This commit is contained in:
@@ -637,7 +637,16 @@ jobs:
|
||||
steps:
|
||||
- checkout
|
||||
- kubernetes/install-kubectl
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "SHA256:rGXZiucEsmWBwyXk6zoamHLHKKA0BXj/P8rCmy7B3ZA"
|
||||
- run: kubectl --server=https://api.staging.eu-west.filigran.io --token=$K8S_TOKEN_PRE_RELEASE -n customer-prerelease rollout restart deployment -l app=opencti
|
||||
- run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
ssh-keyscan -H 51.44.124.32 >> ~/.ssh/known_hosts
|
||||
cat ~/.ssh/known_hosts
|
||||
ssh admin@51.44.124.32 "kubectl -n customer-prerelease rollout restart deployment -l app=opencti"
|
||||
|
||||
deploy_dev:
|
||||
docker:
|
||||
|
||||
Reference in New Issue
Block a user