Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1193

Get IGB version strings from POM instead of hard-coding

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      2
    • Sprint:
      Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10, Summer 2019 Sprint 11

      Description

      Whenever we do a release of IGB, we have to hard-code the IGB version string.
      Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
      For an example, see how this is being done for Genoviz SDK build process.
      Note: the most complicated aspect of this will probably be figuring out how to create the version string used in the IGB installer names, which use underscore characters instead of periods.

      Note: Srishti Tiwari worked on this previously. The issue description previously recommend testing the build environment and process using Docker image running on a local host. See comments.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Sprint Early Fall 2017 [ 47 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with references to IGB_VERSION environment variable. Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)


            Alternatively, parse IGB version string from IGB project directly.

            ann.loraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)


            Alternatively, parse IGB version string from IGB project directly.

            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)

            ann.loraine Ann Loraine made changes -
            Assignee Sanket Patil [ spatil26 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Fix Version/s 9.0.2 [ 10600 ]
            Story Points 0.25 1
            ann.loraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)

            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?) PREFERRED

            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Summary replace IGB version strings with IGB_VERSION environment variable references Replace IGB version strings with IGB_VERSION environment variable references
            ann.loraine Ann Loraine made changes -
            Summary Replace IGB version strings with IGB_VERSION environment variable references Get IGB version strings from POM instead of hard-coding
            ann.loraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?) PREFERRED

            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from POM.xml


            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-1216 [ IGBF-1216 ]
            ann.loraine Ann Loraine made changes -
            Labels Beginner
            ann.loraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from POM.xml


            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as beginner because the process and tooling are well-documented. Requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Fix Version/s 9.0.2 Minor Release [ 10600 ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-1207 [ IGBF-1207 ]
            ann.loraine Ann Loraine made changes -
            Labels Beginner Intermediate
            ann.loraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as beginner because the process and tooling are well-documented. Requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as Intermediate because the process and tooling are well-documented but requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2 [ 57 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2 [ 57 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Ann Loraine [ aloraine ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Srishti Tiwari [ stiwari8 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Srishti Tiwari [ stiwari8 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 1 [ 57, 58, 59 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Ann Loraine [ aloraine ]
            nfreese Nowlan Freese made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 1 [ 57, 58, 59 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 2 [ 57, 58, 60 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 2 [ 57, 58, 60 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 9 [ 57, 58, 68 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 9 [ 57, 58, 68 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10 [ 57, 58, 69 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as Intermediate because the process and tooling are well-documented but requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            Whenever we do a release of IGB, we have to hard-code the IGB version string.
            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            For an example, see how this is being done for Genoviz SDK build process.
            Note: the most complicated aspect of this will probably be figuring out how to create the version string used in the IGB installer names, which use underscore characters instead of periods.

            ann.loraine Ann Loraine made changes -
            Description Whenever we do a release of IGB, we have to hard-code the IGB version string.
            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            For an example, see how this is being done for Genoviz SDK build process.
            Note: the most complicated aspect of this will probably be figuring out how to create the version string used in the IGB installer names, which use underscore characters instead of periods.

            Whenever we do a release of IGB, we have to hard-code the IGB version string.
            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            For an example, see how this is being done for Genoviz SDK build process.
            Note: the most complicated aspect of this will probably be figuring out how to create the version string used in the IGB installer names, which use underscore characters instead of periods.

            Note: [~stiwari8] worked on this previously. The issue description previously recommend testing the build environment and process using Docker image running on a local host. See comments.
            ann.loraine Ann Loraine made changes -
            Comment [ Note: This may be a two-person job. We can ask another developer to take over for the next steps as you have made a good foundation on this. ]
            ann.loraine Ann Loraine made changes -
            Status Open [ 1 ] Open [ 1 ]
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-1531 [ 17617 ]
            ann.loraine Ann Loraine made changes -
            Link This issue is blocked by IGBF-1829 [ IGBF-1829 ]
            ann.loraine Ann Loraine made changes -
            Story Points 1 2
            ann.loraine Ann Loraine made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10 [ 57, 58, 69 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10, Summer 2019 Sprint 11 [ 57, 58, 69, 70 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 17872 ] Fall 2019 Workflow Update [ 19824 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19824 ] Revised Fall 2019 Workflow Update [ 21943 ]

              People

              • Assignee:
                stiwari8 Srishti Tiwari (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: