Skip to content

Commit 07dcc12

Browse files
diwoodruffw
andauthored
Add .circleci/config.yml (#145)
* Add .circleci/config.yml * config: throwaway test Signed-off-by: William Woodruff <william@trailofbits.com> * config: use python/install-packages Signed-off-by: William Woodruff <william@trailofbits.com> * config: stop pondering the orb Signed-off-by: William Woodruff <william@trailofbits.com> * config: flush the token to /dev/null Signed-off-by: William Woodruff <william@trailofbits.com> --------- Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: William Woodruff <william@trailofbits.com>
1 parent b6ff8e5 commit 07dcc12

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.circleci/config.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Use the latest 2.1 version of CircleCI pipeline process engine.
2+
# See: https://circleci.com/docs/configuration-reference
3+
version: 2.1
4+
5+
# Define a job to be invoked later in a workflow.
6+
# See: https://circleci.com/docs/configuration-reference/#jobs
7+
jobs:
8+
test-id-throwaway:
9+
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
10+
# See: https://circleci.com/docs/configuration-reference/#executor-job
11+
docker:
12+
- image: cimg/python:3.12.1
13+
# Add steps to the job
14+
# See: https://circleci.com/docs/configuration-reference/#steps
15+
steps:
16+
- checkout
17+
- run:
18+
name: Install id
19+
command: |
20+
python -m pip install . --user
21+
- run:
22+
name: Generate throwaway credential
23+
command: |
24+
# Flush to /dev/null as a conservative measure: this token
25+
# shouldn't be sensitive or used by anything, but there's
26+
# also no reason to leak it by default.
27+
python -m id throwaway > /dev/null
28+
29+
# Orchestrate jobs using workflows
30+
# See: https://circleci.com/docs/configuration-reference/#workflows
31+
workflows:
32+
test-id-throwaway-workflow:
33+
jobs:
34+
- test-id-throwaway

0 commit comments

Comments
 (0)