Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added workflow for building and pushing containers from docker/auxili… #394

Merged
merged 8 commits into from
Sep 1, 2023

Conversation

dan-mm
Copy link
Contributor

@dan-mm dan-mm commented Jul 23, 2023

…ary-containers subfolders

@dan-mm
Copy link
Contributor Author

dan-mm commented Jul 23, 2023

This will need a merge to main as well for the workflow to show up in the Actions tab

@ArneTR
Copy link
Member

ArneTR commented Jul 24, 2023

  1. Also here the question: Why is the script only set -e and not set -euo pipefail ?

  2. I tried https://github.com/dan-mm/test-repo-a/pkgs/container/test-repo-a%2Fdan-mm%2Ftest-puppeteer and the container works fine!

What do you need, other than a merge to main, to have these available on Github? I think we should ditch docker hub entirely ...

In what interval is the workflow running?

@ArneTR
Copy link
Member

ArneTR commented Jul 24, 2023

@dan-mm Can you please double check this: https://docs.github.com/en/billing/managing-billing-for-github-packages/about-billing-for-github-packages

It speaks of a data storage and data transfer limit. Does this apply to us?

If so: Your image is already 2 GB. How can that even work then?

@dan-mm
Copy link
Contributor Author

dan-mm commented Jul 24, 2023

  1. Also here the question: Why is the script only set -e and not set -euo pipefail ?
    No good reason my end, pushed it with euo pipefail
  1. I tried https://github.com/dan-mm/test-repo-a/pkgs/container/test-repo-a%2Fdan-mm%2Ftest-puppeteer and the container works fine!

That's really good info to know! The only difference the two versions is in how its built - the one in the link above was built using the buildx github action, what's checked in is a refactor that calls buildx from a shell script. I thought it would be identical but it appears to not be the case...

I'll work on a version of this that uses the buildx github action then, but still searches through the subdirectories as I intended. Please hold on merging this until I do so.

What do you need, other than a merge to main, to have these available on Github? I think we should ditch docker hub entirely ...
Should just be the merge to main- but hold off on that until I make the changes described above. Our gmt repo should already be setup to push containers because we already use it for our cached containers.

In what interval is the workflow running?
Its on manual run only at the moment, that's what made the most sense to me. I figured we'd only want to update these containers intentionally

@dan-mm
Copy link
Contributor Author

dan-mm commented Jul 24, 2023

@dan-mm Can you please double check this: https://docs.github.com/en/billing/managing-billing-for-github-packages/about-billing-for-github-packages

It speaks of a data storage and data transfer limit. Does this apply to us?

If so: Your image is already 2 GB. How can that even work then?

"GitHub Packages usage is free for public packages. For private packages, each account on github.com receives a certain amount of free storage and data transfer, depending on the product used with the account. Any usage beyond the included amounts is controlled by spending limits."

So we should be fine as long as we keep these packages public.

@ArneTR ArneTR changed the base branch from dev to main July 25, 2023 10:24
@ArneTR
Copy link
Member

ArneTR commented Aug 3, 2023

Can you please rework this to automatically trigger when the Dockerfile has been updated (which will happen through Dependabot)

Also please let know if the token from Docker Hub Works. Containers should be on Docker Hub

@ArneTR ArneTR mentioned this pull request Aug 4, 2023
@dan-mm
Copy link
Contributor Author

dan-mm commented Aug 22, 2023

@ArneTR I made the requested changes, but need two things before this is done.

1- we need to set two repository secrets - DOCKERHUB_TOKEN and DOCKERHUB_USERNAME. I don't have access to do it myself, but instructions are here: https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository

2 - while this should theoretically work, I haven't been able to test it on dockerhub yet. I tried to test this on my private repo, but the token doesn't have permissions to pull/push from that repo. So in order to test this I need one of two things:
a - login password for dockerhub so I can check/edit the token permissions
b - this merged in to main + secrets set so I can test it on this repository (though if it doesn't work, I'll still likely need the login to debug). It likely works as is though, its pretty straightforward.

@github-actions
Copy link

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 18.1465 2066.18 3.01192 693
Measurement #1 18.2271 2066.18 3.01192 687

