File tree 2 files changed +10
-16
lines changed
2 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,16 @@ version: 0.2
3
3
phases :
4
4
build :
5
5
commands :
6
- - PACKAGE_FILE="$CODEBUILD_SRC_DIR_ARTIFACT_1/sagemaker-*.tar.gz"
6
+ # prepare the release (update versions, changelog etc.)
7
+ - git-release --prepare
8
+
9
+ # generate the distribution package
10
+ - python3 setup.py sdist
11
+
12
+ # publish the release to github
13
+ - git-release --publish
14
+
15
+ - PACKAGE_FILE="dist/sagemaker-*.tar.gz"
7
16
- PYPI_USER=$(aws secretsmanager get-secret-value --secret-id /codebuild/pypi/user --query SecretString --output text)
8
17
- PYPI_PASSWORD=$(aws secretsmanager get-secret-value --secret-id /codebuild/pypi/password --query SecretString --output text)
9
18
- GPG_PRIVATE_KEY=$(aws secretsmanager get-secret-value --secret-id /codebuild/gpg/private_key --query SecretString --output text)
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ version: 0.2
3
3
phases :
4
4
build :
5
5
commands :
6
- # prepare the release (update versions, changelog etc.)
7
- - git-release --prepare
8
-
9
6
# run linters
10
7
- tox -e flake8,pylint
11
8
@@ -22,15 +19,3 @@ phases:
22
19
23
20
# run a subset of the integration tests
24
21
- IGNORE_COVERAGE=- tox -e py36 -- tests/integ -m canary_quick -n 64 --boxed --reruns 2
25
-
26
- # generate the distribution package
27
- - python3 setup.py sdist
28
-
29
- # publish the release to github
30
- - git-release --publish
31
-
32
- artifacts :
33
- files :
34
- - dist/sagemaker-*.tar.gz
35
- name : ARTIFACT_1
36
- discard-paths : yes
You can’t perform that action at this time.
0 commit comments