2025年7月11日金曜日

This deployment job does not run automatically and must be started manually, but it's older than the latest deployment, and therefore can't run.

This deployment job does not run automatically and must be started manually, but it's older than the latest deployment, and therefore can't run.

概要

Gitlab は古いデプロイメントは自動で無効化する機能があります
場合によっては切り戻しなどで古いデプロイメントを使いたい場合があるかなと思います
その対処方法を紹介します

環境

  • Gitlab 17.10.7

対処方法

  • Settings
  • CI/CD
  • General pilelines
  • Prevenet outdated deployment jobs

のチェックをオフにします
再度 Pipeline を見るとデプロイできるようになっています

最後に

基本はオンにしておいて緊急時にオフにするのがいいと思います

参考サイト

0 件のコメント:

コメントを投稿