Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #1425 - Migrate Release Pipeline to GitHub Actions #1516

Merged
merged 17 commits into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
247 changes: 0 additions & 247 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/agent_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- '**.txt'
- '.github/**'
- '.circleci/**'
workflow_call:

jobs:
pr-check:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/changelog-release-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"categories": [
{
"title": "## 🛠 Breaking Changes",
"labels": ["breaking-change"]
},
{
"title": "## 🚀 Implemented Enhancements",
"labels": ["feature", "enhancement"]
},
{
"title": "## 🐛 Bugfixes",
"labels": ["fix", "bug"]
},
{
"title": "## 🧪 Tests",
"labels": ["test"]
},
{
"title": "## Other Changes",
"labels": ["*"]
}
],
"sort": "ASC",
"template": "${{CHANGELOG}}",
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}",
"empty_template": "- no changes",
"max_pull_requests": 1000,
"max_back_track_time_days": 1000
}
4 changes: 3 additions & 1 deletion .github/workflows/configdocsgenerator_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
paths:
- '.github/workflows/configdocsgenerator_test.yml'
- 'components/inspectit-ocelot-configdocsgenerator/**'
workflow_call:

jobs:
test:
name: Test
Expand All @@ -21,4 +23,4 @@ jobs:
run: chmod +x gradlew
- name: test
run: ../../gradlew test
working-directory: ${{env.working-directory}}
working-directory: ${{env.working-directory}}
4 changes: 3 additions & 1 deletion .github/workflows/configuration_ui_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
paths:
- 'components/inspectit-ocelot-configurationserver-ui/**'
workflow_call:


jobs:
test:
Expand All @@ -33,4 +35,4 @@ jobs:

- name: Run Prettier
working-directory: ${{env.working-directory}}
run: yarn format
run: yarn format
2 changes: 2 additions & 0 deletions .github/workflows/configurationserver_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
- '.github/workflows/configurationserver_test.yml'
- 'components/inspectit-ocelot-configurationserver/**'
- '!components/inspectit-ocelot-configurationserver/README.md'
workflow_call:

jobs:
test:
name: Assemble & Test
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/deploy_master_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy Master Documentation

on:
push:
branches:
- master
paths:
- inspectit-ocelot-documentation/**

jobs:

deploy_master_documentation:
name: "Publish Master Documentation"
runs-on: ubuntu-latest
defaults:
run:
working-directory: inspectit-ocelot-documentation/website
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: 'inspectit-ocelot-documentation/website/yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./inspectit-ocelot-documentation/website/build/inspectit-ocelot
user_name: NTTechnicalUser
user_email: NTTechnicalUser@users.noreply.github.com
commit_message: "Updated master documentation"
25 changes: 25 additions & 0 deletions .github/workflows/docs_deployment_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Documentation Deployment

on:
pull_request:
branches:
- master

jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
defaults:
run:
working-directory: inspectit-ocelot-documentation/website
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: 'inspectit-ocelot-documentation/website/yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test build website
run: yarn build
Loading