mirror of
https://github.com/OpenCTI-Platform/opencti.git
synced 2025-12-23 16:50:17 +00:00
[ci] Upgrade steps for prerelease-ce and remove prerelease staging
This commit is contained in:
committed by
GitHub
parent
947f7cbbd0
commit
48ded9f540
@@ -858,6 +858,16 @@ jobs:
|
||||
- checkout
|
||||
- kubernetes/install-kubectl
|
||||
- run: kubectl --server=https://api.staging.eu-west.filigran.io --token=$K8S_TOKEN -n customer-testing rollout restart deployment -l app=opencti
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "SHA256:IvWtRsS9fYztJKWsJIFZAtq/tSr7wG2mVNO9FXOxneA"
|
||||
- run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
ssh-keyscan -H 34.155.26.110 >> ~/.ssh/known_hosts
|
||||
cat ~/.ssh/known_hosts
|
||||
ssh filigran@34.155.26.110 "kubectl -n customer-prerelease-ce rollout restart deployment -l app=opencti"
|
||||
|
||||
|
||||
deploy_prerelease:
|
||||
docker:
|
||||
@@ -868,7 +878,6 @@ jobs:
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "SHA256:huG64qM1OJQCRwOB50xF4k+RZ7l4+rUuIetpM+Sf1MA"
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user