📈 Energy graph:

 
 6.84 ┤                                                                                                ╭╮             ╭╮╭─╮         ╭╮
 6.35 ┤                                       ╭╮            ╭╮                                       ╭─╯╰╮    ╭╮      │╰╯ ╰─╮  ╭────╯│
 5.86 ┤          ╭╮                          ╭╯│           ╭╯│ ╭╮                                    │   ╰╮ ╭─╯╰─╮    │     ╰╮ │     │              ╭╮
 5.37 ┤          ││    ╭╮              ╭╮    │ │       ╭╮  │ │╭╯│                            ╭─╮     │    │ │    ╰╮   │      │ │     ╰╮           ╭╮││                                                                                                                                                                                                                                                                                                                                                             ╭╮                                                                                                                                                                                              ╭
 4.88 ┤     ╭╮   │╰╮   │╰─────────╮  ╭╮││╭───╯ ╰─────╮ │╰──╯ ╰╯ │   ╭───╮╭─╮╭────╮ ╭╮╭─╮╭────╯ │     │    │ │     │   │      │ │      │           │││╰╮                                                                                                                                                                                            ╭╮                        ╭╮                      ╭╮                         ╭╮                          ╭╮         ╭╮              ╭╮                          ││                     ╭╮ ╭╮                     ╭╮                                ╭╮          ╭╮                                                   ╭╮             ╭╮╭╮                         │
 4.39 ┤     │╰╮  │ ╰───╯          ╰──╯╰╯╰╯           ╰─╯        ╰───╯   ╰╯ ╰╯    ╰─╯╰╯ ││      ╰╮    │    ╰╮│     │   │      │ │      │       ╭─╮ │││ │         ╭╮╭╮        ╭╮ ╭─╮                     ╭╮          ╭╮                     ╭╮          ╭╮                                ╭╮                                            ╭╮          ╭╯│                   ╭╮ ╭╮││                   ╭╮ ││╭╮                       ││           ╭╮        ╭╮ ╭╮││         ││             ╭╯│         ╭╮╭╮        ╭╮ ╭╮││         ╭╮╭╮        ││ │╰╮                    ││                               ╭╯│          ││╭╮            ╭╮                                   ││            ╭╯│││                        ╭╯
 3.90 ┤     │ ╰──╯                                                                     ╰╯       ╰╮ ╭─╯     ╰╯     │╭╮ │      ╰─╯      │       │ │╭╯╰╯ │        ╭╯│││        ││ │ │         ╭╮         ╭╯│          ││         ╭─╮         │╰╮         ││         ╭╮          ╭╮         │╰╮         ╭╮         ╭╮         ╭╮          ││         ╭╯ │         ╭╮        ││ │╰╯│                   ││ │╰╯│                  ╭╮ ╭─╯│         ╭╮││        ││ │╰╯│         ││          ╭╮╭╯ │        ╭╯│││        ││ │╰╯│        ╭╯│││        ││ │ │                    ││                               │ │         ╭╯│││╭╮          ││         ╭─╮           ╭╮          ││            │ ╰╯│        ╭─╮         ╭╮ ╭╯
 3.41 ┤    ╭╯                                                                                    ╰─╯              │││╭╯               │       │ ││    │        │ │││        ││ │ │         │╰╮        │ ╰╮        ╭╯╰╮        │ │         │ │         ││         │╰╮        ╭╯│         │ │         ││         │╰╮        │╰╮        ╭╯╰╮        │  │         ││        ││ │  ╰╮        ╭╮        ││ │  │         ╭╮       │╰╮│  │        ╭╯╰╯│        ││ │  │        ╭╯│╭╮       ╭╯││  │        │ ╰╯│        ││ │  │        │ │││        ││ │ │         ╭╮        ╭╯│                    ╭╮         │ ╰╮       ╭╯ ╰╯│││          │╰╮        │ ╰╮          │╰╮        ╭╯│╭╮       ╭╮ │   │        │ │         │╰╮│
 2.92 ┤    │                                                                                                      ╰╯││                │     ╭╮│ ││    ╰╮       │ ╰╯│        │╰╮│ ╰╮        │ │        │  │        │  │        │ ╰╮        │ │         │╰╮        │ │        │ ╰╮        │ │         │╰╮        │ │        │ │        │  │        │  ╰╮        │╰╮  ╭╮   │╰╮│   │        ││       ╭╯│╭╯  │        ╭╯│       │ ││  ╰╮       │   │        │╰╮│  │       ╭╯ │││       │ ││  ╰╮       │   │        │╰╮│  │        │ ╰╯│        ││ │ │        ╭╯│        │ ╰╮        ╭─╮        │╰╮        │  │       │    ╰╯│       ╭─╮│ │       ╭╯  ╰╮       ╭╮│ │       ╭╯ ╰╯│       ││╭╯   │       ╭╯ ╰─╮       │ ││
 2.43 ┤    │                                                                                                        ││                ╰╮ ╭╮ │││ ││     │╭╮     │   ╰╮       │ ││  │╭╮     ╭╯ ╰╮ ╭╮╭╮  │  │       ╭╯  │       ╭╯  │      ╭╮│ ╰╮    ╭╮  │ │      ╭╮│ │        │  │╭╮      │ ╰╮       ╭╯ │       ╭╯ ╰╮     ╭╮│ │       ╭╯  │        │   │╭╮     ╭╯ ╰╮ ││   │ ││   │    ╭╮ ╭╯│       │ ││   │        │ │       │ ││   │ ╭╮    │   ╰─╮ ╭╮   │ ││  │      ╭╯  │││  ╭╮ ╭╮│ ││   │  ╭╮   │   ╰╮       │ ││  │ ╭╮     │   │       ╭╯╰╮│ │    ╭╮  │ │        │  │   ╭╮   │ │       ╭╯ ╰╮  ╭╮  ╭╯  │       │      │   ╭╮  │ ││ │       │    │      ╭╯││ │       │    │ ╭╮ ╭╮ │││    │       │    │     ╭╮│ ││
 1.94 ┼────╯                                                                                                        ╰╯                 ╰─╯╰─╯╰╯ ╰╯     ╰╯╰─────╯    ╰───────╯ ╰╯  ╰╯╰─────╯   ╰─╯╰╯╰──╯  ╰───────╯   ╰───────╯   ╰──────╯╰╯  ╰────╯╰──╯ ╰──────╯╰╯ ╰────────╯  ╰╯╰──────╯  ╰───────╯  ╰───────╯   ╰─────╯╰╯ ╰───────╯   ╰────────╯   ╰╯╰─────╯   ╰─╯╰───╯ ╰╯   ╰────╯╰─╯ ╰───────╯ ╰╯   ╰────────╯ ╰───────╯ ╰╯   ╰─╯╰────╯     ╰─╯╰───╯ ╰╯  ╰──────╯   ╰╯╰──╯╰─╯╰╯ ╰╯   ╰──╯╰───╯    ╰───────╯ ╰╯  ╰─╯╰─────╯   ╰───────╯  ╰╯ ╰────╯╰──╯ ╰────────╯  ╰───╯╰───╯ ╰───────╯   ╰──╯╰──╯   ╰───────╯      ╰───╯╰──╯ ╰╯ ╰───────╯    ╰──────╯ ╰╯ ╰───────╯    ╰─╯╰─╯╰─╯╰╯    ╰───────╯    ╰─────╯╰╯ ╰╯
                                                                                                                                                                                                                                                                                                                                                      Watts over time

@github-actions
Copy link

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 18.1976 2062.11 3.01038 693
Measurement #1 18.325 2062.11 3.01038 687

