Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.1 #36

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
aliases:
- &docker_auth
auth:
username: ${DOCKER_USER}
password: ${DOCKER_PASS}

- &default-context
context:
- shared-creds

defaults: &defaults
docker:
- image: opuscapita/minsk-core-ci:4
<<: *docker_auth
working_directory: ~/build

version: 2.1
Expand All @@ -12,6 +23,7 @@ jobs:
init:
docker:
- image: opuscapita/minsk-core-machineuser-env:2
<<: *docker_auth
steps:
- run: generate_bash_env_exports.sh GH_MAIL GH_NAME CIRCLE_CI_TOKEN > ~/generated_bash_env
- persist_to_workspace:
Expand Down Expand Up @@ -120,10 +132,12 @@ workflows:
release-and-build:
jobs:
- init:
<<: *default-context
filters:
tags:
only: /.*/
- release:
<<: *default-context
filters:
branches:
only: release
Expand All @@ -134,6 +148,7 @@ workflows:
token_name: "CIRCLE_CI_TOKEN"

- build:
<<: *default-context
filters:
branches:
ignore: release
Expand All @@ -144,6 +159,7 @@ workflows:
token_name: "CIRCLE_CI_TOKEN"

- build_release:
<<: *default-context
filters:
tags:
only: /.*/
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ esdoc
lib
node_modules
yarn.lock
/package-lock.json
Loading