Skip to content

Commit

Permalink
👷 Rename GHCR images (#1180)
Browse files Browse the repository at this point in the history
* Rename GHCR images

* Update target branch names in github actions (#1181)

---------

Co-authored-by: Robbie Blaine <[email protected]>
  • Loading branch information
wdbasson and rblaine95 committed Nov 12, 2024
1 parent 96560f1 commit 1385bfa
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 55 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ name: Codacy Security Scan

on:
push:
branches: [development, master]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [development]
branches: [master]
schedule:
- cron: "38 5 * * 3"

Expand Down
56 changes: 28 additions & 28 deletions .github/workflows/continuous-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ on:

push:
branches:
- "development"
- "master"
tags:
- "v*"
pull_request:
branches:
- "development"
- "master"
types:
- opened
- reopened
Expand Down Expand Up @@ -59,70 +59,70 @@ jobs:
matrix:
image:
[
ledger-nodes,
ledger-browser,
tails-server,
governance-ga-agent,
governance-trust-registry,
governance-multitenant-web,
governance-ga-web,
governance-tenant-web,
governance-public-web,
governance-multitenant-agent,
governance-endorser,
pytest,
waypoint
d-cloud/ledger-nodes,
d-cloud/ledger-browser,
d-cloud/tails-server,
d-cloud/governance-agent,
d-cloud/trust-registry,
d-cloud/multitenant-web,
d-cloud/governance-web,
d-cloud/tenant-web,
d-cloud/public-web,
d-cloud/multitenant-agent,
d-cloud/endorser,
d-cloud/pytest,
d-cloud/waypoint
]
include:
- image: governance-ga-agent
- image: d-cloud/governance-agent
context: .
file: dockerfiles/agents/Dockerfile.agent
platforms: linux/amd64 # Pending BBS linux/arm64
- image: governance-trust-registry
- image: d-cloud/trust-registry
context: .
file: dockerfiles/trustregistry/Dockerfile
platforms: linux/amd64,linux/arm64
- image: governance-multitenant-web
- image: d-cloud/multitenant-web
context: .
file: dockerfiles/fastapi/Dockerfile
platforms: linux/amd64,linux/arm64
- image: governance-ga-web
- image: d-cloud/governance-web
context: .
file: dockerfiles/fastapi/Dockerfile
platforms: linux/amd64,linux/arm64
- image: governance-tenant-web
- image: d-cloud/tenant-web
context: .
file: dockerfiles/fastapi/Dockerfile
platforms: linux/amd64,linux/arm64
- image: governance-public-web
- image: d-cloud/public-web
context: .
file: dockerfiles/fastapi/Dockerfile
platforms: linux/amd64,linux/arm64
- image: governance-multitenant-agent
- image: d-cloud/multitenant-agent
context: .
file: dockerfiles/agents/Dockerfile.author.agent
platforms: linux/amd64 # Pending BBS linux/arm64
- image: ledger-browser
- image: d-cloud/ledger-browser
context: https://github.com/bcgov/von-network.git#v1.8.0
file: Dockerfile
platforms: linux/amd64
- image: ledger-nodes
- image: d-cloud/ledger-nodes
context: https://github.com/bcgov/von-network.git#v1.8.0
file: Dockerfile
platforms: linux/amd64
- image: governance-endorser
- image: d-cloud/endorser
context: .
file: dockerfiles/endorser/Dockerfile
platforms: linux/amd64,linux/arm64
- image: tails-server
- image: d-cloud/tails-server
context: https://github.com/bcgov/indy-tails-server.git#v1.1.0
file: docker/Dockerfile.tails-server
platforms: linux/amd64,linux/arm64
- image: pytest
- image: d-cloud/pytest
context: .
file: dockerfiles/tests/Dockerfile
platforms: linux/amd64,linux/arm64
- image: waypoint
- image: d-cloud/waypoint
context: .
file: dockerfiles/waypoint/Dockerfile
platforms: linux/amd64,linux/arm64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ name: SonarCloud analysis

on:
push:
branches: [development, master]
branches: [master]
pull_request:
branches: [development]
branches: [master]
workflow_dispatch:

permissions:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Python code style check
on:
pull_request:
branches:
- main
- development
- master

jobs:
style:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-ledger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

services:
ledger-browser:
image: ${REGISTRY:-ghcr.io/didx-xyz}/ledger-nodes:${IMAGE_TAG:-latest}
image: ${REGISTRY:-ghcr.io/didx-xyz}/d-cloud/ledger-nodes:${IMAGE_TAG:-latest}
container_name: ledger-browser
platform: linux/amd64
command: "bash -c './scripts/start_webserver.sh'"
Expand Down Expand Up @@ -35,7 +35,7 @@ services:
ledger-nodes:
condition: service_healthy
ledger-nodes:
image: ${REGISTRY:-ghcr.io/didx-xyz}/ledger-nodes:${IMAGE_TAG:-latest}
image: ${REGISTRY:-ghcr.io/didx-xyz}/d-cloud/ledger-nodes:${IMAGE_TAG:-latest}
container_name: ledger-nodes
platform: linux/amd64
command: "bash -c './scripts/start_nodes.sh'"
Expand Down
38 changes: 19 additions & 19 deletions tilt/cloudapi/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def build_cloudapi_service(service, image={}):


def setup_cloudapi_service(
release, chart, namespace, ingress_domain, release_config={}, build_enabled=True
release, chart, namespace, ingress_domain, build_enabled, release_config={}
):
print(color.green("Installing " + release + "..."))

Expand Down Expand Up @@ -251,7 +251,7 @@ def setup_cloudapi_service(
print(color.yellow("Skipping " + release + ", not enabled"))


def setup_ledger(namespace, ingress_domain, build_enabled=True):
def setup_ledger(namespace, ingress_domain, build_enabled):
print(color.green("Installing Ledger..."))

# Setup Ledger Nodes
Expand Down Expand Up @@ -298,7 +298,7 @@ def setup_ledger(namespace, ingress_domain, build_enabled=True):

if build_enabled:
docker_build(
"ghcr.io/didx-xyz/ledger-nodes",
"ghcr.io/didx-xyz/d-cloud/ledger-nodes",
von_dir,
dockerfile=von_dir + "/Dockerfile",
platform="linux/amd64",
Expand Down Expand Up @@ -345,10 +345,10 @@ def setup_cloudapi(build_enabled, expose):
setup_nats(namespace)
setup_benthos(namespace)

ledger_enabled = setup_ledger(namespace, build_enabled)
ledger_enabled = setup_ledger(namespace, build_enabled, ingress_domain)

releases = {
"governance-endorser": {
"endorser": {
"depends": ["nats"],
"image": {
"dockerfile": "./dockerfiles/endorser/Dockerfile",
Expand All @@ -361,7 +361,7 @@ def setup_cloudapi(build_enabled, expose):
),
},
},
"governance-ga-agent": {
"governance-agent": {
"depends": ["nats", "postgres", "ledger-browser"],
"links": [
link(
Expand All @@ -373,8 +373,8 @@ def setup_cloudapi(build_enabled, expose):
"dockerfile": "./dockerfiles/agents/Dockerfile.agent",
},
},
"governance-ga-web": {
"depends": ["governance-ga-agent", "governance-multitenant-agent"],
"governance-web": {
"depends": ["governance-agent", "multitenant-agent"],
"links": [
link(
"http://cloudapi." + ingress_domain + "/governance",
Expand All @@ -396,7 +396,7 @@ def setup_cloudapi(build_enabled, expose):
),
},
},
"governance-multitenant-agent": {
"multitenant-agent": {
"depends": ["nats", "postgres", "ledger-browser"],
"links": [
link(
Expand All @@ -408,8 +408,8 @@ def setup_cloudapi(build_enabled, expose):
"dockerfile": "./dockerfiles/agents/Dockerfile.author.agent",
},
},
"governance-multitenant-web": {
"depends": ["governance-ga-agent", "governance-multitenant-agent"],
"multitenant-web": {
"depends": ["governance-agent", "multitenant-agent"],
"links": [
link(
"http://cloudapi." + ingress_domain + "/tenant-admin",
Expand All @@ -431,8 +431,8 @@ def setup_cloudapi(build_enabled, expose):
),
},
},
"governance-tenant-web": {
"depends": ["governance-ga-agent", "governance-multitenant-agent"],
"tenant-web": {
"depends": ["governance-agent", "multitenant-agent"],
"links": [
link("http://cloudapi." + ingress_domain + "/tenant", "Tenant"),
link(
Expand All @@ -450,8 +450,8 @@ def setup_cloudapi(build_enabled, expose):
),
},
},
"governance-trust-registry-web": {
"depends": ["governance-trust-registry"],
"public-web": {
"depends": ["trust-registry"],
"links": [
link("http://cloudapi." + ingress_domain + "/public", "Public"),
link(
Expand All @@ -469,7 +469,7 @@ def setup_cloudapi(build_enabled, expose):
),
},
},
"governance-trust-registry": {
"trust-registry": {
"depends": ["postgres"],
"links": [
link(
Expand Down Expand Up @@ -519,8 +519,8 @@ def setup_cloudapi(build_enabled, expose):
"mediator": {
"depends": [
"postgres",
"governance-ga-agent",
"governance-multitenant-agent",
"governance-agent",
"multitenant-agent",
],
"links": [
link("http://mediator.cloudapi." + ingress_domain, "Mediator"),
Expand All @@ -539,8 +539,8 @@ def setup_cloudapi(build_enabled, expose):
"./tilt/.charts/charts/aries-cloudapi-python",
namespace,
ingress_domain,
releases[release],
build_enabled,
releases[release],
)

print(color.green("CloudAPI Installed"))

0 comments on commit 1385bfa

Please sign in to comment.