Navigation

    ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. git
    Log in to post

    • Use a script and systemd timer to keep the FreePBX tftpboot directory up to date with a git repository
      IT Discussion • freepbx scripting git systemd systemd timers config file • • JaredBusch  

      1
      3
      Votes
      1
      Posts
      73
      Views

      No one has replied

    • Push and Pull – Using VS Code with Azure Repos
      Self Promotion • azure networknerd blog git microsoft azure visual studio code networknerd azure networknerd microsoft vs code azure devops azure repos microsoft azure devops microsoft azure repos • • NetworkNerd  

      5
      1
      Votes
      5
      Posts
      103
      Views

      @flaxking said in Push and Pull – Using VS Code with Azure Repos: @NetworkNerd said in Push and Pull – Using VS Code with Azure Repos: @flaxking said in Push and Pull – Using VS Code with Azure Repos: I've been pretty satisfied with Azure DevOps so far, but calling it 'Azure' seems to be a marketing move and ends up being a misnomer. I love the fact that Azure can advertise giving customers DevOps for free. Haha, MS clients can now say their company has adopted DevOps. Reminds me of them commandeering Office and SQL. Don't forget DOS!
    • Remove a git submodule from your repository
      IT Discussion • git hugo cleanup theme submodule • • JaredBusch  

      1
      4
      Votes
      1
      Posts
      50
      Views

      No one has replied

    • Wiki.js Migration and Import SSH GIT Error
      IT Discussion • ssh git wiki wiki.js wiki.js 2 • • scottalanmiller  

      1
      0
      Votes
      1
      Posts
      146
      Views

      No one has replied

    • SOLVED Managing Public Github project with private files
      IT Discussion • git github • • IRJ  

      16
      1
      Votes
      16
      Posts
      176
      Views

      So there's a few ways to do what you want. But for Terraform specifically, the best thing to do is create your repeatable and public code and put it in a module. This means you'd have two repositories. One that is the skeleton for your infrastructure, and one that holds all of the values you need. Lets's say you have a module stored on github at github.com/test/module. When you write your main.tf for your private repo you would call it like this: provider "aws" { region = var.region } module "infra-is-awesome" { source = "github.com/test/module" var1 = "10.0.25.0/24" var2 = "Server01" } Then when you do terraform init it will pull in your module and map the variables for you. Now what I would personally recommend is using environment variables for your credentials and anything else you want to expose. So for AWS, Terraform accepts AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. I'd recommend putting this in a dot file in your home directory (or somewhere) like here ~/.terraform: #!/usr/bin/env bash export AWS_ACCESS_KEY_ID="my access key id" export AWS_SECRET_ACCESS_KEY="my super secret key" Then when you want to run Terraform, all you have to do before you run it is source ~/.terraform. This will last for as long as you have that shell open. If you close the terminal and open it again, you just need to re-run that command. You can add it to your ~/.bash_profile or whatever, but you may not want it exported all of the time. Terraform also lets you export environment variables for your regular variables. I don't usually do this, but you can do something like export TF_VAR_region=us-east-1. That would map to var.region instead of needing to type it in. My advice is to leverage modules as much as possible and keep your private data in a separate repo and just pass that data in as variables to your module(s).
    • Bi-Directional GIT
      IT Discussion • git • • scottalanmiller  

      7
      0
      Votes
      7
      Posts
      217
      Views

      @JaredBusch said in Bi-Directional GIT: @scottalanmiller said in Bi-Directional GIT: Thanks, I'll give it a try. I think the "proper" way is sub modules or something like that. I looked into this once a while ago when designing a git structure for one of our web service projects. Depends what you want. If you just want the remote repo then use a subtree. If you want a specific commit from another repo then use a submodule.
    • SOLVED question about splitting git repos
      IT Discussion • git repositories split branch • • JaredBusch  

      7
      3
      Votes
      7
      Posts
      396
      Views

      Couple corrections to the solution posted above after more testing this evening.
    • How to use a systemd timer instead of cron to automate a git pull
      IT Discussion • fedora rhel git systemd cron systemd timers timer git pull • • JaredBusch  

      13
      6
      Votes
      13
      Posts
      1308
      Views

      @jaredbusch said in How to use a systemd timer instead of cron to automate a git pull: Oh look I just found this posted here already /sigh.. So many questions I could have not asked of @stacksofplates, had I recalled this thread. https://mangolassi.it/topic/13455/systemd-timers-instead-of-cron I honestly forgot I posted that.
    • GitLab Returns to the Cloud
      News • git gitlab • • mlnews  

      7
      1
      Votes
      7
      Posts
      830
      Views

      GitLab, you so funny. . . . . . That was one expensive joke.
    • GitLab in Massive Data Loss with No Working Backups
      News • disaster recovery backups outage git gitlab • • mlnews  

      20
      3
      Votes
      20
      Posts
      2426
      Views

      If ever there was an RGE*, this would be it.         *Resume Generating Event
    • GitLab's fastest release ever: 8.5, with Todos and Geo
      IT Discussion • git gitlab • • Ambarishrh  

      2
      1
      Votes
      2
      Posts
      935
      Views

      *runs off to update Gitlab.
    • Xen Orchestra Upgrading
      IT Discussion • how to xen orchestra upgrade update git • • DustinB3403  

      87
      3
      Votes
      87
      Posts
      18719
      Views

      @olivier said in Xen Orchestra Upgrading: @DustinB3403 You need to think globally Only 1 Premium is enough to not have to convince 7x Starter. And costing 7 times less in support. You should see Starter as "introductory offer". We'll add services step by step (like Cloud Backup). Yeah, supporting the SMB's is the killer. I think perhaps a better plan for SMBs would be, here's the product, some charge - say $500 (pulling a number out of my rear) and with that you get 4 hours of support. Then you can buy support in blocks after that. The hard thing, you're going up against the likes of Veeam, and because of their size, they don't have to limit it like this.
    • Git 2.7 Is a Major Update
      News • softpedia git softopedia version control • • mlnews  

      1
      2
      Votes
      1
      Posts
      520
      Views

      No one has replied

    • GIT Cheat Sheet
      IT Discussion • git • • mlnews  

      3
      2
      Votes
      3
      Posts
      954
      Views

      I've found it to be quite powerful, it's just complicated due to that power which often leaves new users a bit lost.
    • Pantheon.io
      Reviews • wordpress git website drupal • • stacksofplates  

      1
      2
      Votes
      1
      Posts
      1129
      Views

      No one has replied

    • self-hosted Git service
      IT Discussion • git • • Ambarishrh  

      3
      2
      Votes
      3
      Posts
      756
      Views

      I'm running an instance of Gitlab (https://about.gitlab.com/) for myself. It seems to be pretty cool as well. Gitlab seems to be not too lightweight, but it is still pretty snappy.
    • What git setup would you use for a private repo?
      IT Discussion • git • • JaredBusch  

      23
      1
      Votes
      23
      Posts
      3107
      Views

      It turned out, completely by coincidence, that my office in San Francisco is right by them. So I walk past them sometimes.
    • What Code Repository Service Do You Use?
      IT Discussion • git github stash bitbucket mercurial subversion • • scottalanmiller  

      5
      0
      Votes
      5
      Posts
      1260
      Views

      M

      Nothing right now but we're going to trial Team Foundation Server in the next couple of weeks. It's about the only repo that's integrated with PowerShell ISE's.
    • GIT Vulnerability Uncovered
      News • security git • • Reid Cooper  

      1
      1
      Votes
      1
      Posts
      530
      Views

      No one has replied

    • GIT as a Web Backup Mechanism
      IT Discussion • web server git • • scottalanmiller  

      5
      1
      Votes
      5
      Posts
      1495
      Views

      I guess if I setup a script to dump the database to a specific directly on some schedule, I could then ensure I have that directory included in the git commit. This would give me a database version 100% compatible with the point in time git made the commit of the rest of the stuff.
    • Need some advice on GIT
      IT Discussion • git version control • • Ambarishrh  

      17
      0
      Votes
      17
      Posts
      3055
      Views

      @scottalanmiller subversion. we are still using it! Need to migrate all those to GIT. Currently on testing/training phase.