mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-21 19:40:35 +00:00
Compare commits
6
Commits
v0.10.0-rc0
...
v0.10.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33cb49c54e | ||
|
|
cb78ab7aaa | ||
|
|
2f9156cf34 | ||
|
|
4b48a3d30c | ||
|
|
78294c1827 | ||
|
|
29c87078b5 |
@@ -23,11 +23,9 @@ Submariner Owners: https://github.com/orgs/submariner-io/teams/submariner-core
|
|||||||
**Anything else we need to know?**:
|
**Anything else we need to know?**:
|
||||||
|
|
||||||
**Environment**:
|
**Environment**:
|
||||||
- Submariner version (use `subctl version`):
|
- Diagnose information (use `subctl diagnose all`):
|
||||||
- Kubernetes version (use `kubectl version`):
|
- Gather information (use `subctl gather`):
|
||||||
- Cloud provider or hardware configuration:
|
- Cloud provider or hardware configuration:
|
||||||
- OS (e.g: `cat /etc/os-release`):
|
|
||||||
- Kernel (e.g. `uname -a`):
|
|
||||||
- Install tools:
|
- Install tools:
|
||||||
- Network plugin and version (if this is a network-related bug):
|
- Network plugin and version (if this is a network-related bug):
|
||||||
- Others:
|
- Others:
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# Configuration for probot-stale - https://github.com/probot/stale
|
# Configuration for probot-stale - https://github.com/probot/stale
|
||||||
|
|
||||||
# Number of days of inactivity before an Issue becomes stale (pull request is overridden later)
|
# Number of days of inactivity before an Issue becomes stale (pull request is overridden later)
|
||||||
daysUntilStale: 60
|
daysUntilStale: 120
|
||||||
|
|
||||||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
||||||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
target_devel:
|
target_devel:
|
||||||
name: PR targets devel
|
name: PR targets release-0.10
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check that the PR targets devel
|
- name: Check that the PR targets release-0.10
|
||||||
if: ${{ github.base_ref != 'devel' }}
|
if: ${{ github.base_ref != 'release-0.10' }}
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
name: PR Dependencies
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- closed
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- closed
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0/6 * * *' # every 6 hours
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: Check Dependencies
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: z0al/dependent-issues@70a1b2d4ee1cdc743af33498bd0204123953a887
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
# The label to use to mark dependent issues
|
||||||
|
label: dependent
|
||||||
|
|
||||||
|
# Enable checking for dependencies in issues.
|
||||||
|
check_issues: on
|
||||||
|
|
||||||
|
# A comma-separated list of keywords to mark dependency.
|
||||||
|
keywords: depends on, Depends on
|
||||||
@@ -27,11 +27,11 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
uses: submariner-io/shipyard/gh-actions/e2e@release-0.10
|
||||||
with:
|
with:
|
||||||
k8s_version: ${{ matrix.k8s_version }}
|
k8s_version: ${{ matrix.k8s_version }}
|
||||||
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
|
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.10
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
uses: submariner-io/shipyard/gh-actions/e2e@release-0.10
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
|
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.10
|
||||||
|
|||||||
@@ -22,10 +22,10 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
uses: submariner-io/shipyard/gh-actions/e2e@release-0.10
|
||||||
with:
|
with:
|
||||||
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
|
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.10
|
||||||
|
|||||||
@@ -65,20 +65,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Run helm-docs and verify docs are up-to-date
|
- name: Run helm-docs and verify docs are up-to-date
|
||||||
run: |
|
run: make helm-docs
|
||||||
HELM_DOCS_VERSION="0.15.0"
|
|
||||||
# Avoid polluting repo with helm-docs' README/LICENSE or other files in the release archive
|
|
||||||
cd /tmp
|
|
||||||
curl -sL "https://github.com/norwoodj/helm-docs/releases/download/v${HELM_DOCS_VERSION}/helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz" | tar zx
|
|
||||||
cd -
|
|
||||||
/tmp/helm-docs
|
|
||||||
if [[ ! -z "$(git status --porcelain)" ]]; then
|
|
||||||
echo "Helm docs not up-to-date:"
|
|
||||||
git status --porcelain
|
|
||||||
git diff
|
|
||||||
echo "Run helm-docs, as the CI does above, and commit the updated docs."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
markdown-link-check:
|
markdown-link-check:
|
||||||
name: Markdown Links (modified files)
|
name: Markdown Links (modified files)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ name: Release Charts
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- devel
|
- release-0.10
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
[general]
|
|
||||||
# body-is-missing: Allow commit messages with only a title
|
|
||||||
# body-min-length: Allow short body lines, like "Relates-to: #issue"
|
|
||||||
ignore=body-is-missing,body-min-length
|
|
||||||
|
|
||||||
[ignore-by-body]
|
|
||||||
# Dependabot doesn't follow our conventions, unfortunately
|
|
||||||
regex=^Signed-off-by: dependabot\[bot\](.*)
|
|
||||||
ignore=all
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
BASE_BRANCH ?= devel
|
BASE_BRANCH ?= release-0.10
|
||||||
export BASE_BRANCH
|
export BASE_BRANCH
|
||||||
|
|
||||||
ifneq (,$(DAPPER_HOST_ARCH))
|
ifneq (,$(DAPPER_HOST_ARCH))
|
||||||
@@ -22,6 +22,7 @@ export DEPLOY_ARGS
|
|||||||
GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
||||||
CHARTS_DIR=charts
|
CHARTS_DIR=charts
|
||||||
CHARTS_VERSION=0.7.0
|
CHARTS_VERSION=0.7.0
|
||||||
|
HELM_DOCS_VERSION=0.15.0
|
||||||
REPO_URL=$(shell git config remote.origin.url)
|
REPO_URL=$(shell git config remote.origin.url)
|
||||||
|
|
||||||
# Process extra flags from the `using=a,b,c` optional flag
|
# Process extra flags from the `using=a,b,c` optional flag
|
||||||
@@ -42,6 +43,20 @@ e2e: E2E_ARGS=cluster1 cluster2
|
|||||||
helm dep update $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
helm dep update $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
||||||
helm package --version $(CHARTS_VERSION) $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
helm package --version $(CHARTS_VERSION) $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
||||||
|
|
||||||
|
helm-docs:
|
||||||
|
# Avoid polluting repo with helm-docs' README/LICENSE or other files in the release archive
|
||||||
|
cd /tmp && \
|
||||||
|
curl -sL https://github.com/norwoodj/helm-docs/releases/download/v$(HELM_DOCS_VERSION)/helm-docs_$(HELM_DOCS_VERSION)_Linux_x86_64.tar.gz | tar zx && \
|
||||||
|
cd -
|
||||||
|
/tmp/helm-docs
|
||||||
|
if [ ! -z $(git status --porcelain) ]; then \
|
||||||
|
echo "Helm docs not up-to-date:"; \
|
||||||
|
git status --porcelain; \
|
||||||
|
git diff; \
|
||||||
|
echo "Run make helm-docs locally to generate updated docs, commit the updates."; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
release: submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHARTS_VERSION).tgz
|
release: submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHARTS_VERSION).tgz
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
mv *.tgz $(CHARTS_DIR)
|
mv *.tgz $(CHARTS_DIR)
|
||||||
@@ -51,7 +66,7 @@ release: submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHART
|
|||||||
helm repo index $(CHARTS_DIR) --url $(GH_URL); \
|
helm repo index $(CHARTS_DIR) --url $(GH_URL); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release helm-docs
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user