Skip to content

Commit

Permalink
Merge pull request #17 from openearthplatforminitiative/fix/add-ci-ch…
Browse files Browse the repository at this point in the history
…ecks

Fix/add ci checks
  • Loading branch information
giltinde authored Jun 25, 2024
2 parents 0728164 + 8ce3eef commit 8083710
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Continous Integration
on:
workflow_dispatch:
pull_request:
branches:
- main

jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker Image
uses: docker/build-push-action@v5
with:
context: .
push: false
lint:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Check linting
uses: rickstaa/action-black@v1
with:
black_args: ". --check"
4 changes: 2 additions & 2 deletions deployment/kubernetes/weather-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ spec:
prometheus.io/path: "/metrics"
spec:
containers:
- image: ghcr.io/openearthplatforminitiative/weather-api:0.1.5
- image: ghcr.io/openearthplatforminitiative/weather-api:0.1.6
name: weather-api
ports:
- containerPort: 8080
env:
- name: API_ROOT_PATH
value: "/weather"
- name: VERSION
value: "0.1.5"
value: "0.1.6"
- name: API_DOMAIN
valueFrom:
configMapKeyRef:
Expand Down

0 comments on commit 8083710

Please sign in to comment.