Skip to content

Commit

Permalink
Add .circleci/config.yml (#145)
Browse files Browse the repository at this point in the history
* Add .circleci/config.yml

* config: throwaway test

Signed-off-by: William Woodruff <[email protected]>

* config: use python/install-packages

Signed-off-by: William Woodruff <[email protected]>

* config: stop pondering the orb

Signed-off-by: William Woodruff <[email protected]>

* config: flush the token to /dev/null

Signed-off-by: William Woodruff <[email protected]>

---------

Signed-off-by: William Woodruff <[email protected]>
Co-authored-by: William Woodruff <[email protected]>
  • Loading branch information
di and woodruffw authored Dec 12, 2023
1 parent b6ff8e5 commit 07dcc12
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference
version: 2.1

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/configuration-reference/#jobs
jobs:
test-id-throwaway:
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/configuration-reference/#executor-job
docker:
- image: cimg/python:3.12.1
# Add steps to the job
# See: https://circleci.com/docs/configuration-reference/#steps
steps:
- checkout
- run:
name: Install id
command: |
python -m pip install . --user
- run:
name: Generate throwaway credential
command: |
# Flush to /dev/null as a conservative measure: this token
# shouldn't be sensitive or used by anything, but there's
# also no reason to leak it by default.
python -m id throwaway > /dev/null
# Orchestrate jobs using workflows
# See: https://circleci.com/docs/configuration-reference/#workflows
workflows:
test-id-throwaway-workflow:
jobs:
- test-id-throwaway

0 comments on commit 07dcc12

Please sign in to comment.