Skip to content

Commit

Permalink
chore: Remove unused mdBook workflow and Alpine Linux packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliagranato committed Aug 26, 2024
1 parent f9cd08d commit a607a72
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/mdbook.yml

This file was deleted.

40 changes: 40 additions & 0 deletions chainguard/melange-staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package:
name: senhas-staging
version: 1.0.0
description: Um gerador de senhas.
copyright:
- license: Apache-2.0
paths:
- "*"
dependencies:
runtime:
- python3

environment:
contents:
repositories:
- https://dl-cdn.alpinelinux.org/alpine/edge/main
- https://dl-cdn.alpinelinux.org/alpine/edge/community
packages:
- alpine-baselayout-data
- ca-certificates-bundle
- busybox
- gcc
- musl-dev
- python3
- python3-dev
- py3-pip
- py3-virtualenv

pipeline:
- name: Build Python application
runs: |
WEBAPPDIR="${{targets.destdir}}/usr/share/webapps/app"
mkdir -p "${WEBAPPDIR}"
echo "#!/usr/share/webapps/app/venv/bin/python3" > "${WEBAPPDIR}/app"
cat app.py >> "${WEBAPPDIR}/app"
chmod +x "${WEBAPPDIR}/app"
cp -r templates "${WEBAPPDIR}"
cp -r static "${WEBAPPDIR}"
virtualenv "${WEBAPPDIR}/venv"
sh -c "source '${WEBAPPDIR}/venv/bin/activate' && pip install -r requirements.txt"
Binary file not shown.

0 comments on commit a607a72

Please sign in to comment.