8000 Updates by smashedr · Pull Request #2 · cssnr/stack-deploy-action · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updates #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions 37 .github/ISSUE_TEMPLATE/0-bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "⚠️ Report an Issue"
description: "Something Not Working Right? Please let us know..."
labels: ["bug"]
assignees:
- smashedr

body:
- type: input
id: website
validations:
required: false
attributes:
label: Repo Link
description: Please provide a link to the repository or workflow you are having issues with if possible.

- type: textarea
id: description
validations:
required: true
attributes:
label: Details
description: Please describe the issue you are experiencing and how to reproduce.
placeholder: Provide as many details as you can...

- type: textarea
id: logs
validations:
required: false
attributes:
label: Log Output
description: Paste any relevant logs or output in this box.
render: shell

- type: markdown
attributes:
value: |
All issues/bugs that we can verify will be fixed. Thank you for taking the time to make this report!
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
blank_issues_enabled: true
contact_links:
- name: "💡 Request a Feature"
about: Request a New Feature or Enhancement in the Discussions.
url: https://github.com/cssnr/stack-deploy-action/discussions/new?category=feature-requests

- name: "❔ Ask a Question"
about: Ask a General Question or start a Discussions.
url: https://github.com/cssnr/stack-deploy-action/discussions/new?category=q-a

- name: "💬 Join Discord"
about: Chat with us about Issues, Features, Questions and More.
url: https://discord.gg/wXy6m2X8wY

- name: "📝 Submit Feedback"
about: Send General Feedback.
url: https://cssnr.github.io/feedback
17 changes: 17 additions & 0 deletions .github/workflows/tags.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Tags"

on:
release:
types: [published]

jobs:
tags:
name: "Tags"
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: "Update Tags"
uses: cssnr/stack-deploy-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
48 changes: 48 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: "Test"

on:
workflow_dispatch:
push:

jobs:
test:
name: "Test"
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: "Checkout"
uses: actions/checkout@v4

- name: "Write YAML"
id: yaml-action
uses: teunmooij/yaml@v1
with:
data: '{"version":"3.8","services":{"alpine":{"image":"alpine","command":"tail -f /dev/null"}}}'
to-file: "docker-compose.yaml"

- name: "Test Local Action"
id: test
uses: ./
with:
host: ${{ secrets.DOCKER_HOST }}
port: ${{ secrets.DOCKER_PORT }}
user: ${{ secrets.DOCKER_USER }}
#pass: ${{ secrets.DOCKER_PASS }}
ssh_key: "${{ secrets.DOCKER_SSH_KEY }}"
file: "docker-compose.yaml"
name: "test-stack"

lint:
name: "Lint"
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: "Checkout"
uses: actions/checkout@v4

- name: "ShellCheck"
uses: ludeeus/action-shellcheck@master
with:
scandir: src
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.idea/
*.iml
build/
node_modules/
playwright-report/
screenshots/
web-ext-artifacts/
.vscode/
venv/
__pycache__/
*.pyc
.env
.secrets
.vars
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM docker:24-dind

RUN apk add --update --no-cache bash sshpass

COPY --chmod=0755 docker-entrypoint.sh /
COPY --chmod=0755 scripts/ /scripts
COPY src/main.sh /main.sh

ENTRYPOINT ["/docker-entrypoint.sh"]
ENTRYPOINT ["bash", "/main.sh"]
Loading
Loading
0