📈 Energy graph:

 
 6.84 ┤                                                                                        ╭╮╭╮             ╭╮╭╮ ╭╮    ╭─╮ ╭─╮
 6.35 ┤                                                                                        │╰╯╰╮    ╭╮╭╮    │╰╯╰─╯│   ╭╯ ╰─╯ │
 5.86 ┤            ╭╮   ╭╮                     ╭─╮                                             │   ╰╮  ╭╯╰╯╰╮   │     ╰╮  │      │            ╭╮
 5.37 ┤           ╭╯│   ││               ╭╮    │ │           ╭─╮ ╭─╮             ╭╮          ╭╮│    │╭─╯    │   │      │  │      │        ╭╮  │╰╮                                                                                                                                                                                                                                                  ╭╮                                                                                                                                                             ╭╮                                ╭╮                                                                                                            ╭
 4.88 ┤           │ │   │╰────╮╭────╮    │╰────╯ ╰╮╭────╮╭───╯ ╰─╯ │ ╭╮╭╮ ╭──╮╭╮╭╯╰─╮ ╭─╮╭╮  │╰╯    ││      │   │      │  │      │        ││╭╮│ │                                                                                                                                                                                             ╭─╮                                             ╭╮   ││                                                  ╭╮╭╮                         ╭╮                                                      ╭╮                    ││                                ││                                                                               ╭╮                           │
 4.39 ┤     ╭╮    │ ╰───╯     ╰╯    ╰────╯        ╰╯    ╰╯         ╰─╯╰╯╰─╯  ╰╯╰╯   ╰─╯ ╰╯│  │      ││      │╭╮ │      │  │      │        │││││ │          ╭╮╭╮        ╭╮ ╭─╮         ╭╮          ╭╮          ╭╮                      ╭╮         ╭╮                     ╭╮          ╭╮                     ╭╮         ╭╮          ╭╮          │ │                       ╭─╮                   ││ ╭╮││                      ╭─╮          ╭╮╭╮        ╭╮ │╰╯│         ╭╮             ╭╯│                         ╭─╮            ╭╮        ╭╮ ╭╯│                    ││                                ││          ╭─╮              ╭╮                       ╭╮          ╭╮            ╭╯│                         ╭─╯
 3.90 ┤     │╰─╮  │                                                                       ╰╮ │      ╰╯      ╰╯│╭╯      ╰─╮│      │       ╭╯╰╯││ ╰╮        ╭╯│││        ││ │ │         ││         ╭╯│         ╭╯│         ╭─╮         ╭╯│         ││         ╭─╮         ││          ││          ╭╮         ││         ││         ╭╯│         ╭╯ │         ╭╮        ╭╮ ╭╯ │                   ││ │╰╯│                   ╭╮ │ ╰╮         ││││        ││ │  │         ││╭╮        ╭╮ │ │         ╭─╮          ╭╮╭╯ ╰╮        ╭─╮││        ││ │ │         ╭╮         ││                               ╭╯╰╮        ╭╯ ╰╮╭╮           ││         ╭╮            ││         ╭╯│            │ ╰─╮        ╭─╮         ╭╮ │
 3.41 ┤    ╭╯  │  │                                                                        ╰╮│                ││         ││      │       │   ╰╯  │       ╭╯ │││        ││ │ │         │╰╮        │ ╰╮        │ ╰╮        │ │         │ │         │╰╮        │ │         │╰╮        ╭╯╰╮        ╭╯│         ││         │╰╮        │ ╰╮        │  ╰╮        ││       ╭╯╰╮│  ╰╮        ╭╮        ││ │  │         ╭╮       ╭╯│ │  │       ╭─╯│││        ││ │  │        ╭╯│││       ╭╯│╭╯ ╰╮       ╭╯ ╰─╮       ╭╯││   │       ╭╯ │││        ││ │ │         ││         │╰╮         ╭╮         ╭╮        │  │        │   ╰╯╰╮       ╭╮ ││        ╭╯╰─╮          │╰╮       ╭╯ │╭╮       ╭╮╭╯   │       ╭╯ ╰╮        ││ │
 2.92 ┤    │   ╰╮ │                                                                         ╰╯                ││         ╰╯      │       │       │       │  ╰╯│       ╭╯│ │ ╰╮        │ │        │  │        │  │        │ ╰╮        │ ╰╮        │ │        │ │        ╭╯ │        │  │        │ │        ╭╯╰╮   ╭╮   │ │        │  │        │   │        │╰╮      │  ││   │        ││        ││ │  ╰╮        ││       │ │╭╯  │       │  ╰╯│       ╭╯│╭╯  │       ╭╯ │││       │ ││   │       │    │       │ ││   │       │  │││       ╭╯│╭╯ │         ││        ╭╯ │        ╭╯│        ╭╯│        │  │        │      │       ││╭╯╰╮       │   │        ╭╮│ │       │  ╰╯│       │││    │       │   ╰╮       │╰╮│
 2.43 ┤    │    │ │                                                                                           ││                 │    ╭╮ │       │  ╭╮  ╭╯    │       │ │╭╯  │        │ │       ╭╯  │       ╭╯  │     ╭╮╭╯  │        │  │      ╭╮│ │       ╭╯ ╰╮ ╭╮   ╭╯  │ ╭╮    ╭╯  │   ╭╮   │ │        │  │   ││  ╭╯ │       ╭╯  │       ╭╯   │       ╭╯ │   ╭╮ │  ││   │        ││╭╮      │╰╮│   │    ╭╮  ││       │ ││   │   ╭╮  │    │       │ ││   │       │  ││╰╮      │ ││   │ ╭╮    │    │       │ ││   ╰╮      │  ╰╯│       │ ││  │  ╭╮    ╭╯│       ╭╯  │       ╭╯ │        │ │    ╭╮ ╭╯  ╰╮       │      │╭╮     │││  │      ╭╯   │       ╭╯││ │       │    │       │││    │       │    │       │ ││
 1.94 ┼────╯    ╰─╯                                                                                           ╰╯                 ╰────╯╰─╯       ╰──╯╰──╯     ╰───────╯ ╰╯   ╰────────╯ ╰───────╯   ╰───────╯   ╰─────╯╰╯   ╰────────╯  ╰──────╯╰╯ ╰───────╯   ╰─╯╰───╯   ╰─╯╰────╯   ╰───╯╰───╯ ╰────────╯  ╰───╯╰──╯  ╰───────╯   ╰───────╯    ╰───────╯  ╰───╯╰─╯  ╰╯   ╰────────╯╰╯╰──────╯ ╰╯   ╰────╯╰──╯╰───────╯ ╰╯   ╰───╯╰──╯    ╰───────╯ ╰╯   ╰───────╯  ╰╯ ╰──────╯ ╰╯   ╰─╯╰────╯    ╰───────╯ ╰╯    ╰──────╯    ╰───────╯ ╰╯  ╰──╯╰────╯ ╰───────╯   ╰───────╯  ╰────────╯ ╰────╯╰─╯    ╰───────╯      ╰╯╰─────╯╰╯  ╰──────╯    ╰───────╯ ╰╯ ╰───────╯    ╰───────╯╰╯    ╰───────╯    ╰───────╯ ╰╯
                                                                                                                                                                                                                                                                                                                                                      Watts over time

