Skip to content

Commit

Permalink
ci: provide proper port mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Dec 23, 2023
1 parent f156201 commit fbb4e34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/api-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'API'
name: 'API Tests'

on:
# NOTE: no action on `push` and `pull_request` since the API tests need to be run
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
MYSQL_IMAGE: ${{ github.event.inputs.MYSQL_IMAGE || 'percona:5.7' }}
POSTGRESQL_IMAGE: ${{ github.event.inputs.POSTGRESQL_IMAGE || 'postgres:12' }}
MONGODB_IMAGE: ${{ github.event.inputs.MONGODB_IMAGE || 'percona/percona-server-mongodb:4.4' }}
PMM_SERVER_IMAGE: ${{ github.event.inputs.PMM_SERVER_IMAGE || 'perconalab/pmm-server:dev-latest' }}
PMM_SERVER_IMAGE: ${{ github.event.inputs.PMM_SERVER_IMAGE || 'perconalab/pmm-server:3-dev-latest' }}

steps:
- name: Check out code
Expand Down Expand Up @@ -98,8 +98,8 @@ jobs:
- PERCONA_TEST_PLATFORM_ADDRESS=https://check-dev.percona.com
- PERCONA_TEST_PLATFORM_PUBLIC_KEY=RWTg+ZmCCjt7O8eWeAmTLAqW+1ozUbpRSKSwNTmO+exlS5KEIPYWuYdX
ports:
- 80:80
- 443:443
- 80:8080
- 443:8443
volumes:
- ./managed/testdata/checks:/srv/checks
EOF
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/build-client-sdeb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ main() {
OS_VERSION=\$(cat /etc/os-release | grep VERSION_ID | awk -F'\"' '{print \$2}')
apt-get update
apt-get -y install git lsb-release devscripts dh-make dh-systemd
DEBIAN_FRONTEND=noninteractive apt-get -y install git lsb-release devscripts dh-make dh-systemd
mkdir -p /tmp/pmm
cd /home/builder/results
bash /home/builder/bin/build-client-packages \
Expand Down

0 comments on commit fbb4e34

Please sign in to comment.