-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4467d22
commit 02aa7f0
Showing
22 changed files
with
32 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
# which accompanies this distribution, and is available at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
############################################################################## | ||
|
||
name: Scheduled Kolla Images Build verification | ||
# yamllint disable-line rule:truthy | ||
on: | ||
|
@@ -21,17 +20,16 @@ on: | |
schedule: | ||
- cron: '0 0 * * 5' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-baremetal: | ||
name: Check building and publishing Kolla Docker images in a local Docker registry on an Ubuntu Jammy Virtual Environment | ||
runs-on: ubuntu-22.04 | ||
if: >- | ||
( | ||
github.event_name == 'pull_request_review' && | ||
github.event.review.state == 'approved' | ||
) || | ||
github.event_name != 'pull_request_review' | ||
) || github.event_name != 'pull_request_review' | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Install requirements | ||
|
@@ -60,10 +58,10 @@ jobs: | |
runs-on: macos-12 | ||
if: >- | ||
( | ||
github.event_name == 'pull_request_review' && | ||
github.event.review.state == 'approved' | ||
) || | ||
github.event_name != 'pull_request_review' | ||
) || github.event_name != 'pull_request_review' | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/vagrant-setup | ||
|
@@ -73,6 +71,7 @@ jobs: | |
env: | ||
VAGRANT_DISABLE_VBOXSYMLINKCREATE: 1 | ||
OS_DISTRO: ${{ matrix.distro }} | ||
OS_KOLLA_BUILD_ARGS: ${{ matrix.image }} --registry 127.0.0.1:5000 --push --threads 2 --quiet --retries 5 --cache --push-threads 2 --base ${{ matrix.base }} | ||
OS_KOLLA_BUILD_ARGS: ${{ matrix.image }} --registry 127.0.0.1:5000 --push --threads 2 --quiet --retries 5 --cache --push-threads 2 --base ${{ matrix.base | ||
}} | ||
working-directory: ./samples/distributed | ||
run: vagrant up registry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
# which accompanies this distribution, and is available at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
############################################################################## | ||
|
||
name: Check Bash scripts | ||
# yamllint disable-line rule:truthy | ||
on: | ||
|
@@ -17,16 +16,15 @@ on: | |
pull_request_review: | ||
types: | ||
- submitted | ||
|
||
jobs: | ||
check-format: | ||
name: Check scripts format | ||
if: >- | ||
( | ||
github.event_name == 'pull_request_review' && | ||
github.event.review.state == 'approved' | ||
) || | ||
github.event_name != 'pull_request_review' | ||
) || github.event_name != 'pull_request_review' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
# which accompanies this distribution, and is available at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
############################################################################## | ||
|
||
name: Check All-in-One setup | ||
# yamllint disable-line rule:truthy | ||
on: | ||
|
@@ -21,16 +20,15 @@ on: | |
pull_request_review: | ||
types: | ||
- submitted | ||
|
||
jobs: | ||
generate-json-matrix: | ||
runs-on: ubuntu-latest | ||
if: >- | ||
( | ||
github.event_name == 'pull_request_review' && | ||
github.event.review.state == 'approved' | ||
) || | ||
github.event_name != 'pull_request_review' | ||
) || github.event_name != 'pull_request_review' | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Get matrix values | ||
|
@@ -74,10 +72,10 @@ jobs: | |
name: Check All-in-One deployment on Ubuntu Jammy Virtual Environment | ||
if: >- | ||
( | ||
github.event_name == 'pull_request_review' && | ||
github.event.review.state == 'approved' | ||
) || | ||
github.event_name != 'pull_request_review' | ||
) || github.event_name != 'pull_request_review' | ||
env: | ||
OS_KOLLA_ENABLE_CINDER: "no" | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,11 @@ | |
# which accompanies this distribution, and is available at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
############################################################################## | ||
|
||
name: Automatic Rebase | ||
# yamllint disable-line rule:truthy | ||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
rebase: | ||
name: Rebase | ||
|
@@ -24,7 +22,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo | ||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo | ||
- name: Automatic Rebase | ||
uses: cirrus-actions/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# SPDX-license-identifier: Apache-2.0 | ||
############################################################################## | ||
# Copyright (c) 2020 | ||
# All rights reserved. This program and the accompanying materials | ||
# are made available under the terms of the Apache License, Version 2.0 | ||
# which accompanies this distribution, and is available at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
############################################################################## | ||
formatter: | ||
type: basic | ||
include_document_start: true | ||
pad_line_comments: 2 | ||
max_line_length: 160 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.