kl.jk,hmdghn
This commit is contained in:
@@ -1,26 +1,10 @@
|
|||||||
# This CI will run:
|
name: Test1Deploy
|
||||||
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
|
|
||||||
|
|
||||||
variables:
|
on:
|
||||||
# Fetch submodules
|
workflow_call:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
workflow_dispatch:
|
||||||
# Only fetch the latest commit (shallow clone, faster)
|
|
||||||
GIT_SUBMODULE_DEPTH: 1
|
|
||||||
GIT_DEPTH: 1
|
|
||||||
|
|
||||||
stages:
|
jobs:
|
||||||
- build-image
|
|
||||||
- test
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Builds the image and pushes it to the registry
|
|
||||||
# This image contains all the tooling necessary to run the compilation tools
|
|
||||||
build-image:
|
build-image:
|
||||||
stage: build-image
|
stage: build-image
|
||||||
# Run image build only if packages changed
|
# Run image build only if packages changed
|
||||||
|
Reference in New Issue
Block a user