Skip to content

Commit 10b83b0

Browse files
committed
SPROD-7771 convert library to use standard codebuild jobs via jenkins
1 parent caa6ac8 commit 10b83b0

File tree

3 files changed

+34
-25
lines changed

3 files changed

+34
-25
lines changed

Jenkinsfile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
pipeline {
2+
agent any
3+
stages {
4+
stage('build') {
5+
when {
6+
anyOf {
7+
branch 'master'
8+
branch 'production'
9+
branch 'release_candidate'
10+
}
11+
}
12+
parallel {
13+
stage('build_trusty') {
14+
steps {
15+
awsCodeBuild projectName: 'build_trusty_python_library',
16+
envVariables: '[ { RUN_TESTS, false }, { CREATE_SDIST, true } ]',
17+
region: 'us-east-1',
18+
sourceControlType: 'jenkins',
19+
credentialsType: 'keys'
20+
}
21+
}
22+
stage('build_bionic') {
23+
steps {
24+
awsCodeBuild projectName: 'build_bionic_python_library',
25+
envVariables: '[ { RUN_TESTS, false }, { CREATE_SDIST, true } ]',
26+
region: 'us-east-1',
27+
sourceControlType: 'jenkins',
28+
credentialsType: 'keys'
29+
}
30+
}
31+
}
32+
}
33+
}
34+
}

README.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoidzdEazRRM013c2hLcUZ3WDd3STMvY01QSnA0OUgzZGpUMlU1aXAxZFdCYVE5d1JOY1Jnc1BnYjhSazJKMHBNaTM1SXNpYU5ORU9xU2ZzQjJRRzJaLzdBPSIsIml2UGFyYW1ldGVyU3BlYyI6Imh2bVlocU1FWmpIOFJBRUQiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master
2-
:target: https://console.aws.amazon.com/codebuild/home?region=us-east-1#/projects/vendored_django-celery-beat/view
3-
:alt: Build Status
4-
51
=====================================================================
62
Database-backed Periodic Tasks
73
=====================================================================

buildspec.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)