Git Product home page Git Product logo

Comments (12)

thockin avatar thockin commented on July 21, 2024 2

v2.0.1 is pushed with better help and an error in this case. PTAL

from git-sync.

thockin avatar thockin commented on July 21, 2024 1

Curiously it pushed git-sync-amd64 but not git-sync - will repush

On Sat, Oct 8, 2016 at 1:28 PM, Michael Grosser [email protected]
wrote:

v2.0.1 is not showing up yet. See: https://gcr.io/v2/google_
containers/git-sync/tags/list


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVJTg0PgSpYYuU87Z1LI_8VLza0IPks5qx_zigaJpZM4KNt9H
.

from git-sync.

TaiSHiNet avatar TaiSHiNet commented on July 21, 2024

Running into the same issue

from git-sync.

stp-ip avatar stp-ip commented on July 21, 2024

Just as a sidenote the current "workaround" we use is to set GIT_SYNC_ONE_TIME to true and add a command "./git-sync && sleep 999d".
This prevents further syncs, but that is sorta acceptable in our current use case, as we deploy often enough.

from git-sync.

TaiSHiNet avatar TaiSHiNet commented on July 21, 2024

@stp-ip instead of the sleep, you could use pod inits:
http://kubernetes.io/docs/user-guide/production-pods/#handling-initialization

from git-sync.

stp-ip avatar stp-ip commented on July 21, 2024

Yeah that works, if you wanna do only the initial sync. We actually want ongoing sync, but disabled it with GIT_SYNC_ONE_TIME and sleep due to the above bug.

from git-sync.

thockin avatar thockin commented on July 21, 2024

DEST should be a bare name, "files" not "/path/to/files". 2.0.1 coming up :)

from git-sync.

stp-ip avatar stp-ip commented on July 21, 2024

That's where GIT_SYNC_ROOT comes in. Root basically should be used for the path and DEST should be used as the last folder name. Thanks for clarifying.

from git-sync.

stp-ip avatar stp-ip commented on July 21, 2024

v2.0.1 is not showing up yet. See: https://gcr.io/v2/google_containers/git-sync/tags/list

from git-sync.

KingJ avatar KingJ commented on July 21, 2024

Would it be possible to update the demo config to reflect this? It uses GIT_SYNC_DEST as a path rather than bare name.

from git-sync.

thockin avatar thockin commented on July 21, 2024

send a PR? please :)

from git-sync.

thockin avatar thockin commented on July 21, 2024

from git-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.