forked from projectcalico/calico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'projectcalico:master' into master
- Loading branch information
Showing
719 changed files
with
74,620 additions
and
51,047 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This workflow will perform the following checks: | ||
# 1. Check the PR for a specific label (by default 'release-note-required'); if it's not there, exit | ||
# 2. Check the PR body for a matching release-note code block; if missing, fail | ||
# 3. Check the contents of the code block to ensure it's not empty or 'TBD'; otherwise, fail | ||
# 4. Success! | ||
|
||
name: Validate Release Notes | ||
on: | ||
pull_request: | ||
types: [labeled, unlabeled, edited, synchronize, ready_for_review] | ||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- name: Validate Release Notes | ||
uses: tigera/check-release-notes@main |
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,2 @@ | ||
semaphore.yml linguist-generated=true | ||
semaphore-scheduled-builds.yml linguist-generated=true |
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
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,54 @@ | ||
version: v1.0 | ||
name: Publish hashrelease | ||
agent: | ||
machine: | ||
type: f1-standard-2 | ||
os_image: ubuntu2004 | ||
execution_time_limit: | ||
hours: 4 | ||
|
||
global_job_config: | ||
secrets: | ||
# Github SSH secret for pulling private repositories. | ||
- name: private-repo | ||
# Secret for GitHub API access. | ||
- name: marvin-github-token | ||
# Secret for pushing to the docs box. | ||
- name: docs-ssh | ||
# Secret for pulling images from GCR. | ||
- name: gcloud-registry-access | ||
# Secret for the docker auth | ||
- name: hashrelease-docker-auth | ||
# Secret for Image Scanning Service | ||
- name: iss-image-scanning | ||
# Secrets for Slack notifications | ||
- name: releasebot-slack | ||
prologue: | ||
commands: | ||
- chmod 0600 ~/.keys/* | ||
- ssh-add ~/.keys/* | ||
- export GOOGLE_APPLICATION_CREDENTIALS=${HOME}/keys/.registry-viewer-serviceaccount.json | ||
- gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS} | ||
- docker login | ||
- checkout | ||
# Unshallow the git repository to get latest tags | ||
- retry git fetch --quiet --unshallow | ||
|
||
blocks: | ||
- name: Publish hashrelease | ||
task: | ||
jobs: | ||
- name: Build and publish hashrelease | ||
commands: | ||
- ./bin/release hashrelease build | ||
- ./bin/release hashrelease publish | ||
prologue: | ||
commands: | ||
- export GITHUB_TOKEN=${MARVIN_GITHUB_TOKEN} | ||
- cd release | ||
- make build | ||
env_vars: | ||
- name: OPERATOR_BRANCH | ||
value: master | ||
- name: IS_HASHRELEASE | ||
value: "true" |
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.