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.
test: updated files to make it in sync with common template
- Loading branch information
1 parent
d604310
commit d727ca4
Showing
11 changed files
with
400 additions
and
22 deletions.
There are no files selected for viewing
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,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/github-action@v2.0.2-alpha | ||
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,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
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
Oops, something went wrong.