Gitlab usage about git tags push event

  • Normal push event

From the capture we can see push event can be built by agola.

Tag push event:

  • default webhook by agola:

  • with tag pushed

Just find that tag push event not received by agola, and there be no push history in gitlab!

  • Then I tried with test event by hand: (treat as normal push)

图片

  • There be webhook history in gitlab

  • But in agola, Just treat is as a normal push. (there be double run configed in config.jsonnet)

  • My Env
    • GitLab Community Edition 12.7.0
    • The test config in repo1

{
  runs: [
    {
      name: 'run01',
      tasks: [
         {
          name: 'git-src',
          runtime: {
            arch: 'amd64',
            containers: [
              {
                image: 'alpine/git',
              },
            ],
          },
          steps: [
            { type: 'clone' },
            { type: 'run', command: 'ls -l' },
          ],
          depends: [],
        }
      ],
    },   

    {
      name: 'run02',
      tasks: [
         {
          name: 'git-src',
          runtime: {
            arch: 'amd64',
            containers: [
              {
                image: 'alpine/git',
              },
            ],
          },
          steps: [
            { type: 'clone' },
            { type: 'run', command: 'ls -l' },
          ],
          depends: [],
        }
      ],
    },      
  ],
}
  • Retry with gitlab tag push

This time tag build success in agola.

@huapox Sorry but I can’t understand if this is an issue report or not (too much screenshots and not enough description on what you’re trying to say).

Tested again on our environment and everything work (push of tags works correctly). Please double check your logs and be sure the push event is received by the right agola instance.