-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
359215a
commit 68947b9
Showing
8 changed files
with
162 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @jkennedyvz @jrozner @JoelAtDeluxe |
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 @@ | ||
--- | ||
name: Bug | ||
about: "Report a confirmed bug." | ||
labels: "bug, triage" | ||
|
||
--- | ||
<!-- | ||
Please fill in the following details to help us reproduce the bug: | ||
--> | ||
**Description of the problem including expected versus actual behavior**: | ||
|
||
**Steps to reproduce**: | ||
|
||
Please include a *minimal* but *complete* recreation of the problem, | ||
including (e.g.) index creation, mappings, settings, query etc. The easier | ||
you make for us to reproduce it, the more likely that somebody will take the | ||
time to look at it. | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
**Provide logs (if relevant)**: |
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: Feature Request | ||
about: Request a new feature we haven't thought of | ||
labels: "enhancement, triage" | ||
|
||
--- | ||
<!-- | ||
Please first search existing issues for the feature you are requesting; | ||
it may already exist, even as a closed issue. | ||
--> | ||
|
||
<!-- | ||
Describe the feature. | ||
Please give us as much context as possible about the feature. For example, | ||
you could include a story about a time when you wanted to use the feature, | ||
and also tell us what you had to do instead. The last part is helpful | ||
because it gives us an idea of how much harder your life is without the | ||
feature. | ||
--> |
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,8 @@ | ||
--- | ||
name: Question | ||
about: A general question, or unconfirmed bug | ||
labels: "question" | ||
|
||
--- | ||
|
||
Please ask your question below in plain language as described in our [Code of Conduct](https://github.com/ashirt-ops/ashirt-workers/blob/master/Code-of-Conduct.md) |
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 @@ | ||
--- | ||
name: Test Failure | ||
about: A test failure in CI | ||
labels: "test-failure" | ||
|
||
--- | ||
|
||
<!-- | ||
Please fill out the following information, and ensure you have attempted | ||
to reproduce locally | ||
--> | ||
|
||
**Build scan**: | ||
|
||
**Repro line**: | ||
|
||
**Reproduces locally?**: | ||
|
||
**Applicable branches**: | ||
|
||
**Failure history**: | ||
|
||
**Failure excerpt**: |
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 @@ | ||
<!-- | ||
Thank you for your interest in and contributing to ASHIRT! There | ||
are a few simple things to check before submitting your pull request | ||
that can help with the review process. We only seek to accept code that you are authorized to contribute to the project. This pull request template is included on our projects so that your contributions are made with the following confirmation: I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner. | ||
--> | ||
|
||
- Please review our [contributing guidelines](https://github.com/ashirt-ops/ashirt-server/blob/master/Contributing.md) | ||
- Please review our [Code of Conduct](https://github.com/ashirt-ops/ashirt-server/blob/master/Code-of-Conduct.md) | ||
|
||
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner. |
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,16 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/frontend" | ||
schedule: | ||
interval: "monthly" | ||
|
||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
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,60 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build_push: | ||
name: Build and Push | ||
strategy: | ||
matrix: | ||
service: [demo-tesseract-lambda-python] | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- name: Docker meta | ||
id: docker_meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ashirt/${{ matrix.service }} # list of Docker images to use as base name for tags | ||
tags: | | ||
type=sha | ||
type=ref,event=branch | ||
type=ref,event=pr | ||
flavor: | | ||
latest=false | ||
- name: Login to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Build and Push PR | ||
if: github.ref != 'refs/heads/main' | ||
uses: docker/[email protected] | ||
with: | ||
context: workers/${{ matrix.service }} | ||
file: Dockerfile | ||
tags: ${{ steps.docker_meta.outputs.tags }} | ||
labels: ${{ steps.docker_meta.outputs.labels }} | ||
platforms: linux/amd64 | ||
push: true # Push with pr-### and sha-xxxxxxx tags | ||
|
||
- name: Build and Push Latest | ||
if: github.ref == 'refs/heads/main' | ||
uses: docker/[email protected] | ||
with: | ||
context: workers/${{ matrix.service }} | ||
file: Dockerfile | ||
tags: ${{ steps.docker_meta.outputs.tags }}, ashirt/${{ matrix.service }}:latest #Add latest tag for main | ||
labels: ${{ steps.docker_meta.outputs.labels }} | ||
platforms: linux/amd64 | ||
push: true |