File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
88ARG NODE_VERSION="none"
99RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1" ; fi
1010
11- COPY requirements.txt constraints.txt /tmp/pip-tmp/
11+ COPY requirements.txt /tmp/pip-tmp/
1212RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
13- && pip3 install tox && rm -rf /tmp/pip-tmp
13+ && pip3 install tox && rm -rf /tmp/pip-tmp
Original file line number Diff line number Diff line change 11venv
22* .pyc
33* ~
4+ .git
5+ * .egg-info
6+ __pycache__
7+ .eggs
8+ .tox
Original file line number Diff line number Diff line change 11---
22name : build
33
4- on : push
4+ on :
5+ push :
6+ branches :
7+ - ' **'
8+ schedule :
9+ # Run once a week at 00:00 on Sunday
10+ - cron : ' 0 0 * * 0'
11+ release :
12+ types :
13+ - created
514
615permissions :
716 contents : read
Original file line number Diff line number Diff line change 3939 context : .
4040 file : ./Dockerfile
4141 push : true
42+ build-args : |
43+ VERSION=${{ github.event.inputs.tag }}
4244 tags : |
4345 ghcr.io/scality/bert-e:${{ inputs.tag }}
4446 registry.scality.com/bert-e/bert-e:${{ inputs.tag }}
Original file line number Diff line number Diff line change 33name : trivy
44
55on :
6- schedule :
7- # Every day at noon
8- - cron : ' 0 12 * * *'
96 workflow_call :
107 inputs :
118 image :
Original file line number Diff line number Diff line change 11recursive-include bert_e/templates *
22recursive-include bert_e/docs *
3+ include requirements.txt
Original file line number Diff line number Diff line change @@ -18,4 +18,3 @@ requests==2.28.2
1818requests-mock == 1.10.0
1919werkzeug == 2.2.2
2020WTForms == 3.0.1
21- setuptools-scm == 1.9.0
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22
33from os .path import abspath , dirname , join
4+ import os
45import pip
56
67from setuptools import setup
@@ -36,14 +37,11 @@ def requires():
3637
3738setup (
3839 name = 'bert-e' ,
39- use_scm_version = {
40- 'local_scheme' : 'dirty-tag'
41- },
42- setup_requires = [
43- 'setuptools_scm'
44- ],
40+ version = os .getenv ('VERSION' , '1.0-dev' ),
41+ python_requires = ">=3.10" ,
42+ platforms = ['any' ],
4543 description = 'Scality\' s automated branch merging tool' ,
46- url = 'https://bitbucket.org /scality/bert-e' ,
44+ url = 'https://github.com /scality/bert-e' ,
4745 license = 'Apache' ,
4846 include_package_data = True ,
4947 packages = [
You can’t perform that action at this time.
0 commit comments