Skip to content

Commit 71e787e

Browse files
chore: Delete moved code (#756)
* update pull request template * remove workflows * remove code * remove leftovers * update pr workflow * remove leftovers and update readme * update makefile * restore lint and test workflow * Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * update makefile * add target to download crds from console repo * remove unused chart lint configs * remove test leftovers * update workflows * Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * always run chart testing * add workflow to autosync chart crds --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 72cd610 commit 71e787e

559 files changed

Lines changed: 148 additions & 103961 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,14 @@
66
<!-- your work with our users. -->
77

88
## Test Plan
9-
<!-- Please provide a link to a test environment where you have deployed and tested the agent. -->
10-
Test environment: https://console.your-env.onplural.sh/
119

1210
<!-- Please describe the tests you have added and preformed. -->
1311

1412
## Checklist
13+
1514
<!-- Go over all the following points to make sure you've checked all that apply before merging. -->
1615
<!-- If you're unsure about any of these, don't hesitate to ask in our Discord. -->
1716

1817
- [ ] I have added a meaningful title and summary to convey the impact of this PR to a user.
19-
- [ ] I have deployed the agent to a test environment and verified that it works as expected.
20-
- [ ] Agent starts successfully.
21-
- [ ] Service creation works without any issues when using raw manifests and Helm templates.
22-
- [ ] Service creation works when resources contain both CRD and CRD instances.
23-
- [ ] Service templating works correctly.
24-
- [ ] Service errors are reported properly and visible in the UI.
25-
- [ ] Service updates are reflected properly in the cluster.
26-
- [ ] Service resync triggers immediately and works as expected.
27-
- [ ] Sync waves annotations are respected.
28-
- [ ] Sync phases annotations are respected. Phases are executed in the correct order.
29-
- [ ] Sync hook delete policies are respected. Resources are not recreated once they reach the desired state.
30-
- [ ] Service deletion works and cleanups resources properly.
31-
- [ ] Services can be recreated after deletion.
32-
- [ ] Service detachment works and keeps resources unaffected.
33-
- [ ] Services can be recreated after detachment.
34-
- [ ] Service component trees are working as expected.
35-
- [ ] Cluster health statuses are being updated.
36-
- [ ] Agent logs do not contain any errors (after running for at least 30 minutes).
37-
- [ ] There are no visible anomalies in Datadog (after running for at least 30 minutes).
3818
- [ ] I have added tests to cover my changes.
3919
- [ ] If required, I have updated the Plural documentation accordingly.
40-

.github/configs/ct-install.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/configs/ct-lint.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/configs/lintconf.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/chart.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 0 additions & 168 deletions
This file was deleted.

.github/workflows/crd-sync.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Sync
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 1-5"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
sync-crds:
14+
name: Agent chart CRDs from Console
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Sync CRDs
23+
run: make codegen-chart-crds
24+
25+
- name: Save date
26+
id: date
27+
run: echo "date=$(date +%Y-%m-%d)" >> "$GITHUB_OUTPUT"
28+
29+
- name: Create pull request
30+
id: cpr
31+
uses: peter-evans/create-pull-request@v7
32+
with:
33+
title: "chore: sync deployment-operator CRDs"
34+
body: Automated pull request to sync deployment-operator CRDs from console.
35+
commit-message: "chore: sync deployment-operator CRDs"
36+
branch: crd-sync-${{ steps.date.outputs.date }}
37+
labels: documentation
38+
base: main
39+
40+
- name: Enable pull request auto-merge
41+
if: steps.cpr.outputs.pull-request-operation == 'created'
42+
uses: peter-evans/enable-pull-request-automerge@v3
43+
with:
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
46+
merge-method: squash

0 commit comments

Comments
 (0)