Skip to content

Commit

Permalink
feat: Updated dockerhub readme in CI pipeline
Browse files Browse the repository at this point in the history
Closes #30
  • Loading branch information
devatherock committed May 26, 2023
1 parent dc526b2 commit a88cd00
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
auth:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
<<: *resource_class
<<: *work_directory
steps:
- checkout
Expand All @@ -91,6 +92,7 @@ jobs:
./gradlew check sonar -Dsonar.login=$SONAR_TOKEN -Dgraalvm=true
- store_test_results:
path: build/test-results

build:
executor: jdk-executor
steps:
Expand All @@ -114,6 +116,21 @@ jobs:
- store_test_results:
path: build/test-results

dockerhub_readme:
docker:
- image: peterevans/dockerhub-description:3.4.1
auth:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
<<: *resource_class
<<: *work_directory
environment:
DOCKERHUB_REPOSITORY: "devatherock/ldap-search-api"
README_FILEPATH: "README.md"
steps:
- checkout
- run: sh /entry-point.sh

integration_test:
machine:
image: ubuntu-2004:202010-01
Expand Down Expand Up @@ -214,6 +231,12 @@ workflows:
- docker-credentials
- changelog-updater-credentials
<<: *pr_filter
- dockerhub_readme:
context:
- docker-credentials
- dockerhub-readme-credentials
requires:
- changelog_updater
- validate_yamls:
context:
- docker-credentials
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
- [#7](https://github.com/devatherock/ldap-search-api/issues/7): Query parameter to specify the attributes to be returned in the result
- [#27](https://github.com/devatherock/ldap-search-api/issues/27): Tests for built-in endpoints like `/health`

### Changed
- [#30](https://github.com/devatherock/ldap-search-api/issues/30): Updated dockerhub readme in CI pipeline

## [0.4.0] - 2023-05-22
### Added
- [#2](https://github.com/devatherock/ldap-search-api/issues/2): Unit tests
Expand Down

0 comments on commit a88cd00

Please sign in to comment.