mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-21 08:00:34 +00:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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?**:
|
||||
|
||||
**Environment**:
|
||||
- Submariner version (use `subctl version`):
|
||||
- Kubernetes version (use `kubectl version`):
|
||||
- Diagnose information (use `subctl diagnose all`):
|
||||
- Gather information (use `subctl gather`):
|
||||
- Cloud provider or hardware configuration:
|
||||
- OS (e.g: `cat /etc/os-release`):
|
||||
- Kernel (e.g. `uname -a`):
|
||||
- Install tools:
|
||||
- Network plugin and version (if this is a network-related bug):
|
||||
- Others:
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
# Configuration for probot-stale - https://github.com/probot/stale
|
||||
|
||||
# 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.
|
||||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||
|
||||
@@ -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
|
||||
@@ -65,20 +65,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run helm-docs and verify docs are up-to-date
|
||||
run: |
|
||||
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
|
||||
run: make helm-docs
|
||||
|
||||
markdown-link-check:
|
||||
name: Markdown Links (modified files)
|
||||
|
||||
@@ -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
|
||||
@@ -22,6 +22,7 @@ export DEPLOY_ARGS
|
||||
GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
||||
CHARTS_DIR=charts
|
||||
CHARTS_VERSION=0.7.0
|
||||
HELM_DOCS_VERSION=0.15.0
|
||||
REPO_URL=$(shell git config remote.origin.url)
|
||||
|
||||
# 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 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
|
||||
git checkout gh-pages
|
||||
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); \
|
||||
fi
|
||||
|
||||
.PHONY: release
|
||||
.PHONY: release helm-docs
|
||||
|
||||
else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user