From: Peter Korsgaard Date: Thu, 13 Aug 2020 11:44:53 +0200 Subject: [Buildroot] [PATCH] gitlab-ci: convert only/except to rules In-Reply-To: <20200718154713.38825-1-romain.naour@gmail.com> (Romain Naour's message of "Sat, 18 Jul 2020 17:47:13 +0200") References: <20200718154713.38825-1-romain.naour@gmail.com> Message-ID: <877du298x6.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Romain" == Romain Naour writes: > only/except keywords will be deprecated by upcoming gitlab release, > upstream recommend to use rules keyword instead [1][2][3][4][5]. > This patch convert .gitlab-ci.yml to use rules, no functional > changes intended. > After this patch, we should still have the following behaviour > while pushing commit, tag, branches: > - to trigger only the check-* jobs: > $ git push gitlab HEAD: > - to trigger all defconfigs and all check-* jobs: > $ git push gitlab HEAD:-defconfigs > - to trigger all runtime tests and all check-* jobs: > $ git push gitlab HEAD:-runtime-tests > - to trigger one defconfig job: > $ git push gitlab HEAD:- > - to trigger one runtime job: > $ git push gitlab HEAD:- > [1] https://gitlab.com/gitlab-org/gitlab/-/commit/7eaaa597e24bf24743bdd8f8d1d51ade83b3f6de > [2] https://about.gitlab.com/releases/2020/06/22/gitlab-13-1-released/#templates-to-simplify-initial-rules-keyword-configuration > [3] https://about.gitlab.com/releases/2020/05/22/gitlab-13-0-released/#auto-devops-and-secure-configuration-templates-are-changing-to-%60rules%60-instead-of-%60only/except%60 > [4] https://gitlab.com/gitlab-org/gitlab/issues/27449 > [5] https://gitlab.com/groups/gitlab-org/-/epics/2783 > [6] https://buildroot.org/downloads/manual/manual.html#_using_the_run_tests_framework > Signed-off-by: Romain Naour > Cc: Ricardo Martincoski > Cc: Arnout Vandecappelle Committed to 2020.02.x and 2020.05.x, thanks. -- Bye, Peter Korsgaard