This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from splunk/test/common-versioning-changes
common versioning changes
- Loading branch information
Showing
27 changed files
with
907 additions
and
2,025 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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,33 @@ | ||
name: "CLA Assistant" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened, closed, synchronize] | ||
|
||
jobs: | ||
CLAssistant: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "CLA Assistant" | ||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | ||
# Alpha Release | ||
uses: cla-assistant/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# the below token should have repo scope and must be manually added by you in the repository's secret | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} | ||
with: | ||
path-to-signatures: ".github/signatures/version1/cla.json" | ||
path-to-document: "https://github.com/splunk/addonfactory-test-releaseci/blob/main/CLA.md" # e.g. a CLA or a DCO document | ||
# branch should not be protected | ||
branch: "master" | ||
allowlist: dependabot | ||
#below are the optional inputs - If the optional inputs are not given, then default values will be taken | ||
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository) | ||
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository) | ||
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures' | ||
#signed-commit-messag e: 'For example: $contributorName has signed the CLA in #$pullRequestNo' | ||
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign' | ||
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA' | ||
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.' |
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,21 @@ | ||
name: Release-Notes-Preview | ||
|
||
on: | ||
pull_request: | ||
branches: [master, develop] | ||
issue_comment: | ||
types: [edited] | ||
|
||
jobs: | ||
preview: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
git fetch --unshallow --tags | ||
- uses: snyk/[email protected] | ||
with: | ||
releaseBranch: master | ||
env: | ||
GITHUB_PR_USERNAME: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,14 @@ | ||
--- | ||
branches: | ||
- "+([0-9])?(.{+([0-9]),x}).x" | ||
- master | ||
- name: develop | ||
channel: beta | ||
prerelease: true | ||
plugins: | ||
- "@semantic-release/commit-analyzer" | ||
- "@semantic-release/release-notes-generator" | ||
- - "@semantic-release/github" | ||
- assets: | ||
- /tmp/workspace/build/package/splunkbase/* | ||
- /tmp/workspace/build/package/deployment/* |
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 @@ | ||
FROM sameersbn/squid:3.5.27-2 | ||
ARG PROXY_USERNAME=user1 | ||
ARG PROXY_PASSWORD=123456 | ||
RUN apt-get update | ||
RUN apt-get install -y apache2-utils | ||
RUN touch /etc/squid/passwords | ||
RUN chmod 777 /etc/squid/passwords | ||
RUN htpasswd -b /etc/squid/passwords $PROXY_USERNAME $PROXY_PASSWORD | ||
RUN mv /etc/squid/squid.conf /etc/squid/squid.conf.original | ||
RUN echo "auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwords\n"\ | ||
"auth_param basic realm Squid proxy-caching web server\n"\ | ||
"auth_param basic credentialsttl 24 hours\n"\ | ||
"auth_param basic casesensitive off\n"\ | ||
"acl authenticated proxy_auth REQUIRED\n"\ | ||
"http_access allow authenticated\n"\ | ||
"http_access deny all\n"\ | ||
"dns_v4_first on\n"\ | ||
"forwarded_for delete\n"\ | ||
"via off\n"\ | ||
"http_port 3128\n" > /etc/squid/squid.conf | ||
RUN cat /etc/squid/squid.conf | ||
RUN service squid start | ||
RUN service squid restart |
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,12 @@ | ||
#Splunk Connect for Syslog (SC4S) by Splunk, Inc. | ||
# | ||
#To the extent possible under law, the person who associated CC0 with | ||
#Splunk Connect for Syslog (SC4S) has waived all copyright and related or neighboring rights | ||
#to Splunk Connect for Syslog (SC4S). | ||
# | ||
#You should have received a copy of the CC0 legalcode along with this | ||
#work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | ||
FROM circleci/python:3.7 | ||
RUN curl https://saucelabs.com/downloads/sc-4.6.2-linux.tar.gz -o /home/circleci/saucelabs.tar.gz | ||
RUN tar -xzf /home/circleci/saucelabs.tar.gz --directory /home/circleci/ | ||
CMD /home/circleci/sc-4.6.2-linux/bin/sc -u $SAUCE_USERNAME -k $SAUCE_PASSWORD -i $SAUCE_TUNNEL_ID --no-remove-colliding-tunnels -v --se-port 4445 |
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
Submodule addonfactory_test_matrix_splunk
updated
7 files
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
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,5 @@ | ||
## | ||
## SPDX-FileCopyrightText: 2020 Splunk, Inc. <[email protected]> | ||
## SPDX-License-Identifier: LicenseRef-Splunk-1-2020 | ||
## | ||
## Requirements Specific to the Addon for Testing |
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 |
---|---|---|
|
@@ -2,6 +2,23 @@ | |
## SPDX-FileCopyrightText: 2020 Splunk, Inc. <[email protected]> | ||
## SPDX-License-Identifier: LicenseRef-Splunk-1-2020 | ||
## | ||
-r tests/requirements.txt | ||
pip install lovely-pytest-docker | ||
reuse | ||
## Addon Requirements for Testing | ||
https://712-287085785-gh.circle-artifacts.com/0/dist/splunk_add_on_ucc_framework-4.1.12.post5.dev0%2B99f91870.tar.gz | ||
lovely-pytest-docker==0.2.0 | ||
reuse==0.12.1 | ||
pytest==6.2.1 | ||
https://download.splunk.com/misc/packaging-toolkit/splunk-packaging-toolkit-1.0.1.tar.gz | ||
pytest-xdist==2.2.0 | ||
pytest-ordering==0.6 | ||
pytest-splunk-addon==1.4.0 | ||
pytest-expect==1.1.0 | ||
pytest-splunk-addon-ui-smartx==1.1.0 | ||
pytest-rerunfailures==9.1.1 | ||
mock==3.0.5 | ||
requests==2.25.1 | ||
u-msgpack-python==2.5.0 | ||
six==1.12.0 | ||
coverage==4.0.3 | ||
splunk-sdk==1.6.14 | ||
future==0.18.2 | ||
-r requirements_addon_specific.txt |
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,10 @@ | ||
## | ||
## SPDX-FileCopyrightText: 2020 Splunk, Inc. <[email protected]> | ||
## SPDX-License-Identifier: LicenseRef-Splunk-1-2020 | ||
## | ||
## Python2 Addon Requirements for Testing | ||
lovely-pytest-docker | ||
pytest | ||
pytest-xdist | ||
pytest-expect | ||
mock==3.0.5 |
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,6 @@ | ||
## | ||
## SPDX-FileCopyrightText: 2020 Splunk, Inc. <[email protected]> | ||
## SPDX-License-Identifier: LicenseRef-Splunk-1-2020 | ||
## | ||
## | ||
# Add Addon specific Environment variables in this file. Variables must be set in CircleCI Environment." |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.