[ci] Upgrade steps for prerelease-ce and remove prerelease staging

This commit is contained in:
victorhery-filigran
2025-12-04 13:04:10 +01:00
committed by GitHub
parent 947f7cbbd0
commit 48ded9f540

View File

@@ -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