-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into openstack-caracal
- Loading branch information
Showing
1,064 changed files
with
32,117 additions
and
72,462 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Lint YAML files present in the repository. | ||
# | ||
# Currently we only lint semaphore yaml files, to | ||
# avoid excessive confusion from developers by | ||
# throwing unnecessary warnings or errors on arbitrary | ||
# yaml files. | ||
# | ||
# If you want to lint other YAML files in this | ||
# repository, *add a second workflow* and make | ||
# sure that you're specifying file paths in the | ||
# on:pull_request section and in the `with:file_or_dir` | ||
# section of the block itself. | ||
--- | ||
name: Yaml Lint | ||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
paths: | ||
- '.semaphore/**/*.yml' | ||
- '.semaphore/.yamllint.yml' | ||
|
||
jobs: | ||
lintSemaphoreYaml: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- id: yaml-lint | ||
uses: ibiqlik/action-yamllint@v3 | ||
with: | ||
file_or_dir: .semaphore/**/*.yml | ||
config_file: .semaphore/.yamllint.yml | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: yamllint-logfile | ||
path: ${{ steps.yaml-lint.outputs.logfile }} |
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,8 @@ | ||
extends: default | ||
|
||
rules: | ||
line-length: disable | ||
document-start: disable | ||
empty-lines: disable | ||
indentation: | ||
indent-sequences: whatever |
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,31 @@ | ||
version: v1.0 | ||
name: Create new release branch | ||
agent: | ||
machine: | ||
type: f1-standard-2 | ||
os_image: ubuntu2004 | ||
execution_time_limit: | ||
minutes: 30 | ||
|
||
global_job_config: | ||
secrets: | ||
# Secret for GitHub access | ||
- name: marvin-github-ssh-private-key | ||
prologue: | ||
commands: | ||
- chmod 0600 ~/.keys/* | ||
- ssh-add ~/ | ||
# Unshallow the git repository to get latest tags | ||
- retry git fetch --quiet --unshallow | ||
|
||
blocks: | ||
- name: Cut Release Branch | ||
task: | ||
jobs: | ||
- name: Cut Branch | ||
commands: | ||
- ./bin/release branch cut | ||
prologue: | ||
commands: | ||
- cd release | ||
- make build |
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,24 @@ | ||
version: v1.0 | ||
name: Rerun failed jobs | ||
agent: | ||
machine: | ||
type: f1-standard-2 | ||
os_image: ubuntu2204 | ||
|
||
execution_time_limit: | ||
minutes: 10 | ||
|
||
blocks: | ||
- name: Rerun failed jobs | ||
dependencies: [] | ||
task: | ||
secrets: | ||
- name: semaphore-api | ||
jobs: | ||
- name: Rerun failed jobs | ||
commands: | ||
- curl https://storage.googleapis.com/sem-cli-releases/get.sh | bash | ||
- export CONNECT_URL=${SEMAPHORE_ORGANIZATION_URL#"https://"} | ||
- /usr/local/bin/sem connect $CONNECT_URL $SEMAPHORE_API_TOKEN | ||
- export PIPELINE=$(/usr/local/bin/sem get workflows $SEMAPHORE_WORKFLOW_ID -i $SEMAPHORE_PROJECT_ID | tail -n 1 | awk '{print $1}') | ||
- /usr/local/bin/sem rebuild pipeline $PIPELINE |
Oops, something went wrong.