@dan-mm
Copy link
Contributor Author

dan-mm commented Aug 31, 2023

I updated the tag, however both the points from the last comment are still true. We need the secrets set for dockerhub, and testing for this is not possible without either the dockerhub login or secrets set

@github-actions
Copy link

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 22.7083 2992.45 3.68074 822
Measurement #1 22.8073 2992.45 3.68074 816

📈 Energy graph:

 
 7.56 ┤              ╭╮                                 ╭╮                                                                                                                                ╭╮                                            ╭╮╭╮ ╭─╮
 7.03 ┤              ││                                 ││                       ╭╮                                                                                                      ╭╯╰──╮                                        ╭╯╰╯╰╮│ │
 6.49 ┤              ││                                 ││                      ╭╯│╭╮                                                                                                    │    │                            ╭╮          │    ╰╯ │
 5.96 ┤              ││                                 ││                      │ │││                                              ╭╮                                                    │    │                         ╭─╮│╰──╮      ╭╯       │
 5.42 ┤              │╰╮   ╭╮ ╭╮                  ╭╮  ╭╮│╰╮              ╭╮  ╭╮╭╯ ││╰╮                  ╭╮ ╭╮    ╭──╮ ╭╮   ╭╮╭╮    │╰╮                         ╭─╮ ╭╮ ╭╮  ╭─╮       ╭╮  ╭╯    │    ╭─╮                  │ ╰╯   ╰──╮   │        │        ╭╮ ╭╮╭─╮                           ╭─╮                     ╭╮          ╭╮                                                                                                                    ╭╮          ╭╮╭╮                         ╭╮                      ╭╮                          ╭─╮                           ╭╮                          ╭╮                                                                              ╭╮                                ╭╮            ╭╮                                                                     ╭╮╭╮                         ╭──
 4.88 ┤      ╭──╮╭───╯ ╰───╯╰─╯╰──────────────────╯╰──╯╰╯ ╰──────────────╯╰──╯╰╯  ╰╯ ╰───────╮    ╭─────╯╰─╯╰────╯  ╰─╯╰───╯╰╯╰╮╭╮ │ ╰─────────────────────────╯ ╰─╯╰─╯╰──╯ ╰───────╯╰──╯     ╰──╮╭╯ ╰─────────╮╭╮    ╭╮│         ╰───╯        ╰╮      ╭╯│╭╯╰╯ ╰─╮         ╭─╮         ╭╮ ╭╯ │         ╭─╮         │╰╮         │╰╮         ╭─╮         ╭─╮         ╭─╮         ╭╮         ╭─╮         ╭─╮         ╭─╮         ╭╮         ╭╮          ││          │╰╯│         ╭╮        ╭╮ ╭─╮││                   ╭╮ │╰──╮                  ╭╮ ╭─╯ │         ╭─╮          ╭╮ ╭─╯│         ╭─╮         ╭╮ ╭─╯│          ╭╮╭╮        ╭╮ ╭───╮         ╭─╮             ╭─╮                    ││                                │╰╮          ╭╯│╭╮╭╮           ╭╮         ╭─╮            ╭╮          ╭╮            ╭─╯╰╯│          ╭╮          ╭╮ │
 4.35 ┤      │  ╰╯                                                                           │    │                            ╰╯│╭╯                                                             ╰╯            │││    │╰╯                       │      │ ╰╯      │        ╭╯ ╰─╮       │╰╮│  ╰╮        │ │         │ │         │ │         │ ╰╮        │ ╰╮        │ │         │╰╮        │ │         │ │         │ │         │╰╮        │╰╮         │╰╮         │  ╰╮        │╰╮       │╰╮│ ╰╯╰╮        ╭╮        ││ │   │                  │╰╮│   │        ╭╯ ╰─╮       ╭╯│╭╯  │        ╭╯ ╰╮        │╰╮│  ╰╮       ╭─╯╰╯│        ││ │   │         │ ╰─╮       ╭─╮╭╯ ╰╮        ╭╮        ╭╯╰╮         ╭╮         ╭╮        ╭╯ ╰╮       ╭─╯ ╰╯│││        ╭╮╭╯╰╮       ╭╯ │╭╮         ╭╯╰╮       ╭─╯╰─╮          │    ╰╮       ╭─╯╰─╮        ││ │
 3.81 ┤    ╭─╯                                                                               │    │                              ╰╯                                                                            ╰╯│ ╭─╮│                         │      │         │       ╭╯    │       │ ││   │      ╭─╯ │        ╭╯ │         │ │         │  │        │  │        │ │        ╭╯ │        │ ╰╮        │ ╰╮        │ │        ╭╯ │        │ │        ╭╯ │        ╭╯   │        │ │       │ ││    │        ││        ││ │   │        ╭─╮       │ ││   │        │    │       │ ││   │        │   ╰╮       │ ││   │       │    ╰╮       │╰╮│   │       ╭─╯   │       │ ││   │       ╭╯│        │  │        ╭╯│        ╭╯│        │   │       │     ╰╯│        │││  │       │  │││       ╭╮│  │       │    │       ╭─╮│     │       │    │       ╭╯│ │
 3.28 ┤    │                                                                                 │   ╭╯                                                                                                              │╭╯ ││                         │  ╭╮  │         │ ╭╮    │     │       │ ││   │      │   │        │  │         │ ╰╮        │  │        │  │        │ │        │  │        │  │       ╭╯  │        │ │        │  │        │ │        │  │        │    │       ╭╯ │       │ ││    │        ││       ╭╯│ │   │        │ │       │ ││   │       ╭╯    │       │ ││   ╰╮       │    │      ╭╯ ││   │       │     │       │ ││   │       │     │       │ ││   │       │ │        │  │        │ │        │ │        │   │       │       │        │││  │       │  ╰╯│       │││  │ ╭╮    │    │       │ ││     │       │    │       │ │╭╯
 2.74 ┼╮ ╭─╯                                                                                 │ ╭╮│                                                                                                               ╰╯  ╰╯                         │  ││ ╭╯         │╭╯╰╮   │     │  ╭╮╭╮╭╯ ││   ╰╮ ╭─╮ │   │╭╮╭╮╭───╯  │ ╭╮    ╭─╯  │╭╮╭─╮╭──╯  ╰╮  ╭╮╭──╯  │╭──╮ ╭╮╭╯ │╭──╮╭─╮╭╯  │ ╭╮   ╭─╯  ╰───╮  ╭╯   │╭─╮ ╭╮ ╭╯ │╭╮╭─╮╭╮╭╯  ╰╮╭──╮ ╭─╯ │  ╭╮   ╭╯  ╰╮    ╭╮╭╯    │    ╭──╯  │╭──╮ ╭╮│ ╰╯    ╰╮╭─╮   ╭╯╰╮╭╮╭╮  │ ╰╮│   │    ╭╮ ╭╯ ╰────╮╭╮│ ││   ╰──╮  ╭─╯     │╭─╮╭╮ ╭╯ ││    │  ╭─╮╭─╯    │ ╭─╮╭─╯  ││   ╰╮  ╭──╮│     ╰──╮  ╭╮│ ╰╯   ╰──╮ ╭╮╭╯     │╭──╮╭╮╭╯ ╰╯   ╰───╮╭──╯ │╭─╮ ╭╮╭─╯  ╰─╮╭╮   ╭╯ │  ╭──╮ ╭╯ │   ╭──╮╭╯   ╰─╮╭╮╭╮╭╯       ╰╮╭─╮  ╭╮│╰╯  ╰╮ ╭╮╭╮╭╯    │╭─╮ ╭╮ │││  │ ││    │    ╰╮╭╮  ╭╮│ ││     │ ╭─╮ ╭╮│    │╭╮╭───╮│ ││
 2.20 ┤╰─╯                                                                                   ╰─╯╰╯                                                                                                                                              ╰──╯╰─╯          ╰╯  ╰───╯     ╰──╯╰╯╰╯  ╰╯    ╰─╯ ╰─╯   ╰╯╰╯╰╯      ╰─╯╰────╯    ╰╯╰╯ ╰╯      ╰──╯╰╯     ╰╯  ╰─╯╰╯  ╰╯  ╰╯ ╰╯   ╰─╯╰───╯        ╰──╯    ╰╯ ╰─╯╰─╯  ╰╯╰╯ ╰╯╰╯    ╰╯  ╰─╯   ╰──╯╰───╯    ╰────╯╰╯     ╰────╯     ╰╯  ╰─╯╰╯        ╰╯ ╰───╯  ╰╯╰╯╰──╯  ╰╯   ╰────╯╰─╯       ╰╯╰╯ ╰╯      ╰──╯       ╰╯ ╰╯╰─╯  ╰╯    ╰──╯ ╰╯      ╰─╯ ╰╯    ╰╯    ╰──╯  ╰╯        ╰──╯╰╯         ╰─╯╰╯      ╰╯  ╰╯╰╯           ╰╯    ╰╯ ╰─╯╰╯      ╰╯╰───╯  ╰──╯  ╰─╯  ╰───╯  ╰╯      ╰╯╰╯╰╯         ╰╯ ╰──╯╰╯     ╰─╯╰╯╰╯     ╰╯ ╰─╯╰─╯╰╯  ╰─╯╰────╯     ╰╯╰──╯╰╯ ╰╯     ╰─╯ ╰─╯╰╯    ╰╯╰╯   ╰╯ ╰╯
                                                                                                                                                                                                                                                                                                                                                                                                                      Watts over time

