Skip to content

Commit

Permalink
MAINT: Rotate CircleCI secrets and setup up org-level context (#2928)
Browse files Browse the repository at this point in the history
Responding to CircleCI's security alert on Jan 4, 2023 this PR rotates
the secrets of this project.
  • Loading branch information
oesteban committed Jan 5, 2023
2 parents 0e3d106 + 2749c4e commit 99212c2
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ jobs:
command: |
mkdir -p /tmp/fslicense
cd /tmp/fslicense
echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tXG41MTcyXG4gKkN2dW12RVYzelRmZ1xuRlM1Si8yYzFhZ2c0RVxuIiA+IGxpY2Vuc2UudHh0Cg==" | base64 -d | sh
echo "${FS_LICENSE_CONTENT}" | base64 -d | sh
- run:
name: Create Nipype config files
command: |
Expand Down Expand Up @@ -995,6 +995,8 @@ workflows:
build_test_deploy:
jobs:
- build:
context:
- nipreps-common
filters:
branches:
ignore:
Expand All @@ -1003,6 +1005,8 @@ workflows:
only: /.*/

- get_data:
context:
- fs-license
filters:
branches:
ignore:
Expand All @@ -1013,6 +1017,8 @@ workflows:
only: /.*/

- test_deploy_pypi:
context:
- nipreps-common
filters:
branches:
only:
Expand All @@ -1022,6 +1028,8 @@ workflows:
only: /.*/

- test_pytest:
context:
- nipreps-common
requires:
- build
filters:
Expand All @@ -1036,6 +1044,8 @@ workflows:
only: /.*/

- ds005:
context:
- nipreps-common
requires:
- get_data
- build
Expand All @@ -1051,6 +1061,8 @@ workflows:
only: /.*/

- ds054:
context:
- nipreps-common
requires:
- get_data
- build
Expand All @@ -1066,6 +1078,8 @@ workflows:
only: /.*/

- ds210:
context:
- nipreps-common
requires:
- get_data
- build
Expand All @@ -1082,6 +1096,8 @@ workflows:
only: /.*/

- deploy_docker_patches:
context:
- nipreps-common
requires:
- build
filters:
Expand All @@ -1102,6 +1118,8 @@ workflows:
only: /.*/

- deploy_docker:
context:
- nipreps-common
requires:
- deployable
filters:
Expand All @@ -1111,6 +1129,8 @@ workflows:
only: /.*/

- deploy_pypi:
context:
- nipreps-common
requires:
- deployable
filters:
Expand Down

0 comments on commit 99212c2

Please sign in to comment.