-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docker compose and github action
- Loading branch information
1 parent
f7e88f5
commit c0219b8
Showing
2 changed files
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ on: | |
branches: | ||
- main | ||
paths-ignore: | ||
- '**.md' | ||
- "**.md" | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
- "**.md" | ||
jobs: | ||
golangci: | ||
name: Lint | ||
|
@@ -44,15 +44,15 @@ jobs: | |
with: | ||
go-version: "1.23" | ||
- name: start pulp | ||
uses: isbang/[email protected].1 | ||
uses: isbang/[email protected].2 | ||
with: | ||
compose-file: docker-compose.yml | ||
cwd: ./compose_files/pulp/ | ||
down-flags: --volumes | ||
- name: Wait for pulp | ||
run: | | ||
docker run --network=host --rm -v ${PWD}:/local curlimages/curl \ | ||
curl --retry-all-errors --fail --retry-delay 10 --retry 32 --retry-max-time 240 http://localhost:8087/api/pulp/default/api/v3/repositories/rpm/rpm/ -u admin:password | ||
curl --retry-all-errors --fail --retry-delay 10 --retry 32 --retry-max-time 240 http://localhost:8080/api/pulp/default/api/v3/repositories/rpm/rpm/ -u admin:password | ||
sleep 30 | ||
- name: integration tests | ||
run: | | ||
|
@@ -63,6 +63,6 @@ jobs: | |
DATABASE_USER: pulp | ||
DATABASE_NAME: pulp | ||
DATABASE_PASSWORD: password | ||
SERVER_URL: http://localhost:8087 | ||
SERVER_URL: http://localhost:8080 | ||
SERVER_USERNAME: admin | ||
SERVER_PASSWORD: password | ||
SERVER_PASSWORD: password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters