diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e6c9509f0..955880f97 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,37 +55,9 @@ before_script: extends: .job needs: - pipeline-image - - ci-not-authorized - pre-commit # lint - vagrant-validate # lint -# For failfast, at least 1 job must be defined in .gitlab-ci.yml -# Premoderated with manual actions -ci-not-authorized: - stage: build - before_script: [] - after_script: [] - rules: - # LGTM or ok-to-test labels - - if: $PR_LABELS =~ /.*,(lgtm|approved|ok-to-test).*|^(lgtm|approved|ok-to-test).*/i - variables: - CI_OK_TO_TEST: '0' - when: always - - if: $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "trigger" - variables: - CI_OK_TO_TEST: '0' - - if: $CI_COMMIT_BRANCH == "master" - variables: - CI_OK_TO_TEST: '0' - - when: always - variables: - CI_OK_TO_TEST: '1' - script: - - exit $CI_OK_TO_TEST - tags: - - ffci - needs: [] - include: - .gitlab-ci/build.yml - .gitlab-ci/lint.yml diff --git a/.gitlab-ci/kubevirt.yml b/.gitlab-ci/kubevirt.yml index ebc148838..842003e10 100644 --- a/.gitlab-ci/kubevirt.yml +++ b/.gitlab-ci/kubevirt.yml @@ -12,7 +12,6 @@ - ffci needs: - pipeline-image - - ci-not-authorized # TODO: generate testcases matrixes from the files in tests/files/ # this is needed to avoid the need for PR rebasing when a job was added or removed in the target branch diff --git a/.gitlab-ci/molecule.yml b/.gitlab-ci/molecule.yml index 36d5a53bf..c2a19d08c 100644 --- a/.gitlab-ci/molecule.yml +++ b/.gitlab-ci/molecule.yml @@ -12,7 +12,6 @@ image: $PIPELINE_IMAGE needs: - pipeline-image - # - ci-not-authorized script: - ./tests/scripts/molecule_run.sh after_script: diff --git a/.gitlab-ci/terraform.yml b/.gitlab-ci/terraform.yml index 97003a860..cac69852b 100644 --- a/.gitlab-ci/terraform.yml +++ b/.gitlab-ci/terraform.yml @@ -3,7 +3,6 @@ .terraform_install: extends: .job needs: - - ci-not-authorized - pipeline-image variables: TF_VAR_public_key_path: "${ANSIBLE_PRIVATE_KEY_FILE}.pub" diff --git a/.gitlab-ci/vagrant.yml b/.gitlab-ci/vagrant.yml index 173f8301f..d4b33bfd8 100644 --- a/.gitlab-ci/vagrant.yml +++ b/.gitlab-ci/vagrant.yml @@ -1,8 +1,6 @@ --- vagrant: extends: .job-moderated - needs: - - ci-not-authorized variables: CI_PLATFORM: "vagrant" SSH_USER: "vagrant"