Add meta selectors for jobs to select runner on architecture/os/executor
Description
With only tags it's difficult to have jobs run on specific runners types.
For example. With the gitlab.com shared runners the following is not posible
build amd64:
tags:
- docker
- amd64
build arm64:
tags:
- docker
- arm64
In this case the build amd64
job will not run
Removing the amd64
tag makes the job run on the arm64
tagged runner which is not what we want.
Proposal
Add meta tags on every runner specifying architecture/platform/executor and maybe version
something like this
build amd64:
tags:
- executor=docker
- arch=amd64
build arm64:
tags:
- executor=docker
- arch=arm64
which would both run on runner allowing untagged jobs because only meta selectors are used in this case both jobs would require the docker executor, one would run on 64bit intel and one on a arm runner.
Links to related issues and merge requests / references
Edited by Tomasz Maczukin