http://coldfusion.com logo
Join Slack
Powered by
# devops-general
  • d

    Daniel Mejia

    05/05/2022, 1:28 AM
    I have an Azure VM, a github repo, and I would like to use a Github action to ssh to my Azure VM then run a git pull command. My network manager says she will only open up a port and TCP for this if I provide her IP addresses. But Github has over 2000+ subnets that host Github Actions (run this curl command to see that giant list of subnets: !curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/meta) Wouldn't SSH be secure as long as I protect the ssh private key and as long as github doesn't get hacked?
    f
    • 2
    • 3
  • z

    zackster

    09/16/2022, 1:46 PM
    how can i do a conditional step in github actions without a uses? https://github.com/lucee/Lucee/compare/6.0...zspitzer:Lucee:build-use-minio-push#diff-7829468e86c1cc5d5133195b5cb[…]5e3e9203777f6b2e379d9e4882b3R196
  • z

    zackster

    11/03/2022, 3:54 PM
    https://dev.lucee.org/t/github-actions-how-to-write-content-to-the-run-summary-page/11381
  • b

    bhartsfield

    01/31/2023, 2:38 PM
    Hello, all. I have a need for some short-term documentation of our entire server infrastructure and was wondering if anyone knew of any free tools for it? I can dump it all into a Confluence page or even a Jira ticket but I'd prefer something a little more interactive/usable that can be searched and filtered. I would obviously need to be able to plug all the servers in along with all the info I need to provide for them (host names, OS versions, RAM, CPU(s), disk count, disk space, drive letters, internal and external NIC info) But, ideally, I would also be able to group (or simply tag) those servers with other info like the datacenter it is in, which app it services, hosts or other servers in the documentation that it depends on). It will need to be a manual entry tool. Meaning, I will not be able to install a client utility on all the servers that gathers and reports back this info... that'd be too easy)
    z
    j
    • 3
    • 5
  • r

    Ryan Albrecht

    04/13/2023, 7:48 PM
    Any one use portainer?
    ✋🏻 1
    s
    • 2
    • 6
  • r

    Ryan Albrecht

    04/14/2023, 3:54 PM
    I have been dipping my feet into github actions for the first time and have been playing around with continuous deployment. I have set up an action that deploys my code to my VPS and then run box install. The box install for me was a bit tricky. I ended up executing a docker exec command on the server to use the bundled commandbox installation This is my current action and I am curious if anyone has comments.
    Copy code
    name: Deploy
    
    on:
      push:
        branches:
          - main
          
    jobs:
      build:
    
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v1
    
        - name: Copy repository contents via scp
          uses: appleboy/scp-action@master
          env:
            HOST: ${{ secrets.HOST }}
            USERNAME: ${{ secrets.USERNAME }}
            PORT: ${{ secrets.PORT }}
            KEY: ${{ secrets.SSHKEY }}
          with:
            source: "."
            target: " /var/lib/docker/volumes/web_data/_data"
    
    
        - name: Executing remote command  (box install)
          uses: appleboy/ssh-action@master
          with:
            host: ${{ secrets.HOST }}
            USERNAME: ${{ secrets.USERNAME }}
            PORT: ${{ secrets.PORT }}
            KEY: ${{ secrets.SSHKEY }}
            script: 
                docker exec coldbeerfusion_web sh -c "cd /app && box install"
  • c

    cfsimplicity

    05/19/2023, 11:40 AM
    @cfsimplicity has left the channel
  • r

    Ryan Albrecht

    07/06/2023, 3:56 PM
    anyone here windows group policy expert?
  • t

    tony

    07/23/2023, 9:31 AM
    @tony has left the channel
  • r

    Ryan Albrecht

    09/21/2023, 2:10 PM
    I have a question on docker. I am running a few containers using docker-compose. This has been working great as each of the containers can communicate with each other. I have a web container and an sql container. But now I have a need to add datasource to my web container which is on my local network. How can I allow the web container access to the local network?
    p
    • 2
    • 11
  • r

    Ryan Albrecht

    09/21/2023, 2:20 PM
    I tried setting the network mode to host but it seems the docker container is not using the correct interface or something
  • r

    Ryan Albrecht

    09/21/2023, 2:20 PM
    Copy code
    # ping 172.17.2.28
    PING 172.17.2.28 (172.17.2.28) 56(84) bytes of data.
    From 172.17.0.1 icmp_seq=1 Destination Host Unreachable
  • r

    Rodney

    05/17/2024, 2:02 PM
    @Rodney has left the channel
  • d

    Daniel Mejia

    08/17/2024, 1:59 AM
    @Daniel Mejia has left the channel