File: buildspec.yml

package info (click to toggle)
pfzy 0.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 224 kB
  • sloc: python: 311; makefile: 17; sh: 5
file content (23 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: 0.2

env:
  parameter-store:
    PYPI_USERNAME: /pypi/username
    PYPI_PASSWORD: /pypi/password

phases:
  install:
    runtime-versions:
      python: latest
    commands:
      - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
      - source $HOME/.poetry/env
      - poetry install

  build:
    commands:
      - poetry build

  post_build:
    commands:
      - poetry publish --username $PYPI_USERNAME --password $PYPI_PASSWORD