Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Oct 17, 2023
1 parent aa24d17 commit 08c23b1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
id: semver
uses: pagopa/github-actions-template/ghcr-build-push@v1.5.4
with:
tag: '1.0.1'
tag: '1.0.2'
github_token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ RUN apt-get install -y git pip python3 nodejs
RUN pip install -r requirements.txt


EXPOSE 8080

CMD python3 ./status.py
ENTRYPOINT ["python3", "./status.py"]
9 changes: 6 additions & 3 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ microservice-chart:

image:
repository: ghcr.io/pagopa/ubuntu-vm
tag: 1.0.1
tag: 1.0.2
pullPolicy: Always

deployment:
Expand Down Expand Up @@ -43,8 +43,7 @@ microservice-chart:
ingress:
create: true
host: "weudev.apiconfig.internal.dev.platform.pagopa.it"
path: /diego/java-helm-complete-test(/|$)(.*)
rewriteTarget: /$2
path: /ubuntu/(.*)
servicePort: 8080

serviceAccount:
Expand All @@ -60,6 +59,10 @@ microservice-chart:

securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
capabilities:
drop:
- all

resources:
requests:
Expand Down
10 changes: 2 additions & 8 deletions connect_oracle.py → scripts/connect_oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,13 @@
print("Cursor created")

print("Executing query...")
mapping = []
i = 0
sqlQuery = str("""
UPDATE NODO4_CFG.PSP
SET NODO4_CFG.PSP='ABC'
WHERE NODO4_CFG.PSP.ID_PSP = 'JACOPO'
""")

for row in cursor.execute(sqlQuery):
mapping.append(row)
i += 1
print(row)

cursor.execute(sqlQuery)
connection.close()

print("Found {} bundles that match the query".format(i))
print("Done")
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit 08c23b1

Please sign in to comment.