ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. git
    Log in to post
    • All categories
    • OksanaO

      How to Deploys AKS Applications Using GitOps and Flux

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind aks azure kubernetes git
      1
      1 Votes
      1 Posts
      407 Views
      No one has replied
    • JaredBuschJ

      Use a script and systemd timer to keep the FreePBX tftpboot directory up to date with a git repository

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion freepbx config file git scripting systemd systemd timers
      1
      3 Votes
      1 Posts
      601 Views
      No one has replied
    • NetworkNerdN

      Push and Pull – Using VS Code with Azure Repos

      Watching Ignoring Scheduled Pinned Locked Moved Self Promotion networknerd blog networknerd microsoft networknerd azure azure azure devops azure repos git microsoft azure microsoft azure repos microsoft azure devops vs code visual studio code
      5
      1 Votes
      5 Posts
      909 Views
      travisdh1T

      @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!

    • JaredBuschJ

      Remove a git submodule from your repository

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion git submodule hugo theme cleanup
      1
      4 Votes
      1 Posts
      437 Views
      No one has replied
    • scottalanmillerS

      Wiki.js Migration and Import SSH GIT Error

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wiki wiki.js wiki.js 2 git ssh
      1
      0 Votes
      1 Posts
      524 Views
      No one has replied
    • IRJI

      Managing Public Github project with private files

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion git github
      16
      1 Votes
      16 Posts
      1k Views
      stacksofplatesS

      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).

    • scottalanmillerS

      Bi-Directional GIT

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion git
      7
      0 Votes
      7 Posts
      641 Views
      stacksofplatesS

      @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.

    • JaredBuschJ

      question about splitting git repos

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion git branch repositories split
      7
      3 Votes
      7 Posts
      965 Views
      JaredBuschJ

      Couple corrections to the solution posted above after more testing this evening.

    • JaredBuschJ

      How to use a systemd timer instead of cron to automate a git pull

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion systemd timer cron fedora rhel git pull git systemd timers
      13
      6 Votes
      13 Posts
      3k Views
      stacksofplatesS

      @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.

    • mlnewsM

      GitLab Returns to the Cloud

      Watching Ignoring Scheduled Pinned Locked Moved News git gitlab
      7
      1 Votes
      7 Posts
      1k Views
      travisdh1T

      GitLab, you so funny.
      .
      .
      .
      .
      .
      That was one expensive joke.

    • mlnewsM

      GitLab in Massive Data Loss with No Working Backups

      Watching Ignoring Scheduled Pinned Locked Moved News gitlab backups disaster recovery git outage
      20
      3 Votes
      20 Posts
      4k Views
      nadnerBN

      If ever there was an RGE*, this would be it.
       
       
       
       
      *Resume Generating Event

    • AmbarishrhA

      GitLab's fastest release ever: 8.5, with Todos and Geo

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion gitlab git
      2
      1 Votes
      2 Posts
      1k Views
      dafyreD

      *runs off to update Gitlab.

    • DustinB3403D

      Xen Orchestra Upgrading

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion xen orchestra how to update upgrade git
      87
      3 Votes
      87 Posts
      24k Views
      DashrenderD

      @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.

    • mlnewsM

      Git 2.7 Is a Major Update

      Watching Ignoring Scheduled Pinned Locked Moved News git version control softopedia softpedia
      1
      2 Votes
      1 Posts
      787 Views
      No one has replied
    • mlnewsM

      GIT Cheat Sheet

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion git
      3
      2 Votes
      3 Posts
      1k Views
      scottalanmillerS

      I've found it to be quite powerful, it's just complicated due to that power which often leaves new users a bit lost.

    • stacksofplatesS

      Pantheon.io

      Watching Ignoring Scheduled Pinned Locked Moved Reviews website drupal wordpress git
      1
      2 Votes
      1 Posts
      1k Views
      No one has replied
    • AmbarishrhA

      self-hosted Git service

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion git
      3
      2 Votes
      3 Posts
      923 Views
      dafyreD

      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.

    • JaredBuschJ

      What git setup would you use for a private repo?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion git
      23
      1 Votes
      23 Posts
      4k Views
      scottalanmillerS

      It turned out, completely by coincidence, that my office in San Francisco is right by them. So I walk past them sometimes.

    • scottalanmillerS

      What Code Repository Service Do You Use?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion git stash bitbucket github mercurial subversion
      5
      0 Votes
      5 Posts
      2k 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.

    • Reid CooperR

      GIT Vulnerability Uncovered

      Watching Ignoring Scheduled Pinned Locked Moved News git security
      1
      1 Votes
      1 Posts
      654 Views
      No one has replied
    • 1
    • 2
    • 1 / 2