-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/maven/code/api/main/com.atlassian…
….jira-jira-api-1000.30.0
- Loading branch information
Showing
927 changed files
with
25,068 additions
and
28,325 deletions.
There are no files selected for viewing
Empty file.
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 @@ | ||
--- | ||
name: Epic | ||
about: An epic is a collection of user stories. It can be used to gather features sharing the same goal (e.g. User login management, Migration, Purchase etc.). | ||
title: Epic | ||
labels: Epic Request | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Description** | ||
What is the epic about ? Feel free to detail as many as you can. | ||
|
||
**Features** | ||
- feature 1 (#xx) | ||
- feature 2 (#yy) | ||
- ... | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the epic request here or even mockups of screen modifications if you have made any :) |
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 @@ | ||
release-notes-file: CHANGELOG.md | ||
release-name-template: "{{ .Name }}-v{{ .Version }}" |
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 @@ | ||
ruamel.yaml |
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,23 @@ | ||
#!/usr/bin/env python | ||
|
||
from ruamel.yaml import YAML | ||
import os, sys | ||
from argparse import ArgumentParser | ||
|
||
yaml=YAML() | ||
|
||
def upgrade_component_version(args): | ||
values_path = os.path.join(args.path, 'values.yaml') | ||
with open(values_path) as stream: | ||
loaded = yaml.load(stream) | ||
loaded[args.component]['image']['tag'] = args.version | ||
with open(values_path, 'wb') as stream: | ||
yaml.dump(loaded, stream) | ||
|
||
parser = ArgumentParser(prog='upgrade-component') | ||
|
||
parser.add_argument("path", help="chart path") | ||
parser.add_argument("-c", "--component", help="component name under values", required=True) | ||
parser.add_argument("-v", "--version", help="component version") | ||
|
||
upgrade_component_version(parser.parse_args()) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,78 @@ | ||
name: build oauth2-dev-server | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-oauth2-dev-server: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: skip_check | ||
uses: fkirc/[email protected] | ||
with: | ||
paths: '["code/oauth2-dev-server/**", ".github/workflows/build-oauth2-dev-server.yaml"]' | ||
cancel_others: 'true' | ||
skip_after_successful_duplicate: 'false' | ||
do_not_skip: '["workflow_dispatch"]' | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Install xmllint | ||
run: sudo apt-get update && sudo apt-get install libxml2-utils | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Set up JDK | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'adopt' | ||
java-version: '17' | ||
cache: 'maven' | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Build | ||
run: mvn -f code/oauth2-dev-server -B clean install | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Prepare | ||
id: prep | ||
run: | | ||
PUSH=FALSE | ||
pushd code | ||
APP_EXISTS=$(make -s check-oads-image) | ||
popd | ||
if [[ $GITHUB_REF == refs/heads/* ]]; then | ||
BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g') | ||
if [ "${{ github.event.repository.default_branch }}" = "$BRANCH_NAME" ] && [ "$APP_EXISTS" != 'true' ]; then | ||
PUSH=TRUE | ||
fi | ||
elif [[ $GITHUB_REF == refs/pull/* ]]; then | ||
BRANCH_NAME=$(echo ${{ github.event.pull_request.head.ref }} | sed -r 's#/+#-#g') | ||
if [[ $BRANCH_NAME == release-* ]]; then | ||
PUSH=TRUE | ||
SUFFIX=rc | ||
else | ||
SUFFIX=pr-${{ github.event.number }} | ||
fi | ||
fi | ||
echo ::set-output name=push::${PUSH} | ||
echo ::set-output name=suffix::${SUFFIX} | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' && steps.prep.outputs.push == 'true'}} | ||
name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | ||
name: Build and push | ||
run: | | ||
cd code | ||
make build-oads SUFFIX=${{ steps.prep.outputs.suffix }} PUBLISH=${{ steps.prep.outputs.push }} |
Oops, something went wrong.