Commit c17c5fea authored by AdamSimpson's avatar AdamSimpson
Browse files

Fix typo in builder service

parent 32666e3f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
#!/bin/bash

echo "-----------------------------"

/usr/local/bin/docker-ls tags --progress-indicator=false --user ${DOCKERHUB_READONLY_USERNAME} --password ${DOCKERHUB_READONLY_TOKEN} olcf/titan

echo "-----------------------------"
@@ -9,3 +11,5 @@ echo "-----------------------------"
echo "-----------------------------"

/usr/local/bin/docker-ls tags --progress-indicator=false --user ${DOCKERHUB_READONLY_USERNAME} --password ${DOCKERHUB_READONLY_TOKEN} olcf/summit

echo "-----------------------------"
+6 −0
Original line number Diff line number Diff line
@@ -52,7 +52,10 @@ void print_status(websocket::stream<tcp::socket> &queue_stream) {

    pt::ptree status_tree;
    pt::read_json(json_stream, status_tree);
    std::cout<<"-------------\n";
    std::cout<<"Active builders\n";
    std::cout<<"-------------\n\n";

    for(auto builder : status_tree.get_child("active")) {
        std::cout<<"ID: " << builder.second.get<std::string>("id") << std::endl;
        std::cout<<"HOST: " << builder.second.get<std::string>("host") << std::endl;
@@ -60,7 +63,10 @@ void print_status(websocket::stream<tcp::socket> &queue_stream) {
        std::cout<<"-------------\n";
    }

    std::cout<<"-------------\n";
    std::cout<<"Reserve builders\n";
    std::cout<<"-------------\n\n";

    for(auto builder : status_tree.get_child("reserve")) {
        std::cout<<"ID: " << builder.second.get<std::string>("id") << std::endl;
        std::cout<<"HOST: " << builder.second.get<std::string>("host") << std::endl;
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ After=network.target
Type=simple
User=builder
WorkingDirectory=/home/builder
EnvironmentFile=/home/queue/environment.sh
EnvironmentFile=/home/builder/environment.sh
ExecStart=/usr/local/bin/builder-server
Restart=no