Add test for all CI Stage
To prevent issues like gitlab-org/gitlab-runner#29587 (closed), it would be good to tests covering all the CI Stages:
- resolve_secrets: not sure about this one
- restore_cache
- download_artifacts
- after_script
- archive_cache
- archive_cache_on_failure
- upload_artifacts_on_success
- upload_artifacts_on_failure