mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
Modular CircleCI
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
version: 2
|
version: 2.1
|
||||||
|
orbs:
|
||||||
|
aws-ecr: circleci/aws-ecr@4.0.1
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
working_directory: ~/alchemy-fr/Phraseanet
|
working_directory: ~/alchemy-fr/Phraseanet
|
||||||
parallelism: 2
|
parallelism: 2
|
||||||
@@ -100,3 +103,31 @@ jobs:
|
|||||||
path: /tmp/circleci-artifacts
|
path: /tmp/circleci-artifacts
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/circleci-test-results
|
path: /tmp/circleci-test-results
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
oldfashion:
|
||||||
|
jobs:
|
||||||
|
- build:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
newfashion:
|
||||||
|
jobs:
|
||||||
|
- aws-ecr/build_and_push_image:
|
||||||
|
account-url: AWS_ACCOUNT_URL
|
||||||
|
aws-access-key-id: AWS_ACCESS_KEY_ID
|
||||||
|
aws-secret-access-key: AWS_SECRET_ACCESS_KEY
|
||||||
|
context: AWS
|
||||||
|
create-repo: true
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
#profile-name: myProfileName
|
||||||
|
region: AWS_DEFAULT_REGION
|
||||||
|
repo: "${AWS_RESOURCE_NAME_PREFIX}/phraseanet"
|
||||||
|
tag: "alpha-0.1"
|
||||||
|
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- PHRAS-2539
|
||||||
|
|||||||
Reference in New Issue
Block a user