Home / Cardano Community / guild-operators
Nov 23, 7-8 AM (0)
Nov 23, 8-9 AM (0)
Nov 23, 9-10 AM (0)
Nov 23, 10-11 AM (0)
Nov 23, 11-12 PM (0)
Nov 23, 12-1 PM (0)
Nov 23, 1-2 PM (0)
Nov 23, 2-3 PM (0)
Nov 23, 3-4 PM (0)
Nov 23, 4-5 PM (0)
Nov 23, 5-6 PM (0)
Nov 23, 6-7 PM (0)
Nov 23, 7-8 PM (0)
Nov 23, 8-9 PM (0)
Nov 23, 9-10 PM (0)
Nov 23, 10-11 PM (0)
Nov 23, 11-12 AM (0)
Nov 24, 12-1 AM (0)
Nov 24, 1-2 AM (0)
Nov 24, 2-3 AM (0)
Nov 24, 3-4 AM (0)
Nov 24, 4-5 AM (0)
Nov 24, 5-6 AM (0)
Nov 24, 6-7 AM (0)
Nov 24, 7-8 AM (0)
Nov 24, 8-9 AM (0)
Nov 24, 9-10 AM (0)
Nov 24, 10-11 AM (0)
Nov 24, 11-12 PM (0)
Nov 24, 12-1 PM (0)
Nov 24, 1-2 PM (0)
Nov 24, 2-3 PM (0)
Nov 24, 3-4 PM (0)
Nov 24, 4-5 PM (0)
Nov 24, 5-6 PM (0)
Nov 24, 6-7 PM (0)
Nov 24, 7-8 PM (1)
Nov 24, 8-9 PM (2)
Nov 24, 9-10 PM (0)
Nov 24, 10-11 PM (0)
Nov 24, 11-12 AM (0)
Nov 25, 12-1 AM (0)
Nov 25, 1-2 AM (0)
Nov 25, 2-3 AM (0)
Nov 25, 3-4 AM (0)
Nov 25, 4-5 AM (0)
Nov 25, 5-6 AM (0)
Nov 25, 6-7 AM (0)
Nov 25, 7-8 AM (0)
Nov 25, 8-9 AM (0)
Nov 25, 9-10 AM (0)
Nov 25, 10-11 AM (0)
Nov 25, 11-12 PM (0)
Nov 25, 12-1 PM (0)
Nov 25, 1-2 PM (0)
Nov 25, 2-3 PM (0)
Nov 25, 3-4 PM (0)
Nov 25, 4-5 PM (0)
Nov 25, 5-6 PM (0)
Nov 25, 6-7 PM (0)
Nov 25, 7-8 PM (0)
Nov 25, 8-9 PM (0)
Nov 25, 9-10 PM (0)
Nov 25, 10-11 PM (0)
Nov 25, 11-12 AM (0)
Nov 26, 12-1 AM (0)
Nov 26, 1-2 AM (2)
Nov 26, 2-3 AM (0)
Nov 26, 3-4 AM (0)
Nov 26, 4-5 AM (0)
Nov 26, 5-6 AM (0)
Nov 26, 6-7 AM (0)
Nov 26, 7-8 AM (0)
Nov 26, 8-9 AM (0)
Nov 26, 9-10 AM (0)
Nov 26, 10-11 AM (0)
Nov 26, 11-12 PM (0)
Nov 26, 12-1 PM (0)
Nov 26, 1-2 PM (0)
Nov 26, 2-3 PM (0)
Nov 26, 3-4 PM (1)
Nov 26, 4-5 PM (5)
Nov 26, 5-6 PM (0)
Nov 26, 6-7 PM (0)
Nov 26, 7-8 PM (0)
Nov 26, 8-9 PM (0)
Nov 26, 9-10 PM (0)
Nov 26, 10-11 PM (0)
Nov 26, 11-12 AM (0)
Nov 27, 12-1 AM (0)
Nov 27, 1-2 AM (0)
Nov 27, 2-3 AM (2)
Nov 27, 3-4 AM (7)
Nov 27, 4-5 AM (0)
Nov 27, 5-6 AM (0)
Nov 27, 6-7 AM (0)
Nov 27, 7-8 AM (0)
Nov 27, 8-9 AM (0)
Nov 27, 9-10 AM (0)
Nov 27, 10-11 AM (0)
Nov 27, 11-12 PM (0)
Nov 27, 12-1 PM (0)
Nov 27, 1-2 PM (0)
Nov 27, 2-3 PM (0)
Nov 27, 3-4 PM (0)
Nov 27, 4-5 PM (0)
Nov 27, 5-6 PM (0)
Nov 27, 6-7 PM (0)
Nov 27, 7-8 PM (0)
Nov 27, 8-9 PM (0)
Nov 27, 9-10 PM (0)
Nov 27, 10-11 PM (0)
Nov 27, 11-12 AM (0)
Nov 28, 12-1 AM (0)
Nov 28, 1-2 AM (0)
Nov 28, 2-3 AM (0)
Nov 28, 3-4 AM (0)
Nov 28, 4-5 AM (0)
Nov 28, 5-6 AM (2)
Nov 28, 6-7 AM (2)
Nov 28, 7-8 AM (1)
Nov 28, 8-9 AM (1)
Nov 28, 9-10 AM (0)
Nov 28, 10-11 AM (0)
Nov 28, 11-12 PM (0)
Nov 28, 12-1 PM (0)
Nov 28, 1-2 PM (0)
Nov 28, 2-3 PM (0)
Nov 28, 3-4 PM (0)
Nov 28, 4-5 PM (0)
Nov 28, 5-6 PM (0)
Nov 28, 6-7 PM (3)
Nov 28, 7-8 PM (0)
Nov 28, 8-9 PM (0)
Nov 28, 9-10 PM (0)
Nov 28, 10-11 PM (0)
Nov 28, 11-12 AM (0)
Nov 29, 12-1 AM (0)
Nov 29, 1-2 AM (0)
Nov 29, 2-3 AM (0)
Nov 29, 3-4 AM (0)
Nov 29, 4-5 AM (0)
Nov 29, 5-6 AM (0)
Nov 29, 6-7 AM (1)
Nov 29, 7-8 AM (5)
Nov 29, 8-9 AM (0)
Nov 29, 9-10 AM (0)
Nov 29, 10-11 AM (0)
Nov 29, 11-12 PM (0)
Nov 29, 12-1 PM (0)
Nov 29, 1-2 PM (0)
Nov 29, 2-3 PM (0)
Nov 29, 3-4 PM (0)
Nov 29, 4-5 PM (0)
Nov 29, 5-6 PM (0)
Nov 29, 6-7 PM (0)
Nov 29, 7-8 PM (0)
Nov 29, 8-9 PM (0)
Nov 29, 9-10 PM (0)
Nov 29, 10-11 PM (0)
Nov 29, 11-12 AM (0)
Nov 30, 12-1 AM (0)
Nov 30, 1-2 AM (0)
Nov 30, 2-3 AM (0)
Nov 30, 3-4 AM (0)
Nov 30, 4-5 AM (0)
Nov 30, 5-6 AM (0)
Nov 30, 6-7 AM (0)
Nov 30, 7-8 AM (0)
35 commits this week Nov 23, 2023 - Nov 30, 2023
Mithril latest releases (#1715)
## Description
1. Creates a workflow to obtain the latest mithril release
`mithril-latest.yml`
2. Changes `guild-deploy.sh` from the static version bump for mithril to
obtaining the latest release.
3. Triggers the **Docker Image** workflow (`dockerfile_bin.yml`) when a
push changes `files/docker/node/release-versions/mithril-latest.txt`.

## Where should the reviewer start?
Testing via `./guild-deploy.sh -b mithril-latest-releases -s m` should
update the `mithril-client --version` output to `0.5.5+0780dfa`

## Motivation and context
Breaking changes between mithril release v2342.0 and v2347.0. Once the
latest snaphot is signed by v2347.0 the v2342.0 client no longer works
(for the latest snapshot).

## Which issue it fixes?
Closes #1714

## How has this been tested?
Running the current guild cardano-node:latest container, running
`/opt/cardano/cnode/scripts/guild-deploy.sh -b mithril-latest-releases
-s m` twice, once to update script the second to install Mithril's
latest release. Then
```
./mithril-client.sh -d
INFO: The db directory does not exist..
INFO: Downloading latest mithril snapshot..
1/6 - Checking local disk info…
2/6 - Fetching the certificate's information…
3/6 - Verifying the certificate chain…
4/6 - Downloading and unpacking the snapshot…
⠁ [00:02:13] [###########>----------------------------------------------------------------------------------------------------------------------------------------] 3.17 GiB/39.08 GiB (1468.8s)
```
confirming the download starts without certificate errors.

---------

Co-authored-by: Ola [AHLNET] <[email protected]>
Co-authored-by: RdLrT <[email protected]>
Add new inputs to workflow summary and correct conditional statement. (#1712)
## Description
Use correct syntax to access workflow input variables for Docker Image
workflow. Adds GUILD_DEPLOY_BRANCH and Push to GA Registry as the
inverse of **testing** boolean.

## Where should the reviewer start?
Check job summaries from the **How has this been tested?** section.

## Motivation and context
Fixes a mistake in the if condition for the push and adds the details to
the summary output.

## Which issue it fixes?
N/A / CI

## How has this been tested?
Jobs: 
* Inputs: [branch:alpha,
testing=true](https://github.com/cardano-community/guild-operators/actions/runs/7015236578)
  * Step **docker push latest** not run
  * Summary **Push to GA Registry** False
* Inputs: [branch:alpha,
testing=false](https://github.com/cardano-community/guild-operators/actions/runs/7015458964/job/19084816266)
  * Step **docker push latest** not run
  * Summary **Push to GA Registry** False
* Inputs: [branch:master,
testing=true](https://github.com/cardano-community/guild-operators/actions/runs/7015459989)
  * Step **docker push latest** not run
  * Summary **Push to GA Registry** False
* Inputs: [branch:master,
testing=false](https://github.com/cardano-community/guild-operators/actions/runs/7015483984)
  * Step **docker push latest** run
  * Summary **Push to GA Registry** True

## Examples

Summary for a GA Image build:
```
Summary Details
Docker Image: docker.io/***/cardano-node:8.1.2
G_ACCOUNT: cardano-community
GUILD_DEPLOY_BRANCH: master
Push to GA Registry: true
CNVERSION: 8.1.2
```

Summary for a test Image build:
```
Summary Details
Docker Image: docker.io/***/cardano-node:8.1.2
G_ACCOUNT: cardano-community
GUILD_DEPLOY_BRANCH: alpha
Push to GA Registry: false
CNVERSION: 8.1.2
```

---------

Co-authored-by: Ola [AHLNET] <[email protected]>
Co-authored-by: RdLrT <[email protected]>
Move dbscripts SQL to koios-artifacts repo, and prep v1.1.0 (#1708)
## Description
<!--- Describe your changes -->
- [x] Move /scripts/gnode-helper-scripts/dbscripts folder to
koios-artifacts repo (v1.1.0 tag), as it only contains SQL files.
Accordingly update setup-grest.sh references.
- [x] Some left-over hard-coded entries (other than documentation ones)
for `cardano-community` replaced by `${G_ACCOUNT}`
- [x] Update dbsync.sh to also pre-fill conway genesis hash
- [x] Install cron job for asset_txo_cache_update
- [x] Bump setup-grest.sh tag reference to v1.1.0

## How has this been tested?
<!--- Describe how you tested changes -->
Tested on v1 instance
Move dbscripts SQL to koios-artifacts repo, and prep v1.1.0 (#1708)
## Description
<!--- Describe your changes -->
- [x] Move /scripts/gnode-helper-scripts/dbscripts folder to
koios-artifacts repo (v1.1.0 tag), as it only contains SQL files.
Accordingly update setup-grest.sh references.
- [x] Some left-over hard-coded entries (other than documentation ones)
for `cardano-community` replaced by `${G_ACCOUNT}`
- [x] Update dbsync.sh to also pre-fill conway genesis hash
- [x] Install cron job for asset_txo_cache_update
- [x] Bump setup-grest.sh tag reference to v1.1.0

## How has this been tested?
<!--- Describe how you tested changes -->
Tested on v1 instance
[docker] remove (redundant) chmod and testable workflows (#1710)
## Description
* Removes the redundant `chown` from step 12, relying on the final one
in step 20.
* Adds new workflow inputs
  * guild_deploy_branch which defaults to master
  * testing which defaults to false
* Conditional logic on the push operation
  * If branch is master and testing is false, the push will occur.
  * If branch is master but testing is true, the push will not occur
* If branch is NOT master, but testing is falase, the push will not
occur (prevents mistaken test from updating the public images).

## Where should the reviewer start?
Compare the two builds. Try a workflow dispatch with testing true, and
with branch not set to master.

## Motivation and context
An error in build process when no shell scripts exist in
`/home/guild/.scripts/` when the operation occurs. Allows testing of the
branches for docker building similar to pre-merge testing of changes to
guild-deploy.sh etc.

## Which issue it fixes?
Closes #1709

## How has this been tested?
Local build, and [workflow
job](https://github.com/cardano-community/guild-operators/actions/runs/6996999037/job/19033480048)