Skip to content

Commit

Permalink
changed host value to staging api
Browse files Browse the repository at this point in the history
changed password to TAP_TOKEN

changed trigger to this branch and changes values to try to get the SSM values from AWS

changed other password to TAP_TOKEN

changed token for the previus one, changed the deploy line to point to the ssm in aws and changed values to recieve all the information

style change

changed token

updated publish.yml

style change

changed token name

deleted one env

added token as env value in publish.yml and modified deploy.go to original

style changes

changed name to lowecase in gh

changed token

changed TAP_TOKEN value

changed TAP_TOKEN value

changed username to alercebroker

changed trigger to push on main branch

changed trigger to push on main branch, username to alercebroker and changed tap_token value
  • Loading branch information
claudiomansillab committed Nov 4, 2024
1 parent 213070a commit 96fac92
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
---
name: Publish
on:
push:
branches: [main]

permissions:
contents: read
packages: write

jobs:
publish:
name: publish
Expand All @@ -14,16 +17,20 @@ jobs:
-
name: Call Dagger Publish Function
uses: dagger/dagger-for-github@v5
env:
GH_TOKEN: ${{ secrets.TAP_TOKEN }}
with:
version: "latest"
verb: call
args: publish-images --rootDir=.. --username=${{github.actor}} --password=${{secrets.GITHUB_TOKEN}} --tags=rc
args: publish-images --rootDir=.. --username=alercebroker --password=env:GH_TOKEN --tags=rc
workdir: ./ci
-
name: Call Dagger Publish Helm Charts Function
uses: dagger/dagger-for-github@v5
env:
GH_TOKEN: ${{ secrets.TAP_TOKEN }}
with:
version: "latest"
verb: call
args: publish-helm-charts --rootDir=.. --username=${{github.actor}} --password=${{github.token}}
args: publish-helm-charts --rootDir=.. --username=alercebroker --password=env:GH_TOKEN
workdir: ./ci
16 changes: 7 additions & 9 deletions tapservicego/deployments/tapservice/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ service:
port: 80

ingress:
enabled: false
enabled: true
className: "alb"
annotations:
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/tags:
alb.ingress.kubernetes.io/tags: ""
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/certificate-arn:
alb.ingress.kubernetes.io/group.name:
alb.ingress.kubernetes.io/certificate-arn: ""
alb.ingress.kubernetes.io/group.name: ""
hosts:
# Host should be the CNAME in Route53 that points to the ALB
- host:
- host: api.staging.alerce.online
paths:
- path: /
- path: ""
pathType: Prefix
tls: []
# - secretName: chart-example-tls
Expand Down Expand Up @@ -103,6 +103,4 @@ affinity: {}

secret:
name: "container-secrets"
databaseUrl: ""

namespace: ""
databaseUrl: ""

0 comments on commit 96fac92

Please sign in to comment.