@ArneTR
Copy link
Member

ArneTR commented Sep 1, 2023

I don't quite get the comment?

@dan-mm
Copy link
Contributor Author

dan-mm commented Sep 1, 2023

@ArneTR that comment was written before our call, so it was out of date.

I just ran my private repo workflow again, and it passed. I see the containers on dockerhub too now: https://hub.docker.com/r/greencoding/gcb_playwright/tags

All the changes should now be in this branch, and I think we can merge this in

@github-actions
Copy link

github-actions bot commented Sep 1, 2023

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 18.6959 2244.79 3.0376 748
Measurement #1 18.8061 2244.79 3.0376 742

📈 Energy graph:

 
 6.84 ┤                                          ╭╮                                                                                           ╭╮                                ╭─╮╭╮
 6.35 ┤                                          ││             ╭╮                                                                          ╭─╯│                    ╭╮         ╭╯ ╰╯│
 5.86 ┤            ╭╮                            ││             ││ ╭╮                                                                       │  │                    │╰──╮      │    ╰╮
 5.37 ┤            ││                           ╭╯│            ╭╯╰─╯│                     ╭╮      ╭─╮                                      ╭╯  ╰╮                   │   ╰╮     │     │                                                                                                                                                                                                               ╭╮                                                                           ╭╮                                                                                  ╭╮
 4.88 ┤      ╭╮ ╭╮╭╯│   ╭─╮╭──╮╭─╮╭╮      ╭───╮╭╯ ╰╮ ╭───╮ ╭───╯    │     ╭╮  ╭─╮ ╭╮ ╭─╮ ╭╯│      │ │        ╭─╮╭──╮╭─╮╭─╮  ╭─╮╭──╮╭───╮╭──╯    ╰╮  ╭╮╭╮╭──╮        │    ╰─╮╭╮╭╯     │       ╭─╮╭╮ ╭╮╭╮                                                                        ╭╮          ╭╮                                                                                                        ││         ╭╮             ╭╮                                                 ││                          ╭╮                     ╭╮ ╭╮╭╮                          ││                                               ╭╮                                ╭╮                                                                                                             ╭
 4.39 ┤      │╰╮│╰╯ ╰───╯ ╰╯  ╰╯ ╰╯╰──────╯   ╰╯   ╰─╯   ╰─╯        │   ╭─╯╰──╯ ╰─╯╰╮│ ╰─╯ │╭╮    │ │╭╮╭─╮╭──╯ ╰╯  ╰╯ ╰╯ ╰╮╭╯ ╰╯  ╰╯   ╰╯        │╭─╯╰╯╰╯  │        │      ╰╯││      │       │ │││╭╯╰╯│                                     ╭╮                     ╭╮          ││          ││          ╭╮                                                                   ╭╮                     ╭╮││         ││        ╭╮ ╭╮││                      ╭╮                    ╭╮ ╭╮││                     ╭╮ ╭╮││                     ││ ││││                     ╭╮ ╭╮││                     ╭╮ ╭─╮                    ││                                ││                           ╭╮                                                   ╭╮                          ╭╯
 3.90 ┤     ╭╯ ╰╯                                                   │   │           ╰╯     ╰╯╰╮   │ ╰╯╰╯ ╰╯               ││                     ││        │╭╮     ╭╯        ││      │       │ ││││   │          ╭╮         ╭╮  ╭─╮         ││         ╭─╮         │╰╮         │╰╮         │╰╮         ││         ╭╮          ╭╮         ╭─╮         ╭╮          ╭╮         ││         ╭─╮         │╰╯│         ││        ││ │╰╯│                   ╭╮ │╰─╮                  ││ │╰╯│         ╭╮          ││ │╰╯│         ╭╮          ││ │╰╯│         ╭╮╭╮        ││ │╰╯│         ╭╮╭╮        ││ │ │         ╭╮         ││                                │╰╮         ╭─╮╭╮            ││          ╭╮            ╭╮          ╭╮           ╭─╯╰─╮         ╭╮          ╭╮ │
 3.41 ┤    ╭╯                                                       │   │                     ╰─╮ │                       ╰╯                     ╰╯        ╰╯│     │         ╰╯      │       │ ╰╯││   ╰╮       ╭─╯│╭╮       │╰╮╭╯ │         │╰╮        │ │         │ │         │ │         │ │         │╰╮        │╰╮        ╭╯│         │ │         │╰╮        ╭╯│         │╰╮        │ │         │  │         ││        ││ │  │         ╭╮       ╭╯│╭╯  │        ╭╮        ││ │  │        ╭╯╰─╮        ││ │  ╰╮       ╭╯╰─╮        ││ │  │        ╭╯│││        ││ │  │        ╭╯╰╯│        ││ │ │         ││         │╰╮        ╭─╮         ╭╮        ╭╯ │        ╭╯ ╰╯╰─╮       ╭╮ │╰╮       ╭╮││╭╮         ╭╯│        ╭─╯╰╮          │    │       ╭─╯│╭╮       ╭╯│╭╯
 2.92 ┤    │                                                        ╰╮  │                       ╰╮│                                                          ╰──╮ ╭╯                 │      ╭╯   ╰╯    │       │  ╰╯│       │ ││  │  ╭╮     │ │        │ ╰╮      ╭╮│ ╰╮        │ │         │ │         │ │ ╭╮     │ │        │ ╰╮        │ ╰╮        │ │        │ │         │ │        │ ╰╮        │  ╰╮        ││       ╭╯│ │  ╰╮        ││       │ ││   │        ││        │╰╮│  ╰╮       │   ╰╮       │╰╮│   │       │   │        ││ │  │        │ ╰╯│       ╭╯│ │  │        │   │        │╰╮│ │         ││         │ │        │ │        ╭╯│        │  │        │      │       ││╭╯ │       │╰╯╰╯│       ╭╮│ ╰╮       │   │        ╭╮│    │       │  ╰╯│       │ ││
 2.43 ┤    │                                                         │ ╭╯                        ╰╯                                                             ╰╮│                  │      │          │╭╮     │    │   ╭╮  │ ││  ╰╮╭╯│     │ │       ╭╯  │     ╭╯││  │        │ ╰╮╭─╮    ╭╯ │╭╮       │ │ ││    ╭╯ │       ╭╯  │       ╭╯  │       ╭╯ │       ╭╯ │         │ │  ╭╮    │  │        │   │       ╭╯│       │ │╭╯   │        ││       │ ││   │       ╭╯╰╮       │ ││   │       │    │       │ ││   ╰╮      │   │       ╭╯╰╮│  ╰╮      ╭╯   ╰╮      │ │╭╯  │        │   ╰╮╭╮     │ ╰╯ ╰╮    ╭╮ ╭╯│         │ │       ╭╯ │        │ │       ╭╯  ╰╮       │      │       │││  │       │    │       │││  │       │   │        │││    │       │    │       │ ││
 1.94 ┼────╯                                                         ╰─╯                                                                                         ╰╯                  ╰──────╯          ╰╯╰─────╯    ╰───╯╰──╯ ╰╯   ╰╯ ╰─────╯ ╰───────╯   ╰─────╯ ╰╯  ╰────────╯  ╰╯ ╰────╯  ╰╯╰───────╯ ╰─╯╰────╯  ╰───────╯   ╰───────╯   ╰───────╯  ╰───────╯  ╰─────────╯ ╰──╯╰────╯  ╰────────╯   ╰───────╯ ╰───────╯ ╰╯    ╰────────╯╰───────╯ ╰╯   ╰───────╯  ╰───────╯ ╰╯   ╰───────╯    ╰───────╯ ╰╯    ╰──────╯   ╰───────╯  ╰╯   ╰──────╯     ╰──────╯ ╰╯   ╰────────╯    ╰╯╰─────╯     ╰────╯╰─╯ ╰─────────╯ ╰───────╯  ╰────────╯ ╰───────╯    ╰───────╯      ╰───────╯╰╯  ╰───────╯    ╰───────╯╰╯  ╰───────╯   ╰────────╯╰╯    ╰───────╯    ╰───────╯ ╰╯
                                                                                                                                                                                                                                                                                                                                                                                 Watts over time

