extends:
- .template_job
stage: test
+ environment:
+ name: test
variables:
OS_ID: centos-stream-8
script:
extends:
- .template_job
stage: linter
+ environment:
+ name: test
needs:
- 'Test source'
script:
bin/create-vmware-template --verbose --color yes;
fi
-Create RHEL9 template:
+Create RHEL9 live template:
extends:
- .template_job
- .build-job
stage: deploy
environment:
- name: deploy/$CI_COMMIT_BRANCH
+ name: production
needs:
- 'Linter'
variables:
VM_IS_RHEL: 'True'
VM_KS_TEMPLATE: 'el9-standard.ks'
COBBLER_DISTRO: 'RHEL-9.2-x86_64'
+ if:
+ - master
+ - main
+ only:
+ - schedules
+
+Create RHEL9 test template:
+ extends:
+ - .template_job
+ - .build-job
+ stage: deploy
environment:
- name: ${SYSTEM_STATUS}
+ name: staging
+ needs:
+ - 'Linter'
+ variables:
+ OS_ID: rhel-9
+ VM_OS_VERSION_PROD: 'rhel9_64Guest'
+ VM_OS_VERSION_TEST: 'rhel8_64Guest'
+ VM_IS_RHEL: 'True'
+ VM_KS_TEMPLATE: 'el9-standard.ks'
+ COBBLER_DISTRO: 'RHEL-9.2-x86_64'
+ if:
+ - test
except:
- - /^dev-.*$/
- - /^dev\/.*$/
- - /^hf.*$/
- tags
only:
- schedules