Skip to content

Commit 0e5ddc1

Browse files
authored
Merge pull request #469 from splunk/remove-contribution-references
Remove contribution/PR references - repo no longer accepting new changes
2 parents bbf6fd6 + c5f4a5f commit 0e5ddc1

File tree

6 files changed

+3
-58
lines changed

6 files changed

+3
-58
lines changed

CONTRIBUTING.md

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

MAINTAINERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Overview
22

3-
This document contains a list of maintainers in this repo. If you're interested in contributing, see [CONTRIBUTING](CONTRIBUTING.md).
3+
This document contains a list of maintainers in this repo.
44

55
## Current Maintainers
66

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Read more about how `contentctl` can help test and validate your content in a re
1717
## Sample CICD Workflows
1818
Already using `contentctl`, or looking to get started with it already configured in GitHub Actions? [Our guide](docs/Sample_CICD_Templates.md) includes workflows to help you build and test your app.
1919

20-
## Contribution Guide
21-
Read [the Contribution Guidelines](CONTRIBUTING.md) for this project before opening a Pull Request.
22-
2320
## Ecosystem
2421
| Project | Description |
2522
| --------------------- | ------------------------------------------------------- |

contentctl/actions/inspect.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ def inspectAppCLI(self, config: inspect) -> None:
220220
# "\n\tpython3 -m pip install splunk-appinspect"
221221
# f"\n\tsplunk-appinspect inspect {self.getPackagePath(include_version=False).relative_to(pathlib.Path('.').absolute())} --mode precert")
222222

223-
# else:
224-
# print("splunk-appinspect is only compatable with Python3.9 at this time. Please see the following open issue here: https://github.com/splunk/contentctl/issues/28")
225223
# print("******WARNING******")
226224
return
227225

contentctl/output/conf_output.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,7 @@ def packageAppTar(self) -> None:
314314

315315
def packageAppSlim(self) -> None:
316316
raise Exception(
317-
"Packaging with splunk-packaging-toolkit not currently supported as slim only supports Python 3.7. "
318-
"Please raise an issue in the contentctl GitHub if you encounter this exception."
317+
"Packaging with splunk-packaging-toolkit not currently supported as slim only supports Python 3.7."
319318
)
320319
try:
321320
import logging

docs/Sample_CICD_Templates.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,13 @@ jobs:
7676
python -m pip install --upgrade pip
7777
pip install contentctl==5.0.0
7878
79-
# Running contentctl test with a few arguments, before running the command make sure you checkout into the current branch of the pull request. This step only performs unit testing on all the changes against the target-branch. In most cases this target branch will be develop
80-
# Make sure we check out the PR, even if it actually lives in a fork
81-
# Instructions for pulling a PR were taken from:
82-
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
8379
- name: Run ContentCTL test for changes against target branch
8480
run: |
8581
8682
echo "Current Branch (Head Ref): ${{ github.head_ref }}"
8783
echo "Target Branch (Base Ref): ${{ github.base_ref }}"
8884
git pull > /dev/null 2>&1
89-
#We checkout into a new branch - new_branch_for_testing to avoid name collisions with develop incase the forked PR is from develop
9085
git fetch origin pull/${{ github.event.pull_request.number }}/head:new_branch_for_testing
91-
#We must specifically get the PR's target branch from security_content, not the one that resides in the fork PR's forked repo
9286
git switch new_branch_for_testing
9387
contentctl test --disable-tqdm --no-enable-integration-testing --container-settings.num-containers 2 --post-test-behavior never_pause mode:changes --mode.target-branch ${{ github.base_ref }}
9488
echo "contentctl test - COMPLETED"
@@ -117,4 +111,4 @@ jobs:
117111
echo "The Unit testing is completed. See details in the unit-testing job summary UI "
118112
```
119113

120-
The Testing workflow again has some things that are particular to the setup required for [splunk/security_content](https://github.com/splunk/security_content). Notably, the repository being checked out is hardcoded and should be updated to your repo. There is some additional behavior present related to our repository recieving PRs from forks and ensuring the right jobs are run in the right environment that are also potentially not necessary for your own private repository. Also, there are still hardcoded references to `DA-ESS-ContentUpdate-latest.tar.gz` that should be updated. Additionally, this job relies on [an additional script](https://github.com/splunk/security_content/blob/develop/.github/workflows/format_test_results.py) in its last step to format the results nicely for Github Actions.
114+
The Testing workflow again has some things that are particular to the setup required for [splunk/security_content](https://github.com/splunk/security_content). Notably, the repository being checked out is hardcoded and should be updated to your repo. There are still hardcoded references to `DA-ESS-ContentUpdate-latest.tar.gz` that should be updated. Additionally, this job relies on [an additional script](https://github.com/splunk/security_content/blob/develop/.github/workflows/format_test_results.py) in its last step to format the results nicely for Github Actions.

0 commit comments

Comments
 (0)