@github-actions
Copy link

github-actions bot commented Sep 1, 2023

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 19.9078 2595.78 3.57053 735
Measurement #1 20.0388 2595.78 3.57053 729

📈 Energy graph:

 
 7.56 ┤             ╭─╮                              ╭╮                                                            ╭╮                                       ╭─╮
 7.03 ┤            ╭╯ ╰╮                            ╭╯│                                                         ╭──╯│                                 ╭───╮ │ │
 6.49 ┤            │   │                            │ │                  ╭╮                                     │   ╰╮                                │   ╰─╯ │
 5.96 ┤            │   │                            │ │                  ││  ╭╮                                 │    │                    ╭───╮       │       │
 5.42 ┤      ╭╮╭╮ ╭╯   │ ╭╮     ╭╮            ╭╮    │ ╰╮       ╭╮   ╭╮  ╭╯│  │╰╮      ╭──╮    ╭──╮  ╭─╮╭─╮     ╭╯    │    ╭╮ ╭╮   ╭╮     ╭╯   ╰───╮ ╭╮│       │       ╭╮   ╭──╮                                                  ╭╮          ╭╮          ╭╮          ╭╮                                                                                           ╭╮          ╭╮╭╮                      ╭╮╭╮                                                                               ╭╮                         ╭╮╭╮                         ╭╮╭╮                         ╭─╮                    ╭╮                                ╭╮                            ╭╮                                                    ╭╮╭╮                           ╭
 4.88 ┤      │││╰─╯    ╰─╯╰─────╯╰────────────╯╰────╯  ╰───────╯╰───╯╰──╯ ╰──╯ ╰──────╯  ╰───╮│  ╰──╯ ││ │╭╮ ╭─╯     ╰────╯╰─╯╰───╯╰╮    │        ╰─╯╰╯       │       │╰╮╭─╯  │          ╭╮╭╮        ╭╮ ╭──╮         ╭╮          ││          ││          ││          ││          ╭╮         ╭╮          ╭╮         ╭─╮         ╭─╮         ╭╮         ╭╮          ││          │╰╯│         ╭╮        ╭╮ │╰╯╰╮                  ╭╮ ╭───╮                  ╭╮ ╭───╮         ╭╮╭╮        ╭╮ ╭─╯╰╮         ╭╮          ╭╮ │╰╯│         ╭─╮╭╮        ╭╮ │╰╯│         ╭─╮╭╮        ╭╮ │ │                    │╰╮                               │╰╮          ╭╮╭─╮         ╭╮ │╰╮         ╭─╮           ╭─╮         ╭╮            ╭─╯╰╯│          ╭╮          ╭╮ ╭─╯
 4.35 ┤      │╰╯                                                                             ╰╯       ╰╯ ╰╯│ │                      │╭╮  │                    │       │ ╰╯    ╰╮       ╭─╯╰╯╰╮       │╰╮│  │         │╰╮        ╭╯╰╮        ╭╯╰╮        ╭╯╰╮        ╭╯╰╮        ╭╯│         │╰╮       ╭─╯╰╮        │ ╰╮        │ │         ││         │╰╮         │╰╮        ╭╯  │         ││        ││ │   │        ╭╮        ││ │   │                  │╰╮│   │        ╭╯╰╯│        ││ │   │       ╭─╯╰─╮        ││ │  │        ╭╯ │││       ╭╯│ │  │        ╭╯ │││       ╭╯│╭╯ │         ╭╮         │ │         ╭╮         ╭╮        ╭╯ ╰╮       ╭─╯╰╯ ╰─╮       ││ │ │        ╭╯ ╰╮          │ │        ╭╯╰─╮          │    ╰╮       ╭─╯│╭╮       ╭╯│╭╯
 3.81 ┤    ╭─╯                                                                                             ╰─╯                      ╰╯│╭─╯                    │       │        │       │     │       │ ││  ╰╮  ╭╮    │ │        │  │        │  │        │  │        │  │        │ │         │ │       │   │        │  │        │ │        ╭╯╰╮        │ │        ╭╯ │        │   │         ││        ││ │   │        │╰╮       │╰╮│   │        ╭─╮       │ ││   │       ╭╯   ╰╮       │╰╮│   │       │    │       ╭╯│╭╯  ╰╮       │  ╰╯│       │ │╭╯  ╰╮       │  ╰╯│       │ ││  ╰╮       ╭╯│        ╭╯ │        ╭╯│        ╭╯│        │   │       │       │       │╰╮│ │        │   │        ╭╮│ │       ╭╯   │        ╭╮│     │       │  │││       │ ││
 3.28 ┤    │                                                                                                                          ╰╯                      │      ╭╯        │ ╭╮    │     │       │ ││   │  ││    │ │        │  │        │  │   ╭╮   │  │  ╭╮    │  │     ╭╮ │ ╰╮     ╭╮ │ │       │   │        │  │        │ │        │  │       ╭╯ │        │  │       ╭╯   ╰╮        ││       ╭╯│ │   │        │ │       │ ││   │        │ │       │ ││   │       │     │       │ ││   │       │    │       │ ││    │       │    │ ╭╮    │ ││    │       │    │       │ ││   │       │ │       ╭╯  │        │ │       ╭╯ │        │   │       │       │    ╭╮ │ ││ │       ╭╯   │        │││ │ ╭╮    │    │       ╭╯││     │       │  ╰╯│       │ ││
 2.74 ┤  ╭╮│                                                                                                                                                  ╰───╮╭─╯         │╭╯╰╮╭─╮│     ╰╮╭╮╭───╯ ╰╯   ╰─╮│╰─╮╭─╯ │ ╭╮╭────╯  │╭╮ ╭─╮╭─╯  ╰─╮╭╯╰╮ ╭╯  │  │╰╮╭╮╭╯  │ ╭──╮││╭╯  ╰──╮╭─╯│╭╯ │ ╭╮╭╮╭─╯   │╭╮╭╮ ╭──╯  │╭─╮╭─╮╭─╯ ╰─╮ ╭────╯  │╭╮╭─╮╭╮│  │╭╮╭╮╭╮ ╭╯  │╭─╮╭───╯     │╭────╮╭─╯│ ╭╮ ╭╮╭╯ │╭╯   │ ╭─╮╭─╮╭╯ │╭─────╮│ ╰╯   ╰───╮╭╮╭─╯ ╰─╮╭─╮ ╭╯ ╰╯   │  ╭╮   │     │╭╮╭───╮│ ╰╯   ╰───╮╭──╯    ╰╮╭─────╯ ╰╯    │ ╭╮   ╭╯    ╰─╯│╭╮ ╭╯ ╰╯    │╭╮  ╭─╮│    ╰──────╮│ ╰╯   ╰─╮   ╭─╯ ╰──╮╭──╮│   │╭─╮  ╭──╯ │╭─╮╭╮╭─╯  ╰╮╭─╮╭───╯   ╰──────╮│       ╰╮╭──╯│╭╯ ╰╯ ╰╮╭──╮╭╮│    ╰───╮╭─╮╭╯╰╯ ╰╮││ ╭╮╭╯    ╰╮ ╭╮╭╮╭╯ ││     ╰╮╭╮ ╭╮╭╯    ╰──╮╭───╯ ││
 2.20 ┼──╯╰╯                                                                                                                                                      ╰╯           ╰╯  ╰╯ ╰╯      ╰╯╰╯            ╰╯  ╰╯   ╰─╯╰╯       ╰╯╰─╯ ╰╯      ╰╯  ╰─╯   ╰──╯ ╰╯╰╯   ╰─╯  ╰╯╰╯      ╰╯  ╰╯  ╰─╯╰╯╰╯     ╰╯╰╯╰─╯     ╰╯ ╰╯ ╰╯     ╰─╯       ╰╯╰╯ ╰╯╰╯  ╰╯╰╯╰╯╰─╯   ╰╯ ╰╯         ╰╯    ╰╯  ╰─╯╰─╯╰╯  ╰╯    ╰─╯ ╰╯ ╰╯  ╰╯     ╰╯          ╰╯╰╯     ╰╯ ╰─╯       ╰──╯╰───╯     ╰╯╰╯   ╰╯          ╰╯        ╰╯             ╰─╯╰───╯        ╰╯╰─╯        ╰╯╰──╯ ╰╯           ╰╯        ╰───╯      ╰╯  ╰╯   ╰╯ ╰──╯    ╰╯ ╰╯╰╯     ╰╯ ╰╯              ╰╯        ╰╯   ╰╯      ╰╯  ╰╯╰╯        ╰╯ ╰╯     ╰╯╰─╯╰╯      ╰─╯╰╯╰╯  ╰╯      ╰╯╰─╯╰╯        ╰╯     ╰╯
                                                                                                                                                                                                                                                                                                                                                                           Watts over time

@ArneTR
Copy link
Member

ArneTR commented Sep 1, 2023

can you please configure a workflow then in this repo that we can try which uses the repository secrets.

merging in now, so that you can try out

@ArneTR ArneTR merged commit 8e1878c into main Sep 1, 2023
4 checks passed
@ArneTR ArneTR deleted the 166-container-update-pipeline branch September 1, 2023 09:52
@dan-mm
Copy link
Contributor Author

dan-mm commented Sep 1, 2023

This workflow already does that - I'll do a manual run of it

@dan-mm
Copy link
Contributor Author

dan-mm commented Sep 1, 2023

Actually I didn't have to manually run it- since this was a PR that touched one of the dockerfiles and its now been merged in, it ran automatically as intended:

https://github.com/green-coding-berlin/green-metrics-tool/actions/runs/6048000694

ArneTR added a commit that referenced this pull request Sep 4, 2023
* main:
  Added missing network-intercepts migration
  Schema checker improvements (#395)
  Bump fastapi from 0.103.0 to 0.103.1 (#448)
  Bump pytest from 7.4.0 to 7.4.1 (#449)
  Added python and system packages listing (#430)
  added workflow for building and pushing containers from docker/auxili… (#394)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants