Skip to content

Commit

Permalink
Merge branch 'main' into build-publish-gha
Browse files Browse the repository at this point in the history
  • Loading branch information
srprasanna committed Sep 16, 2023
2 parents 852f729 + d94f7e6 commit 303a78f
Show file tree
Hide file tree
Showing 31 changed files with 59 additions and 144 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ node {
}

stage('Build image') {
app = docker.build("dockerhub/sunbird-rc-core","target")
claimApp = docker.build("dockerhub/sunbird-rc-claim-ms","java/claim")
app = docker.build("ghcr.io/sunbird-rc/sunbird-rc-core","target")
claimApp = docker.build("ghcr.io/sunbird-rc/sunbird-rc-claim-ms","java/claim")
}

// stage('Test image') {
Expand All @@ -39,8 +39,8 @@ node {

// stage('Deploy image') {
// sh "ssh [email protected] 'kubectl get pods -n ndear'"
// sh "ssh [email protected] 'kubectl set image deployment/registry registry=dockerhub/sunbird-rc:${env.BUILD_NUMBER} --record --namespace=ndear'"
// sh "ssh [email protected] 'kubectl set image deployment/claim-ms claim-ms=dockerhub/sunbird-rc-claim-ms:${env.BUILD_NUMBER} --record --namespace=ndear'"
// sh "ssh [email protected] 'kubectl set image deployment/registry registry=ghcr.io/sunbird-rc/sunbird-rc:${env.BUILD_NUMBER} --record --namespace=ndear'"
// sh "ssh [email protected] 'kubectl set image deployment/claim-ms claim-ms=ghcr.io/sunbird-rc/sunbird-rc-claim-ms:${env.BUILD_NUMBER} --record --namespace=ndear'"
// }

}
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
SOURCES := $(call rwildcard,java/,*.java)
RELEASE_VERSION = v0.0.14
IMAGES := dockerhub/sunbird-rc-core dockerhub/sunbird-rc-nginx dockerhub/sunbird-rc-context-proxy-service \
dockerhub/sunbird-rc-public-key-service dockerhub/sunbird-rc-keycloak dockerhub/sunbird-rc-certificate-api \
dockerhub/sunbird-rc-certificate-signer dockerhub/sunbird-rc-notification-service dockerhub/sunbird-rc-claim-ms \
dockerhub/sunbird-rc-digilocker-certificate-api dockerhub/sunbird-rc-bulk-issuance dockerhub/sunbird-rc-metrics
IMAGES := ghcr.io/sunbird-rc/sunbird-rc-core ghcr.io/sunbird-rc/sunbird-rc-nginx ghcr.io/sunbird-rc/sunbird-rc-context-proxy-service \
ghcr.io/sunbird-rc/sunbird-rc-public-key-service ghcr.io/sunbird-rc/sunbird-rc-keycloak ghcr.io/sunbird-rc/sunbird-rc-certificate-api \
ghcr.io/sunbird-rc/sunbird-rc-certificate-signer ghcr.io/sunbird-rc/sunbird-rc-notification-service ghcr.io/sunbird-rc/sunbird-rc-claim-ms \
ghcr.io/sunbird-rc/sunbird-rc-digilocker-certificate-api ghcr.io/sunbird-rc/sunbird-rc-bulk-issuance ghcr.io/sunbird-rc/sunbird-rc-metrics
build: java/registry/target/registry.jar
echo ${SOURCES}
rm -rf java/claim/target/*.jar
cd target && rm -rf * && jar xvf ../java/registry/target/registry.jar && cp ../java/Dockerfile ./ && docker build -t dockerhub/sunbird-rc-core .
cd target && rm -rf * && jar xvf ../java/registry/target/registry.jar && cp ../java/Dockerfile ./ && docker build -t ghcr.io/sunbird-rc/sunbird-rc-core .
make -C java/claim
make -C services/certificate-api docker
make -C services/certificate-signer docker
Expand All @@ -20,7 +20,7 @@ build: java/registry/target/registry.jar
make -C services/metrics docker
make -C services/digilocker-certificate-api docker
make -C services/bulk_issuance docker
docker build -t dockerhub/sunbird-rc-nginx .
docker build -t ghcr.io/sunbird-rc/sunbird-rc-nginx .

java/registry/target/registry.jar: $(SOURCES)
echo $(SOURCES)
Expand Down
4 changes: 2 additions & 2 deletions deps/keycloak/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
build:
echo "Building docker image"
@cd ../keycloak-mobile-number-login-spi/ && sh ./build.sh
@docker build -t dockerhub/sunbird-rc-keycloak .
@docker build -t ghcr.io/sunbird-rc/sunbird-rc-keycloak .

push:
@docker push dockerhub/sunbird-rc-keycloak
@docker push ghcr.io/sunbird-rc/sunbird-rc-keycloak
2 changes: 1 addition & 1 deletion deps/keycloak/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- POSTGRES_USER=keycloak
- POSTGRES_PASSWORD=keycloak
keycloak:
image: dockerhub/keycloak
image: ghcr.io/sunbird-rc/keycloak
# build:
# .
environment:
Expand Down
30 changes: 12 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
timeout: 5s
retries: 5
registry:
image: dockerhub/sunbird-rc-core:${RELEASE_VERSION}
image: ghcr.io/sunbird-rc/sunbird-rc-core:${RELEASE_VERSION}
volumes:
- ./${SCHEMA_DIR-java/registry/src/main/resources/public/_schemas}:/home/sunbirdrc/config/public/_schemas
- ./${VIEW_DIR-java/registry/src/main/resources/views}:/home/sunbirdrc/config/views/
Expand Down Expand Up @@ -99,7 +99,7 @@ services:
timeout: 10s
retries: 10
keycloak:
image: dockerhub/sunbird-rc-keycloak:latest
image: ghcr.io/sunbird-rc/sunbird-rc-keycloak:latest
volumes:
- ./${KEYCLOAK_IMPORT_DIR-imports}:/opt/jboss/keycloak/imports
environment:
Expand Down Expand Up @@ -127,7 +127,7 @@ services:
db:
condition: service_healthy
claim-ms:
image: dockerhub/sunbird-rc-claim-ms:${RELEASE_VERSION}
image: ghcr.io/sunbird-rc/sunbird-rc-claim-ms:${RELEASE_VERSION}
environment:
- connectionInfo_uri=jdbc:postgresql://db:5432/registry
- connectionInfo_username=postgres
Expand All @@ -146,7 +146,7 @@ services:
timeout: 10s
retries: 10
certificate-signer:
image: dockerhub/sunbird-rc-certificate-signer:${RELEASE_VERSION}
image: ghcr.io/sunbird-rc/sunbird-rc-certificate-signer:${RELEASE_VERSION}
environment:
- PORT=8079
- TIME_ZONE=Asia/Kolkata
Expand All @@ -161,7 +161,7 @@ services:
timeout: 10s
retries: 10
certificate-api:
image: dockerhub/sunbird-rc-certificate-api:${RELEASE_VERSION}
image: ghcr.io/sunbird-rc/sunbird-rc-certificate-api:${RELEASE_VERSION}
environment:
- PORT=8078
ports:
Expand Down Expand Up @@ -189,7 +189,7 @@ services:
timeout: 20s
retries: 10
notification-ms:
image: dockerhub/sunbird-rc-notification-service:${RELEASE_VERSION}
image: ghcr.io/sunbird-rc/sunbird-rc-notification-service:${RELEASE_VERSION}
ports:
- "8765:8765"
healthcheck:
Expand Down Expand Up @@ -232,7 +232,7 @@ services:
timeout: 10s
retries: 10
public-key-service:
image: dockerhub/sunbird-rc-public-key-service
image: ghcr.io/sunbird-rc/sunbird-rc-public-key-service
environment:
- CONFIG_BASE_PATH=/etc/keys
ports:
Expand All @@ -245,7 +245,7 @@ services:
volumes:
- ./imports:/etc/keys
context-proxy-service:
image: dockerhub/sunbird-rc-context-proxy-service
image: ghcr.io/sunbird-rc/sunbird-rc-context-proxy-service
ports:
- "4400:4400"
healthcheck:
Expand All @@ -254,7 +254,7 @@ services:
timeout: 10s
retries: 10
nginx:
image: dockerhub/sunbird-rc-nginx
image: ghcr.io/sunbird-rc/sunbird-rc-nginx
ports:
- "80:80"
depends_on:
Expand All @@ -276,7 +276,7 @@ services:
timeout: 10s
retries: 10
metrics:
image: dockerhub/sunbird-rc-metrics
image: ghcr.io/sunbird-rc/sunbird-rc-metrics
environment:
CLICK_HOUSE_URL: clickhouse:9000
CLICKHOUSE_DATABASE: default
Expand All @@ -285,12 +285,6 @@ services:
REDIS_URL: redis:6379
ports:
- "8070:8070"
healthcheck:
test:
[ "CMD-SHELL", "wget -nv -t1 --spider http://localhost:8070/health || exit 1" ]
interval: 30s
timeout: 10s
retries: 10
depends_on:
kafka:
condition: service_healthy
Expand All @@ -301,7 +295,7 @@ services:
ports:
- "6379:6379"
digilocker-certificate-api:
image: dockerhub/sunbird-rc-digilocker-certificate-api
image: ghcr.io/sunbird-rc/sunbird-rc-digilocker-certificate-api
volumes:
- ./services/digilocker-certificate-api/config/:/go/config/
ports:
Expand All @@ -313,7 +307,7 @@ services:
DIGILOCKER_AUTH_KEYNAME: x-digilocker-hmac
PORT: 8087
bulk_issuance:
image: dockerhub/sunbird-rc-bulk-issuance
image: ghcr.io/sunbird-rc/sunbird-rc-bulk-issuance
ports:
- "5665:5665"
environment:
Expand Down
2 changes: 1 addition & 1 deletion dockerPushToRepo.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

cd target && jar -xvf ../java/registry/target/registry.jar && cd -
docker build -t dockerhub/sunbird-rc .
docker build -t ghcr.io/sunbird-rc/sunbird-rc .

e () {
echo $( echo ${1} | jq ".${2}" | sed 's/\"//g')
Expand Down
18 changes: 9 additions & 9 deletions imports/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"issuers": {
"default": {
"publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnXQalrgztecTpc+INjRQ8s73FSE1kU5QSlwBdICCVJBUKiuQUt7s+Z5epgCvLVAOCbP1mm5lV7bfgV/iYWDio7lzX4MlJwDedWLiufr3Ajq+79CQiqPaIbZTo0i13zijKtX7wgxQ78wT/HkJRLkFpmGeK3za21tEfttytkhmJYlwaDTEc+Kx3RJqVhVh/dfwJGeuV4Xc/e2NH++ht0ENGuTk44KpQ+pwQVqtW7lmbDZQJoOJ7HYmmoKGJ0qt2hrj15uwcD1WEYfY5N7N0ArTzPgctExtZFDmituLGzuAZfv2AZZ9/7Y+igshzfB0reIFdUKw3cdVTzfv5FNrIqN5pwIDAQAB\n-----END PUBLIC KEY-----\n",
"privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnXQalrgztecTpc+INjRQ8s73FSE1kU5QSlwBdICCVJBUKiuQUt7s+Z5epgCvLVAOCbP1mm5lV7bfgV/iYWDio7lzX4MlJwDedWLiufr3Ajq+79CQiq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D097UZOFG3DIA8sjDxPxTLCoY6ibBFSa/r4GRIMQKBgQCranDCgPu79RHLDVBXM0fKnj2xQXbd/hqjDmcL+Xnx7E7S6OYTXyBENX1qwVQh9ESDi34cBJVPrsSME4WVT3+PreS0CnSQDDMfr/m9ywkTnejYMdgJHOvtDuHSpJlUk3g+vxnm3H0+E5d+trhdGiOjFnLrwyWkd5OTMqWcEEFQkQKBgFfXObDz/7KqeSaAxI8RzXWbI3Fa492b4qQUhbKYVpGn98CCVEFJr11vuB/8AXYCa92OtbwgMw6Ah5JOGzRScJKdipoxo7oc2LJ9sSjjw3RB/aWl35ChvnCJhmfSL8Usbj0nWVTrPwRLjMC2bIxkLtnm9qYXPumW1EjEbusjVMpN\n-----END RSA PRIVATE KEY-----\n",
"signatureType": "RSA",
"verificationMethod": "did:india",
"$comment": "The above are test keys and it needs to be replaced before going to production"
}
}
"issuers": {
"default": {
"publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnXQalrgztecTpc+INjRQ8s73FSE1kU5QSlwBdICCVJBUKiuQUt7s+Z5epgCvLVAOCbP1mm5lV7bfgV/iYWDio7lzX4MlJwDedWLiufr3Ajq+79CQiqPaIbZTo0i13zijKtX7wgxQ78wT/HkJRLkFpmGeK3za21tEfttytkhmJYlwaDTEc+Kx3RJqVhVh/dfwJGeuV4Xc/e2NH++ht0ENGuTk44KpQ+pwQVqtW7lmbDZQJoOJ7HYmmoKGJ0qt2hrj15uwcD1WEYfY5N7N0ArTzPgctExtZFDmituLGzuAZfv2AZZ9/7Y+igshzfB0reIFdUKw3cdVTzfv5FNrIqN5pwIDAQAB\n-----END PUBLIC KEY-----\n",
"privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnXQalrgztecTpc+INjRQ8s73FSE1kU5QSlwBdICCVJBUKiuQUt7s+Z5epgCvLVAOCbP1mm5lV7bfgV/iYWDio7lzX4MlJwDedWLi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DlUsZ9+kes3BOD097UZOFG3DIA8sjDxPxTLCoY6ibBFSa/r4GRIMQKBgQCranDCgPu79RHLDVBXM0fKnj2xQXbd/hqjDmcL+Xnx7E7S6OYTXyBENX1qwVQh9ESDi34cBJVPrsSME4WVT3+PreS0CnSQDDMfr/m9ywkTnejYMdgJHOvtDuHSpJlUk3g+vxnm3H0+E5d+trhdGiOjFnLrwyWkd5OTMqWcEEFQkQKBgFfXObDz/7KqeSaAxI8RzXWbI3Fa492b4qQUhbKYVpGn98CCVEFJr11vuB/8AXYCa92OtbwgMw6Ah5JOGzRScJKdipoxo7oc2LJ9sSjjw3RB/aWl35ChvnCJhmfSL8Usbj0nWVTrPwRLjMC2bIxkLtnm9qYXPumW1EjEbusjVMpN\n-----END RSA PRIVATE KEY-----\n",
"signatureType": "RSA",
"verificationMethod": "did:india",
"$comment": "The above are test keys and it needs to be replaced before going to production"
}
}
}
2 changes: 1 addition & 1 deletion infra/helm_charts/charts/certificate-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: dockerhub/sunbird-rc-certificate-api
repository: ghcr.io/sunbird-rc/sunbird-rc-certificate-api
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
2 changes: 1 addition & 1 deletion infra/helm_charts/charts/certificate-signer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: dockerhub/sunbird-rc-certificate-signer
repository: ghcr.io/sunbird-rc/sunbird-rc-certificate-signer
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
2 changes: 1 addition & 1 deletion infra/helm_charts/charts/claim-ms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: dockerhub/sunbird-rc-claim-ms
repository: ghcr.io/sunbird-rc/sunbird-rc-claim-ms
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
2 changes: 1 addition & 1 deletion infra/helm_charts/charts/context-proxy-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: dockerhub/sunbird-rc-context-proxy-service
repository: ghcr.io/sunbird-rc/sunbird-rc-context-proxy-service
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
2 changes: 1 addition & 1 deletion infra/helm_charts/charts/keycloak-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: dockerhub/sunbird-rc-keycloak
repository: ghcr.io/sunbird-rc/sunbird-rc-keycloak
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
2 changes: 1 addition & 1 deletion infra/helm_charts/charts/notification-ms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: dockerhub/sunbird-rc-notification-service
repository: ghcr.io/sunbird-rc/sunbird-rc-notification-service
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
2 changes: 1 addition & 1 deletion infra/helm_charts/charts/public-key-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: dockerhub/sunbird-rc-public-key-service
repository: ghcr.io/sunbird-rc/sunbird-rc-public-key-service
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
79 changes: 0 additions & 79 deletions infra/helm_charts/charts/registry/schemas/Student.json

This file was deleted.

4 changes: 2 additions & 2 deletions infra/helm_charts/charts/registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# Declare variables to be passed into your templates.

replicaCount: 1

host: loadtesting.xiv.in
image:
repository: dockerhub/sunbird-rc-core
repository: ghcr.io/sunbird-rc/sunbird-rc-core
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
2 changes: 1 addition & 1 deletion java/claim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
SOURCES := $(call rwildcard,java/,*.java)
build: target/claim-0.0.1-SNAPSHOT.jar
echo ${SOURCES}
cd target && docker build -t dockerhub/sunbird-rc-claim-ms ..
cd target && docker build -t ghcr.io/sunbird-rc/sunbird-rc-claim-ms ..

target/claim-0.0.1-SNAPSHOT.jar: $(SOURCES)
echo $(SOURCES)
Expand Down
2 changes: 1 addition & 1 deletion services/bulk_issuance/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SPEC_FILE := ./interfaces/bulk_issuance_api.yaml
GOPATH := $(shell go env GOPATH)
source := $(wildcard *.go **/*.go */*/*.go)
IMAGE := dockerhub/sunbird-rc-bulk-issuance
IMAGE := ghcr.io/sunbird-rc/sunbird-rc-bulk-issuance
all: bulk_issuance-server

deps:
Expand Down
Loading

0 comments on commit 303a78f

Please sign in to comment.