kl.jk,hmdghn
This commit is contained in:
@@ -1,26 +1,10 @@
|
||||
# This CI will run:
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' # ... on merge requests
|
||||
- if: $CI_COMMIT_TAG # ... on tags
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # ... on default (master/main) branch
|
||||
name: Test1Deploy
|
||||
|
||||
variables:
|
||||
# Fetch submodules
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
# Only fetch the latest commit (shallow clone, faster)
|
||||
GIT_SUBMODULE_DEPTH: 1
|
||||
GIT_DEPTH: 1
|
||||
on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
stages:
|
||||
- build-image
|
||||
- test
|
||||
|
||||
|
||||
|
||||
|
||||
# Builds the image and pushes it to the registry
|
||||
# This image contains all the tooling necessary to run the compilation tools
|
||||
jobs:
|
||||
build-image:
|
||||
stage: build-image
|
||||
# Run image build only if packages changed
|
||||
|
Reference in New Issue
Block a user