Skip to content
Snippets Groups Projects
  1. Jan 13, 2022
  2. Jan 12, 2022
  3. Nov 16, 2021
  4. Oct 27, 2021
  5. Oct 21, 2021
  6. Oct 20, 2021
  7. Oct 14, 2021
    • Sunny's avatar
      Makefile: set install target as phony · 84c585cf
      Sunny authored
      
      `install/` directory results in make install target always up to date.
      Mark `install` as phony to be able to run it.
      
      Replace `cmd/flux` with `./cmd/flux` for install to work and add
      `CGO_ENABLED=0` like in other build and install targets.
      
      Signed-off-by: default avatarSunny <darkowlzz@protonmail.com>
      84c585cf
  8. Sep 16, 2021
    • Michael Bridgen's avatar
      Use a file to record successful manifests build · 7ae4f289
      Michael Bridgen authored
      
      Using the directory cmd/flux/manifests as a prerequisite causes a
      problem: if the script that creates the files within fails, the next
      invocation of make will see the directory and assume it
      succeeded. Since the executable expects certain files to be present,
      but they are not explicit prerequisites of the recipe for building the
      binary, this results in a successful build but a broken `flux`
      executable.
      
      Instead, depend on a file that's explicitly updated when the script
      has succeeded, and which itself depends on the inputs.
      
      A couple of the CI workflows run
      
          make cmd/flux/manifests
      
      before doing other things, presumably as a way to avoid running the
      whole test suite in a CI pipeline for some purpose other than testing,
      so these needed changing as well.
      
      Signed-off-by: default avatarMichael Bridgen <michael@weave.works>
      7ae4f289
  9. Sep 13, 2021
  10. Aug 18, 2021
  11. Aug 17, 2021
  12. Aug 16, 2021
  13. Apr 28, 2021
  14. Mar 08, 2021
    • Hidde Beydals's avatar
      Improve build process embedded manifests · 2b7a0f3f
      Hidde Beydals authored
      
      This commit changes the way the build of manifests is triggered by
      making smarter use of the capabilities of Make. The result should be
      that the manifests are only regenerated if:
      
      1. There is no `cmd/flux/manifests/` directory.
      2. There have been made changes to the YAML files in the `manifests/`
         directory that are newer than the files in `cmd/flux/manifests/`.
      
      Signed-off-by: default avatarHidde Beydals <hello@hidde.co>
      2b7a0f3f
  15. Feb 25, 2021
  16. Oct 29, 2020
  17. Sep 01, 2020
  18. Jun 23, 2020
  19. May 01, 2020
  20. Apr 28, 2020
  21. Apr 25, 2020
  22. Apr 24, 2020
Loading