Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavrneo authored Mar 25, 2024
2 parents 7a030b9 + 77bf5f0 commit 9e08133
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]

jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Ansible Lint
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip install ansible-lint
- name: Linting the ansible role
working-directory: url-shortener/playbook/roles/docker
run: ansible-lint -p . --exclude=tests/
2 changes: 1 addition & 1 deletion url-shortener/frontend-servers/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ services:
ports:
- "3000:3000"
depends_on:
- proxy
- proxy
4 changes: 2 additions & 2 deletions url-shortener/servers/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
services:
go:
image: 4b33b091a935
image: 4b33b091a935 # replace with image/local-tagid
# build:
# context: go/
# dockerfile: Dockerfile
ports:
- "1234:1234"

express:
image: feb890d9439b
image: feb890d9439b # replace with image/local-tagid
# build:
# context: express-js/
# dockerfile: Dockerfile
Expand Down
3 changes: 1 addition & 2 deletions url-shortener/servers/proxy/urlShort.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
upstream backend {
least_conn;
server go:1234;
server go:5678;
server express:5678;
}

server {
Expand Down

0 comments on commit 9e08133

Please sign in to comment.