Skip to content

Commit f367000

Browse files
Clean up this repository (#2)
* Add License headers * Add License * Remove aquasec * Update README * rename from africa.absa.cps to za.co.absa * update README * add CONTIBUTING.md * add issue templates * add release publish workflow * format files * update relese notes check * fix gh copilot review
1 parent 0f90ada commit f367000

Some content is hidden

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

53 files changed

+948
-113
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
labels: 'bug'
5+
type: 'Bug'
6+
---
7+
8+
## Describe the bug
9+
A clear and concise description of what the bug is.
10+
11+
## To Reproduce
12+
Steps to reproduce the behavior OR commands run:
13+
1. Go to '...'
14+
2. Click on '....'
15+
3. Enter value '...'
16+
4. See error
17+
18+
## Expected behavior
19+
A clear and concise description of what you expected to happen.
20+
21+
## Screenshots
22+
If applicable, add screenshots to help explain your problem.
23+
24+
## Desktop (please complete the following information):
25+
- OS: [e.g. iOS]
26+
- Browser [e.g. chrome, safari]
27+
- Version [e.g. 22]
28+
29+
## Additional context
30+
Add any other context about the problem here.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Epic
3+
about: A larger task consisting of more deliverables
4+
labels: 'epic'
5+
type: 'Epic'
6+
---
7+
8+
## Background
9+
A clear and concise intro into the situation.
10+
11+
## Goal
12+
The goal that epic wants to achieve.
13+
14+
[Add actionable subtasks or even epics]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
labels: 'enhancement'
5+
type: 'Feature'
6+
---
7+
8+
## Background
9+
A clear and concise description of where the limitation lies.
10+
11+
## Feature
12+
A description of the requested feature.
13+
14+
## Example [Optional]
15+
A simple example if applicable.
16+
17+
## Proposed Solution [Optional]
18+
Solution Ideas:
19+
1.
20+
2.
21+
3.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Operative task
3+
about: Issue template for operational tasks.
4+
labels: 'infrastructure,no RN'
5+
type: 'Task'
6+
---
7+
8+
## The task
9+
10+
Short description of the task.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Spike
3+
about: Issue template for spikes, research and investigation tasks
4+
labels: 'spike'
5+
type: 'Task'
6+
---
7+
8+
## Background
9+
A clear and concise description of the problem or a topic we need to understand.
10+
11+
Feel free to add information about why it's needed and what assumptions you have at the moment.
12+
13+
## Questions To Answer
14+
15+
1.
16+
2.
17+
3.
18+
19+
## Desired Outcome
20+
21+
The list of desired outcomes of this spike ticket.
22+
23+
### Tasks
24+
- [ ] Questions have been answered or we have a clearer idea of how to get to our goal
25+
- [ ] Discussion with the team
26+
- [ ] Documentation
27+
- [ ] Create recommendations and new implementation tickets
28+
- [ ] item here..
29+
30+
## Additional Info/Resources [Optional]
31+
32+
1.
33+
2.
34+
3.

.github/workflows/cd_scala.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2024 ABSA Group Limited
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
116
name: CD Scala
217

318
on:
@@ -50,21 +65,3 @@ jobs:
5065
with:
5166
name: ${{ env.artifact_name }}
5267
path: bigfiles/staging
53-
54-
- name: Aquasec Manifest Generation
55-
run: |
56-
export BILLY_SERVER=https://billy.eu-1.codesec.aquasec.com
57-
curl -sLo install.sh download.codesec.aquasec.com/billy/install.sh
58-
curl -sLo install.sh.checksum https://github.com/argonsecurity/releases/releases/latest/download/install.sh.checksum
59-
if ! cat install.sh.checksum | sha256sum --check; then
60-
echo "install.sh checksum failed"
61-
exit 1
62-
fi
63-
BINDIR="." sh install.sh
64-
rm install.sh install.sh.checksum
65-
./billy generate \
66-
--access-token "${{ secrets.GITHUB_TOKEN }}" \
67-
--aqua-key "${{ secrets.AQUA_KEY }}" \
68-
--aqua-secret "${{ secrets.AQUA_SECRET }}" \
69-
--cspm-url https://eu-1.api.cloudsploit.com \
70-
--artifact-path "${{ github.workspace }}"

.github/workflows/check_pr_release_notes.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2024 ABSA Group Limited
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
116
name: Check PR Release Notes in Description
217

318
on:
@@ -16,7 +31,7 @@ jobs:
1631

1732
- name: Check presence of release notes in PR description
1833
id: check-release-notes
19-
uses: AbsaOSS/release-notes-presence-check@v0.2.1
34+
uses: AbsaOSS/release-notes-presence-check@v0.3.0
2035
env:
2136
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2237
with:

.github/workflows/ci_python.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2024 ABSA Group Limited
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
116
name: CI Python
217

318
on:

.github/workflows/ci_scala.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2024 ABSA Group Limited
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
116
name: CI Scala
217

318
on:
@@ -60,23 +75,6 @@ jobs:
6075
script: |
6176
core.setFailed('Changed files coverage is less than ${{ env.changed }}%!')
6277
63-
- name: Aquasec Manifest Generation
64-
run: |
65-
export BILLY_SERVER=https://billy.eu-1.codesec.aquasec.com
66-
curl -sLo install.sh download.codesec.aquasec.com/billy/install.sh
67-
curl -sLo install.sh.checksum https://github.com/argonsecurity/releases/releases/latest/download/install.sh.checksum
68-
if ! cat install.sh.checksum | sha256sum --check; then
69-
echo "install.sh checksum failed"
70-
exit 1
71-
fi
72-
BINDIR="." sh install.sh
73-
rm install.sh install.sh.checksum
74-
./billy generate \
75-
--access-token "${{ secrets.GITHUB_TOKEN }}" \
76-
--aqua-key "${{ secrets.AQUA_KEY }}" \
77-
--aqua-secret "${{ secrets.AQUA_SECRET }}" \
78-
--cspm-url https://eu-1.api.cloudsploit.com \
79-
--artifact-path "${{ github.workspace }}"
8078
8179
format-check:
8280
name: Format Check

.github/workflows/release_draft.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2024 ABSA Group Limited
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
116
name: Release - create draft release
217
on:
318
workflow_dispatch:

0 commit comments

Comments
 (0)