master → main
This commit is contained in:
parent
bf86e8ad79
commit
f3b56cc305
4 changed files with 8 additions and 8 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
||||||
- "*"
|
- "*"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -278,9 +278,9 @@ release:
|
||||||
@echo
|
@echo
|
||||||
@echo " git tag -s -m 'osbuild-composer $(NEXT_VERSION)' v$(NEXT_VERSION) HEAD"
|
@echo " git tag -s -m 'osbuild-composer $(NEXT_VERSION)' v$(NEXT_VERSION) HEAD"
|
||||||
@echo
|
@echo
|
||||||
@echo " * Push master as well as the tag:"
|
@echo " * Push main as well as the tag:"
|
||||||
@echo
|
@echo
|
||||||
@echo " git push origin master"
|
@echo " git push origin main"
|
||||||
@echo " git push origin v$(NEXT_VERSION)"
|
@echo " git push origin v$(NEXT_VERSION)"
|
||||||
@echo
|
@echo
|
||||||
@echo " * Create a release on github. Use 'NEWS.md' verbatim from the"
|
@echo " * Create a release on github. Use 'NEWS.md' verbatim from the"
|
||||||
|
|
|
||||||
8
schutzbot/Jenkinsfile
vendored
8
schutzbot/Jenkinsfile
vendored
|
|
@ -284,8 +284,8 @@ pipeline {
|
||||||
success {
|
success {
|
||||||
node('schutzbot') {
|
node('schutzbot') {
|
||||||
script {
|
script {
|
||||||
if (env.BRANCH_NAME == 'master') {
|
if (env.BRANCH_NAME == 'main') {
|
||||||
telegramSend "💚 CI passed for osbuild-composer master branch ${env.BUILD_URL}"
|
telegramSend "💚 CI passed for osbuild-composer main branch ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -293,8 +293,8 @@ pipeline {
|
||||||
unsuccessful {
|
unsuccessful {
|
||||||
node('schutzbot') {
|
node('schutzbot') {
|
||||||
script {
|
script {
|
||||||
if (env.BRANCH_NAME == 'master') {
|
if (env.BRANCH_NAME == 'main') {
|
||||||
telegramSend "💣 CI failed for osbuild-composer master branch ${env.BUILD_URL}"
|
telegramSend "💣 CI failed for osbuild-composer main branch ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ run_test_case () {
|
||||||
AZURE_CREDS=${AZURE_CREDS-/dev/null}
|
AZURE_CREDS=${AZURE_CREDS-/dev/null}
|
||||||
OPENSTACK_CREDS=${OPENSTACK_CREDS-/dev/null}
|
OPENSTACK_CREDS=${OPENSTACK_CREDS-/dev/null}
|
||||||
VCENTER_CREDS=${VCENTER_CREDS-/dev/null}
|
VCENTER_CREDS=${VCENTER_CREDS-/dev/null}
|
||||||
TEST_CMD="env $(cat "$AWS_CREDS" "$AZURE_CREDS" "$OPENSTACK_CREDS" "$VCENTER_CREDS") BRANCH_NAME=${BRANCH_NAME-master} BUILD_ID=$BUILD_ID DISTRO_CODE=$DISTRO_CODE $TEST_RUNNER -test.v ${IMAGE_TEST_CASES_PATH}/${TEST_CASE_FILENAME}"
|
TEST_CMD="env $(cat "$AWS_CREDS" "$AZURE_CREDS" "$OPENSTACK_CREDS" "$VCENTER_CREDS") BRANCH_NAME=${BRANCH_NAME-main} BUILD_ID=$BUILD_ID DISTRO_CODE=$DISTRO_CODE $TEST_RUNNER -test.v ${IMAGE_TEST_CASES_PATH}/${TEST_CASE_FILENAME}"
|
||||||
|
|
||||||
# Run the test and add the test name to the list of passed or failed
|
# Run the test and add the test name to the list of passed or failed
|
||||||
# tests depending on the result.
|
# tests depending on the result.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue