Skip to content
Snippets Groups Projects
  1. May 29, 2024
    • Marc-Olivier Andrez's avatar
      ci: fix Go tests that internally check the version of a component · 65e7f0bf
      Marc-Olivier Andrez authored
      The CI job `test-services-linux-debug` executes the tests using CMake,
      including the Go tests. The command used to execute the Go tests is
      defined in `CMakeModules/testing_go.cmake` Ln14: `go test ${test_source_files}`.
      The `go test` command first compiles the tests and then run them.
      Compiling the tests needs the file
      `common/go/src/asapo_common/version/version_lib.go` to correctly define
       the versions of the different communication protocols and components:
      
      ```go
      package version
      
      // Default build-time variable for library-import.
      // This file is overridden on build with build-time informations.
      func init(){
      	version   = "100.0.wip-fix-tests, build 5100fbee"
      	consumerProtocolVersion = "v0.6"
      	producerProtocolVersion = "v0.6"
      	discoveryApiVersion = "v0.1"
      	authorizerApiVersion = "v0.2"
      	ftsApiVersion = "v0.2"
      	brokerApiVersion = "v0.6"
      }
      ```
      
      The file `common/go/src/asapo_common/version/version_lib.go` is
      generated when running CMake. So the file is generated in the CI job
      `build-services-linux-debug`, not in `test-services-linux-debug`.
      
      This commit ensures that the file is copied from the CI job
      `build-services-linux-debug` to the CI job `test-services-linux-debug`
      so that `go test` can use it when compiling and running the tests. If
      the file does not exist, `go test` won't be able to compile the tests.
      65e7f0bf
    • Mikhail Karnevskiy's avatar
      Merge branch 'feature/web-doc-update' into 'develop' · e7140bcb
      Mikhail Karnevskiy authored
      Include changes on Documentation:
      
      See merge request asapo/asapo!212
      e7140bcb
  2. May 28, 2024
  3. May 27, 2024
  4. May 21, 2024
  5. May 17, 2024
  6. May 15, 2024
  7. May 13, 2024
  8. May 08, 2024
  9. Apr 16, 2024
  10. Apr 15, 2024
  11. Feb 06, 2024
  12. Jan 30, 2024
  13. Jan 18, 2024
  14. Jan 17, 2024
Loading