You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
717 B
30 lines
717 B
version: 2.1
|
|
|
|
# Define the jobs we want to run for this project
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/<language>:<version TAG>
|
|
auth:
|
|
username: mydockerhub-user
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
|
|
steps:
|
|
- checkout
|
|
- run: echo "this is the build job"
|
|
test:
|
|
docker:
|
|
- image: circleci/<language>:<version TAG>
|
|
auth:
|
|
username: mydockerhub-user
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
|
|
steps:
|
|
- checkout
|
|
- run: echo "this is the test job"
|
|
|
|
# Orchestrate our job run sequence
|
|
workflows:
|
|
build_and_test:
|
|
jobs:
|
|
- build
|
|
- test
|
|
|